Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcNodeInfo.hpp

    r1902 r2048  
    257257        2 - cuts
    258258        4 - basis!
     259        8 - just marked
     260        16 - symmetry branching worked
    259261    */
    260262    void deactivate(int mode = 3);
    261263    /// Say if normal
    262264    inline bool allActivated() const {
    263         return (active_ == 7);
     265        return ((active_&7) == 7);
    264266    }
    265267    /// Say if marked
     
    275277        active_ &= ~8;
    276278    }
     279    /// Get symmetry value (true worked at this node)
     280    inline bool symmetryWorked() const
     281    { return (active_&16) !=0;}
     282    /// Say symmetry worked at this node)
     283    inline void setSymmetryWorked()
     284    { active_ |= 16;}
    277285
    278286    /// Branching object for the parent
Note: See TracChangeset for help on using the changeset viewer.