A dual tree traverser for rectangle type trees. More...
Public Member Functions | |
DualTreeTraverser (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 (RectangleTree &queryNode, RectangleTree &referenceNode) |
Traverse the two trees. More... | |
A dual tree traverser for rectangle type trees.
Definition at line 31 of file dual_tree_traverser.hpp.
DualTreeTraverser | ( | 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 64 of file dual_tree_traverser.hpp.
|
inline |
Modify the number of times a base case was calculated.
Definition at line 66 of file dual_tree_traverser.hpp.
|
inline |
Get the number of prunes.
Definition at line 49 of file dual_tree_traverser.hpp.
|
inline |
Modify the number of prunes.
Definition at line 51 of file dual_tree_traverser.hpp.
|
inline |
Get the number of times a node combination was scored.
Definition at line 59 of file dual_tree_traverser.hpp.
|
inline |
Modify the number of times a node combination was scored.
Definition at line 61 of file dual_tree_traverser.hpp.
|
inline |
Get the number of visited combinations.
Definition at line 54 of file dual_tree_traverser.hpp.
|
inline |
Modify the number of visited combinations.
Definition at line 56 of file dual_tree_traverser.hpp.
void Traverse | ( | RectangleTree & | queryNode, |
RectangleTree & | 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. |