Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
CbcBranchBase.hpp File Reference
#include <string>
#include <vector>
#include "OsiBranchingObject.hpp"
#include "CbcObject.hpp"
#include "CbcBranchingObject.hpp"
#include "CbcBranchDecision.hpp"
#include "CbcConsequence.hpp"
#include "CbcObjectUpdateData.hpp"
+ Include dependency graph for CbcBranchBase.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CbcRangeCompare {
  CbcRangeSame, CbcRangeDisjoint, CbcRangeSubset, CbcRangeSuperset,
  CbcRangeOverlap
}
 

Functions

static CbcRangeCompare CbcCompareRanges (double *thisBd, const double *otherBd, const bool replaceIfOverlap)
 Compare two ranges. More...
 

Enumeration Type Documentation

Enumerator
CbcRangeSame 
CbcRangeDisjoint 
CbcRangeSubset 
CbcRangeSuperset 
CbcRangeOverlap 

Definition at line 13 of file CbcBranchBase.hpp.

Function Documentation

static CbcRangeCompare CbcCompareRanges ( double *  thisBd,
const double *  otherBd,
const bool  replaceIfOverlap 
)
inlinestatic

Compare two ranges.

The two bounds arrays are both of size two and describe closed intervals. Return the appropriate CbcRangeCompare value (first argument being the sub/superset if that's the case). In case of overlap (and if replaceIfOverlap is true) replace the content of thisBd with the intersection of the ranges.

Definition at line 36 of file CbcBranchBase.hpp.