Public Types | |
typedef QueueFrame< BinarySpaceTree, typename RuleType::TraversalInfoType > | QueueFrameType |
Public Member Functions | |
BreadthFirstDualTreeTraverser (RuleType &rule) | |
Instantiate the dual-tree traverser with the given rule set. More... | |
size_t | NumBaseCases () const |
Get the number of times a base case was calculated. More... | |
size_t & | NumBaseCases () |
Modify the number of times a base case was calculated. More... | |
size_t | NumPrunes () const |
Get the number of prunes. More... | |
size_t & | NumPrunes () |
Modify the number of prunes. More... | |
size_t | NumScores () const |
Get the number of times a node combination was scored. More... | |
size_t & | NumScores () |
Modify the number of times a node combination was scored. More... | |
size_t | NumVisited () const |
Get the number of visited combinations. More... | |
size_t & | NumVisited () |
Modify the number of visited combinations. More... | |
void | Traverse (BinarySpaceTree &queryNode, BinarySpaceTree &referenceNode) |
Traverse the two trees. More... | |
void | Traverse (BinarySpaceTree &queryNode, std::priority_queue< QueueFrameType > &referenceQueue) |
Definition at line 103 of file binary_space_tree.hpp.
typedef QueueFrame<BinarySpaceTree, typename RuleType::TraversalInfoType> QueueFrameType |
Definition at line 53 of file breadth_first_dual_tree_traverser.hpp.
BreadthFirstDualTreeTraverser | ( | RuleType & | rule | ) |
Instantiate the dual-tree traverser with the given rule set.
|
inline |
Get the number of times a base case was calculated.
Definition at line 82 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Modify the number of times a base case was calculated.
Definition at line 84 of file breadth_first_dual_tree_traverser.hpp.
References QueueFrame< TreeType, TraversalInfoType >::traversalInfo.
|
inline |
Get the number of prunes.
Definition at line 67 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Modify the number of prunes.
Definition at line 69 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Get the number of times a node combination was scored.
Definition at line 77 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Modify the number of times a node combination was scored.
Definition at line 79 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Get the number of visited combinations.
Definition at line 72 of file breadth_first_dual_tree_traverser.hpp.
|
inline |
Modify the number of visited combinations.
Definition at line 74 of file breadth_first_dual_tree_traverser.hpp.
void Traverse | ( | BinarySpaceTree & | queryNode, |
BinarySpaceTree & | referenceNode | ||
) |
Traverse the two trees.
This does not reset the number of prunes.
queryNode | The query node to be traversed. |
referenceNode | The reference node to be traversed. |
void Traverse | ( | BinarySpaceTree & | queryNode, |
std::priority_queue< QueueFrameType > & | referenceQueue | ||
) |