Node pool is used to store the nodes to be processed.
More...
#include <AlpsNodePool.h>
Node pool is used to store the nodes to be processed.
Definition at line 37 of file AlpsNodePool.h.
◆ AlpsNodePool() [1/3]
◆ AlpsNodePool() [2/3]
AlpsNodePool::AlpsNodePool |
( |
| ) |
|
|
inline |
◆ AlpsNodePool() [3/3]
◆ ~AlpsNodePool()
virtual AlpsNodePool::~AlpsNodePool |
( |
| ) |
|
|
inlinevirtual |
◆ operator=()
◆ getNumKnowledges()
int AlpsNodePool::getNumKnowledges |
( |
| ) |
const |
|
inlinevirtual |
◆ getBestKnowledgeValue()
double AlpsNodePool::getBestKnowledgeValue |
( |
| ) |
const |
|
inline |
Get the "best value" of the nodes in node pool.
Definition at line 64 of file AlpsNodePool.h.
◆ getBestNode()
Get the "best" nodes in node pool.
Definition at line 80 of file AlpsNodePool.h.
◆ hasKnowledge()
bool AlpsNodePool::hasKnowledge |
( |
| ) |
const |
|
inlinevirtual |
◆ getKnowledge()
std::pair< AlpsKnowledge *, double > AlpsNodePool::getKnowledge |
( |
| ) |
const |
|
inlinevirtual |
◆ popKnowledge()
void AlpsNodePool::popKnowledge |
( |
| ) |
|
|
inlinevirtual |
◆ addKnowledge()
void AlpsNodePool::addKnowledge |
( |
AlpsKnowledge * | node, |
|
|
double | priority ) |
|
inlinevirtual |
Remove the node with highest priority from the pool and the elite list.
Add a node to node pool.
Implements AlpsKnowledgePool.
Definition at line 126 of file AlpsNodePool.h.
◆ getCandidateList()
Get a constant reference to the priority queue that stores nodes.
Definition at line 140 of file AlpsNodePool.h.
◆ setNodeSelection()
void AlpsNodePool::setNodeSelection |
( |
AlpsSearchStrategy< AlpsTreeNode * > & | compare | ) |
|
|
inline |
◆ deleteGuts()
void AlpsNodePool::deleteGuts |
( |
| ) |
|
|
inline |
Delete all the nodes in the pool and free memory.
Definition at line 148 of file AlpsNodePool.h.
◆ clear()
void AlpsNodePool::clear |
( |
| ) |
|
|
inline |
Remove all the nodes in the pool (does not free memory).
Definition at line 158 of file AlpsNodePool.h.
◆ candidateList_
◆ searchStrategy_
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/coin-or-Alps-1.5.12-build/CHiPPS-ALPS-releases-1.5.12/Alps/src/AlpsNodePool.h