Ignore:
Timestamp:
Oct 30, 2006 10:27:34 AM (13 years ago)
Author:
forrest
Message:

for osibranching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcNode.hpp

    r463 r473  
    117117  /// Increment number of references
    118118  inline void increment(int amount=1)
    119   {numberPointingToThis_+=amount;};
     119  {numberPointingToThis_+=amount;/*printf("CbcNodeInfo %x incremented by %d to %d\n",this,amount,numberPointingToThis_);*/};
    120120
    121121  /// Decrement number of references and return number left
    122122  inline int decrement(int amount=1)
    123   {numberPointingToThis_-=amount;return numberPointingToThis_;};
     123  {numberPointingToThis_-=amount;/*printf("CbcNodeInfo %x decremented by %d to %d\n",this,amount,numberPointingToThis_);*/return numberPointingToThis_;};
    124124
    125125  /** Initialize reference counts
     
    150150  CbcNodeInfo * parent() const
    151151  {return parent_;};
     152  /// Set parent null
     153  inline void nullParent()
     154  { parent_=NULL;};
    152155
    153156  void addCuts(OsiCuts & cuts,int numberToBranch, int * whichGenerator);
Note: See TracChangeset for help on using the changeset viewer.