Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CbcHeuristicNode Class Reference

A class describing the branching decisions that were made to get to the node where a heuristic was invoked from. More...

#include <CbcHeuristic.hpp>

+ Collaboration diagram for CbcHeuristicNode:

Public Member Functions

 CbcHeuristicNode (CbcModel &model)
 
 CbcHeuristicNode (const CbcHeuristicNode &rhs)
 
 ~CbcHeuristicNode ()
 
double distance (const CbcHeuristicNode *node) const
 
double minDistance (const CbcHeuristicNodeList &nodeList) const
 
bool minDistanceIsSmall (const CbcHeuristicNodeList &nodeList, const double threshold) const
 
double avgDistance (const CbcHeuristicNodeList &nodeList) const
 

Private Member Functions

void gutsOfConstructor (CbcModel &model)
 
 CbcHeuristicNode ()
 
CbcHeuristicNodeoperator= (const CbcHeuristicNode &)
 

Private Attributes

int numObjects_
 The number of branching decisions made. More...
 
CbcBranchingObject ** brObj_
 The indices of the branching objects. More...
 

Detailed Description

A class describing the branching decisions that were made to get to the node where a heuristic was invoked from.

Definition at line 28 of file CbcHeuristic.hpp.

Constructor & Destructor Documentation

CbcHeuristicNode::CbcHeuristicNode ( )
private
CbcHeuristicNode::CbcHeuristicNode ( CbcModel model)
CbcHeuristicNode::CbcHeuristicNode ( const CbcHeuristicNode rhs)
CbcHeuristicNode::~CbcHeuristicNode ( )

Member Function Documentation

void CbcHeuristicNode::gutsOfConstructor ( CbcModel model)
private
CbcHeuristicNode& CbcHeuristicNode::operator= ( const CbcHeuristicNode )
private
double CbcHeuristicNode::distance ( const CbcHeuristicNode node) const
double CbcHeuristicNode::minDistance ( const CbcHeuristicNodeList nodeList) const
bool CbcHeuristicNode::minDistanceIsSmall ( const CbcHeuristicNodeList nodeList,
const double  threshold 
) const
double CbcHeuristicNode::avgDistance ( const CbcHeuristicNodeList nodeList) const

Member Data Documentation

int CbcHeuristicNode::numObjects_
private

The number of branching decisions made.

Definition at line 35 of file CbcHeuristic.hpp.

CbcBranchingObject** CbcHeuristicNode::brObj_
private

The indices of the branching objects.

Note: an index may be listed multiple times. E.g., a general integer variable that has been branched on multiple times.

Definition at line 39 of file CbcHeuristic.hpp.


The documentation for this class was generated from the following file: