#include <AlpsDecompTreeNode.h>
Public Member Functions | |
AlpsDecompTreeNode () | |
Default constructor. | |
virtual | ~AlpsDecompTreeNode () |
Destructor. | |
bool | checkIncumbent (AlpsDecompModel *model, const DecompSolution *decompSol) |
AlpsTreeNode * | createNewTreeNode (AlpsNodeDesc *&desc) const |
Create a new node based on given desc. | |
int | chooseBranchingObject (AlpsModel *model) |
To be defined. | |
int | process (bool isRoot=false, bool rampUp=false) |
Performing the bounding operation. | |
std::vector< CoinTriple < AlpsNodeDesc *, AlpsNodeStatus, double > > | branch () |
Takes the explicit description of the current active node and creates the children's descriptions, which contain information about how the branching is to be done. | |
int | getBranchedVar () |
Private Attributes | |
std::string | m_classTag |
class tag for debugging | |
std::vector< std::pair< int, double > > | downBranchLB_ |
std::vector< std::pair< int, double > > | downBranchUB_ |
std::vector< std::pair< int, double > > | upBranchLB_ |
std::vector< std::pair< int, double > > | upBranchUB_ |
Definition at line 28 of file AlpsDecompTreeNode.h.
AlpsDecompTreeNode::AlpsDecompTreeNode | ( | ) | [inline] |
Default constructor.
Definition at line 40 of file AlpsDecompTreeNode.h.
virtual AlpsDecompTreeNode::~AlpsDecompTreeNode | ( | ) | [inline, virtual] |
Destructor.
Definition at line 49 of file AlpsDecompTreeNode.h.
bool AlpsDecompTreeNode::checkIncumbent | ( | AlpsDecompModel * | model, | |
const DecompSolution * | decompSol | |||
) |
AlpsTreeNode* AlpsDecompTreeNode::createNewTreeNode | ( | AlpsNodeDesc *& | desc | ) | const [virtual] |
Create a new node based on given desc.
Implements AlpsTreeNode.
int AlpsDecompTreeNode::chooseBranchingObject | ( | AlpsModel * | model | ) |
To be defined.
??
int AlpsDecompTreeNode::process | ( | bool | isRoot = false , |
|
bool | rampUp = false | |||
) |
Performing the bounding operation.
std::vector< CoinTriple<AlpsNodeDesc*, AlpsNodeStatus, double> > AlpsDecompTreeNode::branch | ( | ) |
Takes the explicit description of the current active node and creates the children's descriptions, which contain information about how the branching is to be done.
The stati of the children are AlpsNodeStatusCandidate.
int AlpsDecompTreeNode::getBranchedVar | ( | ) | [inline] |
Definition at line 77 of file AlpsDecompTreeNode.h.
References downBranchLB_.
std::string AlpsDecompTreeNode::m_classTag [private] |
class tag for debugging
Definition at line 31 of file AlpsDecompTreeNode.h.
std::vector< std::pair<int, double> > AlpsDecompTreeNode::downBranchLB_ [private] |
Definition at line 33 of file AlpsDecompTreeNode.h.
Referenced by getBranchedVar().
std::vector< std::pair<int, double> > AlpsDecompTreeNode::downBranchUB_ [private] |
Definition at line 34 of file AlpsDecompTreeNode.h.
std::vector< std::pair<int, double> > AlpsDecompTreeNode::upBranchLB_ [private] |
Definition at line 35 of file AlpsDecompTreeNode.h.
std::vector< std::pair<int, double> > AlpsDecompTreeNode::upBranchUB_ [private] |
Definition at line 36 of file AlpsDecompTreeNode.h.