Alps  2.0.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AbcTreeNode Class Reference

#include <AbcTreeNode.h>

+ Inheritance diagram for AbcTreeNode:
+ Collaboration diagram for AbcTreeNode:

Public Member Functions

 AbcTreeNode ()
 
 AbcTreeNode (AbcNodeDesc *&desc)
 
virtual ~AbcTreeNode ()
 
virtual AlpsTreeNodecreateNewTreeNode (AlpsNodeDesc *&desc) const
 The purpose of this function is be able to create the children of a node after branching. More...
 
virtual int process (bool isRoot=false, bool rampUp=false)
 Performing the bounding operation. More...
 
int chooseBranch (AbcModel *model, bool &strongFound)
 Select the branch variable. More...
 
virtual std::vector< CoinTriple< AlpsNodeDesc *, AlpsNodeStatus, double > > branch ()
 
int numberUnsatisfied () const
 Get the number of objects unsatisfied at this node. More...
 
double guessedObjectiveValue () const
 Guessed objective value (for solution) More...
 
void setGuessedObjectiveValue (double value)
 
void setBranchedOn (int b)
 
void setBranchedDir (int d)
 
void setBranchedOnValue (double b)
 
int getBranchedOn () const
 
int getBranchedDir () const
 
double getBranchedOnValue () const
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode this into given object as input. More...
 
virtual AlpsKnowledgedecode (AlpsEncoded &encoded) const
 Decode the given AlpsEncoded object into a new AbcTreeNode. More...
 
virtual AlpsReturnStatus decodeToSelf (AlpsEncoded &encoded)
 Decode the given AlpsEncoded object into this. More...
 
 AbcTreeNode ()
 
 AbcTreeNode (AbcNodeDesc *&desc)
 
virtual ~AbcTreeNode ()
 
virtual AlpsTreeNodecreateNewTreeNode (AlpsNodeDesc *&desc) const
 The purpose of this function is be able to create the children of a node after branching. More...
 
virtual int process (bool isRoot=false, bool rampUp=false)
 Performing the bounding operation. More...
 
int chooseBranch (AbcModel *model, bool &strongFound)
 Select the branch variable. More...
 
virtual std::vector< CoinTriple< AlpsNodeDesc *, AlpsNodeStatus, double > > branch ()
 
int numberUnsatisfied () const
 Get the number of objects unsatisfied at this node. More...
 
double guessedObjectiveValue () const
 Guessed objective value (for solution) More...
 
void setGuessedObjectiveValue (double value)
 
void setBranchedOn (int b)
 
void setBranchedDir (int d)
 
void setBranchedOnValue (double b)
 
int getBranchedOn () const
 
int getBranchedDir () const
 
double getBranchedOnValue () const
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode this into given object as input. More...
 
virtual AlpsKnowledgedecode (AlpsEncoded &encoded) const
 Decode the given AlpsEncoded object into a new AbcTreeNode. More...
 
virtual AlpsReturnStatus decodeToSelf (AlpsEncoded &encoded)
 Decode the given AlpsEncoded object into this. More...
 
 AbcTreeNode ()
 
 AbcTreeNode (AbcNodeDesc *&desc)
 
virtual ~AbcTreeNode ()
 
virtual AlpsTreeNodecreateNewTreeNode (AlpsNodeDesc *&desc) const
 The purpose of this function is be able to create the children of a node after branching. More...
 
virtual int process (bool isRoot=false, bool rampUp=false)
 Performing the bounding operation. More...
 
int chooseBranch (AbcModel *model, bool &strongFound)
 Select the branch variable. More...
 
virtual std::vector< CoinTriple< AlpsNodeDesc *, AlpsNodeStatus, double > > branch ()
 
int numberUnsatisfied () const
 Get the number of objects unsatisfied at this node. More...
 
double guessedObjectiveValue () const
 Guessed objective value (for solution) More...
 
void setGuessedObjectiveValue (double value)
 
void setBranchedOn (int b)
 
void setBranchedDir (int d)
 
void setBranchedOnValue (double b)
 
int getBranchedOn () const
 
int getBranchedDir () const
 
double getBranchedOnValue () const
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode this into given object as input. More...
 
virtual AlpsKnowledgedecode (AlpsEncoded &encoded) const
 Decode the given AlpsEncoded object into a new AbcTreeNode. More...
 
virtual AlpsReturnStatus decodeToSelf (AlpsEncoded &encoded)
 Decode the given AlpsEncoded object into this. More...
 
AlpsEncodedencode () const
 Encode the content of this into an AlpsEncoded object and return a pointer to it. More...
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode the content of this into the given AlpsEncoded object. More...
 
AlpsEncodedencode () const
 Encode the content of this into an AlpsEncoded object and return a pointer to it. More...
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode the content of this into the given AlpsEncoded object. More...
 
AlpsEncodedencode () const
 Encode the content of this into an AlpsEncoded object and return a pointer to it. More...
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Encode the content of this into the given AlpsEncoded object. More...
 
double getObjValue () const
 Query/set the objective value (could be approximately or not exit) of the node. More...
 
void setObjValue (const double objValue)
 
double getObjValue () const
 Query/set the objective value (could be approximately or not exit) of the node. More...
 
void setObjValue (const double objValue)
 
double getObjValue () const
 Query/set the objective value (could be approximately or not exit) of the node. More...
 
void setObjValue (const double objValue)
 
- Public Member Functions inherited from AlpsTreeNode
 AlpsTreeNode ()
 
virtual ~AlpsTreeNode ()
 
bool operator< (const AlpsTreeNode &compNode)
 
AlpsNodeDescmodifyDesc ()
 Access the desc so that can modify it. More...
 
AlpsNodeDescgetDesc () const
 
void setDesc (AlpsNodeDesc *desc)
 
void removeChild (AlpsTreeNode *&child)
 Remove the pointer to given child from the list of children. More...
 
void addChild (AlpsTreeNode *&child)
 Add a child to the list of children for this node. More...
 
void removeDescendants ()
 Removes all the descendants of the node. More...
 
AlpsNodeStatus getStatus () const
 
void setStatus (const AlpsNodeStatus stat)
 get status. More...
 
bool isCandidate () const
 Query functions about specific stati. More...
 
bool isEvaluated () const
 
bool isPregnant () const
 
bool isBranched () const
 
bool isFathomed () const
 
bool isDiscarded () const
 
bool isActive () const
 Query/set node in-process indicator. More...
 
void setActive (const bool yesno)
 
AlpsNodeIndex_t getIndex () const
 Query/set node identifier (unique within subtree). More...
 
void setIndex (const AlpsNodeIndex_t index)
 
int getDepth () const
 Query/set what depth the search tree node is at. More...
 
void setDepth (const int depth)
 
double getSolEstimate () const
 Query/set the solution estimate of the node. More...
 
void setSolEstimate (double est)
 
double getQuality () const
 Query/set the quality of the node. More...
 
void setQuality (double quality)
 
int getNumChildren () const
 Query/set what the number of children. More...
 
void setNumChildren (const int numChildren)
 
void modifyNumChildren (const int s)
 
AlpsTreeNodegetChild (const int i) const
 Query/set pointer to the ith child. More...
 
void setChild (const int i, AlpsTreeNode *node)
 
AlpsTreeNodegetParent () const
 Get/set subtree. More...
 
void setParent (AlpsTreeNode *parent)
 
AlpsNodeIndex_t getParentIndex () const
 Get/set the index of the parent of the node. More...
 
void setParentIndex (AlpsNodeIndex_t index)
 
int getExplicit () const
 Get/set the indication of whether the node has full or differencing description. More...
 
void setExplicit (int fp)
 
virtual void convertToExplicit ()
 Convert explicit description to difference, and vise-vesa. More...
 
virtual void convertToRelative ()
 
int getSentMark () const
 Various marks used in parallel code. More...
 
void setSentMark (const int tf)
 
- Public Member Functions inherited from AlpsKnowledge
 AlpsKnowledge ()
 Default constructor. More...
 
 AlpsKnowledge (AlpsKnowledgeType type)
 
 AlpsKnowledge (AlpsKnowledgeType type, AlpsKnowledgeBroker *broker)
 
virtual ~AlpsKnowledge ()
 Destructor. More...
 
AlpsKnowledgeType getType () const
 Get knowledge type. More...
 
void setType (AlpsKnowledgeType t)
 Set knowledge type. More...
 
AlpsKnowledgeBrokerbroker ()
 Get pointer to the knowledge broker. More...
 
const AlpsKnowledgeBrokerbroker () const
 Get pointer to the knowledge broker. More...
 
void setBroker (AlpsKnowledgeBroker *broker)
 Set knowledge broker. More...
 
AlpsEncodedencode () const
 Encode the content of this into an AlpsEncoded object and return a pointer to it. More...
 

Private Member Functions

 AbcTreeNode (AbcTreeNode const &)
 Disable copy constructor. More...
 
AbcTreeNodeoperator= (AbcTreeNode const &)
 Disable copy assignment operator. More...
 
 AbcTreeNode (AbcTreeNode const &)
 Disable copy constructor. More...
 
AbcTreeNodeoperator= (AbcTreeNode const &)
 Disable copy assignment operator. More...
 
 AbcTreeNode (AbcTreeNode const &)
 Disable copy constructor. More...
 
AbcTreeNodeoperator= (AbcTreeNode const &)
 Disable copy assignment operator. More...
 

Private Attributes

int branchedOn_
 The index of the branching variable. More...
 
double branchedOnVal_
 The solution value (non-integral) of the branching variable. More...
 
int branchedDir_
 Branching direction. More...
 
double guessedObjectiveValue_
 Guessed satisfied Objective value. More...
 
int numberUnsatisfied_
 The number of objects unsatisfied at this node. More...
 

Additional Inherited Members

- Public Attributes inherited from AlpsKnowledge
AlpsKnowledgeBrokerbroker_
 
- Protected Attributes inherited from AlpsTreeNode
bool active_
 The subtree own this node. More...
 
AlpsNodeIndex_t index_
 The unique index of the tree node (across the whole search tree). More...
 
int depth_
 The depth of the node (in the whole tree – the root is at depth 0). More...
 
double solEstimate_
 The solution estimate. More...
 
double quality_
 The quality of this node. More...
 
AlpsTreeNodeparent_
 The parent of the tree node. More...
 
AlpsNodeIndex_t parentIndex_
 The index of parent of the tree node. More...
 
int numChildren_
 The number of children. More...
 
AlpsTreeNode ** children_
 
int explicit_
 Indicate whether the node description is explicit(1) or relative(0). More...
 
AlpsNodeDescdesc_
 The actual description of the tree node. More...
 
AlpsNodeStatus status_
 The current status of the node. More...
 
int sentMark_
 Various mark used in splitting and passing subtrees. More...
 

Detailed Description

Definition at line 47 of file AbcTreeNode.h.

Constructor & Destructor Documentation

◆ AbcTreeNode() [1/9]

AbcTreeNode::AbcTreeNode ( )
inline

Definition at line 65 of file AbcTreeNode.h.

◆ AbcTreeNode() [2/9]

AbcTreeNode::AbcTreeNode ( AbcNodeDesc *&  desc)
inline

Definition at line 77 of file AbcTreeNode.h.

◆ ~AbcTreeNode() [1/3]

virtual AbcTreeNode::~AbcTreeNode ( )
inlinevirtual

Definition at line 92 of file AbcTreeNode.h.

◆ AbcTreeNode() [3/9]

AbcTreeNode::AbcTreeNode ( AbcTreeNode const &  )
private

Disable copy constructor.

◆ AbcTreeNode() [4/9]

AbcTreeNode::AbcTreeNode ( )
inline

Definition at line 65 of file AbcTreeNode.h.

◆ AbcTreeNode() [5/9]

AbcTreeNode::AbcTreeNode ( AbcNodeDesc *&  desc)
inline

Definition at line 77 of file AbcTreeNode.h.

◆ ~AbcTreeNode() [2/3]

virtual AbcTreeNode::~AbcTreeNode ( )
inlinevirtual

Definition at line 92 of file AbcTreeNode.h.

◆ AbcTreeNode() [6/9]

AbcTreeNode::AbcTreeNode ( AbcTreeNode const &  )
private

Disable copy constructor.

◆ AbcTreeNode() [7/9]

AbcTreeNode::AbcTreeNode ( )
inline

Definition at line 65 of file AbcTreeNode.h.

◆ AbcTreeNode() [8/9]

AbcTreeNode::AbcTreeNode ( AbcNodeDesc *&  desc)
inline

Definition at line 77 of file AbcTreeNode.h.

◆ ~AbcTreeNode() [3/3]

virtual AbcTreeNode::~AbcTreeNode ( )
inlinevirtual

Definition at line 92 of file AbcTreeNode.h.

◆ AbcTreeNode() [9/9]

AbcTreeNode::AbcTreeNode ( AbcTreeNode const &  )
private

Disable copy constructor.

Member Function Documentation

◆ createNewTreeNode() [1/3]

virtual AlpsTreeNode* AbcTreeNode::createNewTreeNode ( AlpsNodeDesc *&  desc) const
virtual

The purpose of this function is be able to create the children of a node after branching.

Implements AlpsTreeNode.

◆ process() [1/3]

virtual int AbcTreeNode::process ( bool  isRoot = false,
bool  rampUp = false 
)
virtual

Performing the bounding operation.

◆ chooseBranch() [1/3]

int AbcTreeNode::chooseBranch ( AbcModel model,
bool &  strongFound 
)

Select the branch variable.

Return value:

  • 0: A branching object has been installed
  • -1: A monotone object was discovered
  • -2: An infeasible object was discovered

◆ getObjValue() [1/3]

double AbcTreeNode::getObjValue ( ) const
inline

Query/set the objective value (could be approximately or not exit) of the node.

Definition at line 114 of file AbcTreeNode.h.

◆ setObjValue() [1/3]

void AbcTreeNode::setObjValue ( const double  objValue)
inline

Definition at line 115 of file AbcTreeNode.h.

◆ branch() [1/3]

virtual std::vector< CoinTriple<AlpsNodeDesc*, AlpsNodeStatus, double> > AbcTreeNode::branch ( )
virtual

◆ numberUnsatisfied() [1/3]

int AbcTreeNode::numberUnsatisfied ( ) const
inline

Get the number of objects unsatisfied at this node.

Definition at line 122 of file AbcTreeNode.h.

◆ guessedObjectiveValue() [1/3]

double AbcTreeNode::guessedObjectiveValue ( ) const
inline

Guessed objective value (for solution)

Definition at line 126 of file AbcTreeNode.h.

◆ setGuessedObjectiveValue() [1/3]

void AbcTreeNode::setGuessedObjectiveValue ( double  value)
inline

Definition at line 129 of file AbcTreeNode.h.

◆ setBranchedOn() [1/3]

void AbcTreeNode::setBranchedOn ( int  b)
inline

Definition at line 132 of file AbcTreeNode.h.

◆ setBranchedDir() [1/3]

void AbcTreeNode::setBranchedDir ( int  d)
inline

Definition at line 134 of file AbcTreeNode.h.

◆ setBranchedOnValue() [1/3]

void AbcTreeNode::setBranchedOnValue ( double  b)
inline

Definition at line 136 of file AbcTreeNode.h.

◆ getBranchedOn() [1/3]

int AbcTreeNode::getBranchedOn ( ) const
inline

Definition at line 138 of file AbcTreeNode.h.

◆ getBranchedDir() [1/3]

int AbcTreeNode::getBranchedDir ( ) const
inline

Definition at line 140 of file AbcTreeNode.h.

◆ getBranchedOnValue() [1/3]

double AbcTreeNode::getBranchedOnValue ( ) const
inline

Definition at line 142 of file AbcTreeNode.h.

◆ encode() [1/9]

virtual AlpsReturnStatus AbcTreeNode::encode ( AlpsEncoded encoded) const
virtual

Encode this into given object as input.

Reimplemented from AlpsKnowledge.

◆ decode() [1/3]

virtual AlpsKnowledge* AbcTreeNode::decode ( AlpsEncoded encoded) const
virtual

Decode the given AlpsEncoded object into a new AbcTreeNode.

Implements AlpsKnowledge.

◆ decodeToSelf() [1/3]

virtual AlpsReturnStatus AbcTreeNode::decodeToSelf ( AlpsEncoded encoded)
inlinevirtual

Decode the given AlpsEncoded object into this.

Reimplemented from AlpsKnowledge.

Definition at line 153 of file AbcTreeNode.h.

◆ operator=() [1/3]

AbcTreeNode& AbcTreeNode::operator= ( AbcTreeNode const &  )
private

Disable copy assignment operator.

◆ createNewTreeNode() [2/3]

virtual AlpsTreeNode* AbcTreeNode::createNewTreeNode ( AlpsNodeDesc *&  desc) const
virtual

The purpose of this function is be able to create the children of a node after branching.

Implements AlpsTreeNode.

◆ process() [2/3]

virtual int AbcTreeNode::process ( bool  isRoot = false,
bool  rampUp = false 
)
virtual

Performing the bounding operation.

◆ chooseBranch() [2/3]

int AbcTreeNode::chooseBranch ( AbcModel model,
bool &  strongFound 
)

Select the branch variable.

Return value:

  • 0: A branching object has been installed
  • -1: A monotone object was discovered
  • -2: An infeasible object was discovered

◆ getObjValue() [2/3]

double AbcTreeNode::getObjValue ( ) const
inline

Query/set the objective value (could be approximately or not exit) of the node.

Definition at line 114 of file AbcTreeNode.h.

◆ setObjValue() [2/3]

void AbcTreeNode::setObjValue ( const double  objValue)
inline

Definition at line 115 of file AbcTreeNode.h.

◆ branch() [2/3]

virtual std::vector< CoinTriple<AlpsNodeDesc*, AlpsNodeStatus, double> > AbcTreeNode::branch ( )
virtual

◆ numberUnsatisfied() [2/3]

int AbcTreeNode::numberUnsatisfied ( ) const
inline

Get the number of objects unsatisfied at this node.

Definition at line 122 of file AbcTreeNode.h.

◆ guessedObjectiveValue() [2/3]

double AbcTreeNode::guessedObjectiveValue ( ) const
inline

Guessed objective value (for solution)

Definition at line 126 of file AbcTreeNode.h.

◆ setGuessedObjectiveValue() [2/3]

void AbcTreeNode::setGuessedObjectiveValue ( double  value)
inline

Definition at line 129 of file AbcTreeNode.h.

◆ setBranchedOn() [2/3]

void AbcTreeNode::setBranchedOn ( int  b)
inline

Definition at line 132 of file AbcTreeNode.h.

◆ setBranchedDir() [2/3]

void AbcTreeNode::setBranchedDir ( int  d)
inline

Definition at line 134 of file AbcTreeNode.h.

◆ setBranchedOnValue() [2/3]

void AbcTreeNode::setBranchedOnValue ( double  b)
inline

Definition at line 136 of file AbcTreeNode.h.

◆ getBranchedOn() [2/3]

int AbcTreeNode::getBranchedOn ( ) const
inline

Definition at line 138 of file AbcTreeNode.h.

◆ getBranchedDir() [2/3]

int AbcTreeNode::getBranchedDir ( ) const
inline

Definition at line 140 of file AbcTreeNode.h.

◆ getBranchedOnValue() [2/3]

double AbcTreeNode::getBranchedOnValue ( ) const
inline

Definition at line 142 of file AbcTreeNode.h.

◆ encode() [2/9]

virtual AlpsReturnStatus AbcTreeNode::encode ( AlpsEncoded encoded) const
virtual

Encode this into given object as input.

Reimplemented from AlpsKnowledge.

◆ decode() [2/3]

virtual AlpsKnowledge* AbcTreeNode::decode ( AlpsEncoded encoded) const
virtual

Decode the given AlpsEncoded object into a new AbcTreeNode.

Implements AlpsKnowledge.

◆ decodeToSelf() [2/3]

virtual AlpsReturnStatus AbcTreeNode::decodeToSelf ( AlpsEncoded encoded)
inlinevirtual

Decode the given AlpsEncoded object into this.

Reimplemented from AlpsKnowledge.

Definition at line 153 of file AbcTreeNode.h.

◆ operator=() [2/3]

AbcTreeNode& AbcTreeNode::operator= ( AbcTreeNode const &  )
private

Disable copy assignment operator.

◆ createNewTreeNode() [3/3]

virtual AlpsTreeNode* AbcTreeNode::createNewTreeNode ( AlpsNodeDesc *&  desc) const
virtual

The purpose of this function is be able to create the children of a node after branching.

Implements AlpsTreeNode.

◆ process() [3/3]

virtual int AbcTreeNode::process ( bool  isRoot = false,
bool  rampUp = false 
)
virtual

Performing the bounding operation.

◆ chooseBranch() [3/3]

int AbcTreeNode::chooseBranch ( AbcModel model,
bool &  strongFound 
)

Select the branch variable.

Return value:

  • 0: A branching object has been installed
  • -1: A monotone object was discovered
  • -2: An infeasible object was discovered

◆ getObjValue() [3/3]

double AbcTreeNode::getObjValue ( ) const
inline

Query/set the objective value (could be approximately or not exit) of the node.

Definition at line 114 of file AbcTreeNode.h.

◆ setObjValue() [3/3]

void AbcTreeNode::setObjValue ( const double  objValue)
inline

Definition at line 115 of file AbcTreeNode.h.

◆ branch() [3/3]

virtual std::vector< CoinTriple<AlpsNodeDesc*, AlpsNodeStatus, double> > AbcTreeNode::branch ( )
virtual

◆ numberUnsatisfied() [3/3]

int AbcTreeNode::numberUnsatisfied ( ) const
inline

Get the number of objects unsatisfied at this node.

Definition at line 122 of file AbcTreeNode.h.

◆ guessedObjectiveValue() [3/3]

double AbcTreeNode::guessedObjectiveValue ( ) const
inline

Guessed objective value (for solution)

Definition at line 126 of file AbcTreeNode.h.

◆ setGuessedObjectiveValue() [3/3]

void AbcTreeNode::setGuessedObjectiveValue ( double  value)
inline

Definition at line 129 of file AbcTreeNode.h.

◆ setBranchedOn() [3/3]

void AbcTreeNode::setBranchedOn ( int  b)
inline

Definition at line 132 of file AbcTreeNode.h.

◆ setBranchedDir() [3/3]

void AbcTreeNode::setBranchedDir ( int  d)
inline

Definition at line 134 of file AbcTreeNode.h.

◆ setBranchedOnValue() [3/3]

void AbcTreeNode::setBranchedOnValue ( double  b)
inline

Definition at line 136 of file AbcTreeNode.h.

◆ getBranchedOn() [3/3]

int AbcTreeNode::getBranchedOn ( ) const
inline

Definition at line 138 of file AbcTreeNode.h.

◆ getBranchedDir() [3/3]

int AbcTreeNode::getBranchedDir ( ) const
inline

Definition at line 140 of file AbcTreeNode.h.

◆ getBranchedOnValue() [3/3]

double AbcTreeNode::getBranchedOnValue ( ) const
inline

Definition at line 142 of file AbcTreeNode.h.

◆ encode() [3/9]

virtual AlpsReturnStatus AbcTreeNode::encode ( AlpsEncoded encoded) const
virtual

Encode this into given object as input.

Reimplemented from AlpsKnowledge.

◆ decode() [3/3]

virtual AlpsKnowledge* AbcTreeNode::decode ( AlpsEncoded encoded) const
virtual

Decode the given AlpsEncoded object into a new AbcTreeNode.

Implements AlpsKnowledge.

◆ decodeToSelf() [3/3]

virtual AlpsReturnStatus AbcTreeNode::decodeToSelf ( AlpsEncoded encoded)
inlinevirtual

Decode the given AlpsEncoded object into this.

Reimplemented from AlpsKnowledge.

Definition at line 153 of file AbcTreeNode.h.

◆ operator=() [3/3]

AbcTreeNode& AbcTreeNode::operator= ( AbcTreeNode const &  )
private

Disable copy assignment operator.

◆ encode() [4/9]

AlpsEncoded* AlpsKnowledge::encode

Encode the content of this into an AlpsEncoded object and return a pointer to it.

◆ encode() [5/9]

virtual AlpsReturnStatus AlpsKnowledge::encode

Encode the content of this into the given AlpsEncoded object.

Implementation given in this class can not be used when the memory of data members is not contiguous, i.e., some data members are pointers to heap locations, STL set, map, etc. These type of user application sub-classes should implement their own version of this.

◆ encode() [6/9]

AlpsEncoded* AlpsKnowledge::encode

Encode the content of this into an AlpsEncoded object and return a pointer to it.

◆ encode() [7/9]

virtual AlpsReturnStatus AlpsKnowledge::encode

Encode the content of this into the given AlpsEncoded object.

Implementation given in this class can not be used when the memory of data members is not contiguous, i.e., some data members are pointers to heap locations, STL set, map, etc. These type of user application sub-classes should implement their own version of this.

◆ encode() [8/9]

AlpsEncoded* AlpsKnowledge::encode

Encode the content of this into an AlpsEncoded object and return a pointer to it.

◆ encode() [9/9]

virtual AlpsReturnStatus AlpsKnowledge::encode

Encode the content of this into the given AlpsEncoded object.

Implementation given in this class can not be used when the memory of data members is not contiguous, i.e., some data members are pointers to heap locations, STL set, map, etc. These type of user application sub-classes should implement their own version of this.

Member Data Documentation

◆ branchedOn_

int AbcTreeNode::branchedOn_
private

The index of the branching variable.

Definition at line 50 of file AbcTreeNode.h.

◆ branchedOnVal_

double AbcTreeNode::branchedOnVal_
private

The solution value (non-integral) of the branching variable.

Definition at line 53 of file AbcTreeNode.h.

◆ branchedDir_

int AbcTreeNode::branchedDir_
private

Branching direction.

Definition at line 56 of file AbcTreeNode.h.

◆ guessedObjectiveValue_

double AbcTreeNode::guessedObjectiveValue_
private

Guessed satisfied Objective value.

Definition at line 59 of file AbcTreeNode.h.

◆ numberUnsatisfied_

int AbcTreeNode::numberUnsatisfied_
private

The number of objects unsatisfied at this node.

Definition at line 62 of file AbcTreeNode.h.


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