Enumerations | Functions

/build/buildd/coinor-cbc-2.5.0/Cbc/src/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 "CbcObject.hpp"
#include "CbcBranchingObject.hpp"
#include "CbcBranchDecision.hpp"
#include "CbcConsequence.hpp"
#include "CbcObjectUpdateData.hpp"

Go to the source code of this file.

Enumerations

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

Functions

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

Enumeration Type Documentation

Enumerator:
CbcRangeSame 
CbcRangeDisjoint 
CbcRangeSubset 
CbcRangeSuperset 
CbcRangeOverlap 
CbcRangeSame 
CbcRangeDisjoint 
CbcRangeSubset 
CbcRangeSuperset 
CbcRangeOverlap 

Definition at line 11 of file CbcBranchBase.hpp.


Function Documentation

static CbcRangeCompare CbcCompareRanges ( double *  thisBd,
const double *  otherBd,
const bool  replaceIfOverlap 
) [inline, static]

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 34 of file CbcBranchBase.hpp.