Go to the documentation of this file.
27 #ifndef AlpsSearchStrategy_h_
28 #define AlpsSearchStrategy_h_
@ AlpsSearchTypeBreadthFirst
@ AlpsSearchTypeBestFirst
AlpsTreeSelection()
Default Constructor.
virtual ~AlpsNodeSelectionEstimate()
Default Destructor.
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)
This returns true if quality of node y is better (the less the better) than that of node x.
virtual ~AlpsNodeSelection()
Default Destructor.
virtual ~AlpsTreeSelectionEstimate()
Default Destructor.
virtual ~AlpsNodeSelectionBest()
Default Destructor.
AlpsTreeSelectionBreadth()
Default Constructor.
virtual bool compare(AlpsSubTree *x, AlpsSubTree *y)
This returns true if the quality of the subtree y is better (the less the better) than that the subtr...
AlpsTreeSelectionBest()
Default Constructor.
AlpsTreeSelectionEstimate()
Default Constructor.
virtual ~AlpsNodeSelectionHybrid()
Default Destructor.
virtual ~AlpsNodeSelectionBreadth()
Default Destructor.
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)
This returns true if the depth of node y is lesser than that of node x.
virtual AlpsTreeNode * selectNextNode(AlpsSubTree *subTree)
AlpsNodeSelectionEstimate()
Default Constructor.
virtual bool compare(AlpsSubTree *x, AlpsSubTree *y)
This returns true if the depth of the root node in subtree y is smaller than that of the root node in...
virtual bool compare(AlpsSubTree *x, AlpsSubTree *y)=0
This returns true if the quality of the subtree y is better (the less the better) than that the subtr...
virtual void createNewNodes(AlpsSubTree *subTree, AlpsTreeNode *node)
@ AlpsSearchTypeBestEstimate
This class holds one node of the search tree.
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)
This returns true if the estimate quality of node y is better (the lesser the better) than that of no...
double getQuality() const
Query/set the quality of the node.
AlpsNodeSelectionDepth()
Default Constructor.
virtual ~AlpsTreeSelectionBreadth()
Default Destructor.
virtual void createNewNodes(AlpsSubTree *subTree, AlpsTreeNode *node)
virtual bool compare(AlpsSubTree *x, AlpsSubTree *y)
This returns true if the estimated quality of the subtree y is better (the less the better) than that...
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)
This returns true if the quality of node y is better (the lesser the better) than that of node x.
virtual AlpsTreeNode * selectNextNode(AlpsSubTree *subTree)
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)=0
This returns true if the depth of node y is lesser than that of node x.
AlpsNodeSelectionBreadth()
Default Constructor.
int getDepth() const
Query/set what depth the search tree node is at.
AlpsTreeSelectionDepth()
Default Constructor.
double getSolEstimate() const
Query/set the solution estimate of the node.
virtual ~AlpsNodeSelectionDepth()
Default Destructor.
virtual bool compare(AlpsSubTree *x, AlpsSubTree *y)
This returns true if the depth of the root node in subtree y is greater than that of the root node in...
AlpsNodeSelectionHybrid()
Default Constructor.
AlpsNodeSelection()
Default Constructor.
virtual ~AlpsTreeSelectionDepth()
Default Destructor.
virtual ~AlpsTreeSelectionBest()
Default Destructor.
This class contains the data pertaining to a particular subtree in the search tree.
virtual bool compare(AlpsTreeNode *x, AlpsTreeNode *y)
This returns true if the depth of node y is greater than that of node x.
@ AlpsSearchTypeDepthFirst
AlpsNodeSelectionBest()
Default Constructor.
virtual ~AlpsTreeSelection()
Default Destructor.