Belle II Software development
|
Type of tree for partitioning the hough space. More...
#include <WeightedFastHoughTree.h>
Public Member Functions | |
WeightedParititioningDynTree (ADomain topDomain, ADomainDivsion domainDivsion) | |
Constructor attaching a vector of the weighted items to the top most node domain. | |
Node & | getTopNode () |
Getter for the top node of the tree. | |
const Node & | getTopNode () const |
Constant getter for the top node of the tree. | |
int | getNNodes () const |
Gets the number of nodes currently contained in the tree Also demonstrates how to walk over the tree. | |
std::map< int, int > | getNNodesByLevel () const |
Gets the number of nodes by level in the tree Also demonstrates how to walk over the tree. | |
void | walk (AWalker &walker) |
Forward walk to the top node. | |
void | walk (AWalker &walker, APriorityMeasure &priority) |
Forward walk to the top node. | |
void | fell () |
Fell to tree meaning deleting all child nodes from the tree. Keeps the top node. | |
void | raze () |
Like fell but also releases all memory the tree has acquired during long execution. | |
Public Attributes | |
SubPropertiesFactory | m_subPropertiesFactory |
Instance of the properties factory for the sub nodes. | |
Node | m_topNode |
Memory for the top node of the tree. | |
std::deque< typename Node::Children > | m_children |
Central point to provide memory for the child structures. | |
size_t | m_nUsedChildren |
Last index of used children. | |
Private Types | |
using | Super = DynTree< WithWeightedItems< ADomain, T >, ADomainDivsion > |
Type of the base class. | |
using | This = DynTree< WithWeightedItems< ADomain, T >, ADomainDivsion > |
Type of this class. | |
using | Properties = WithWeightedItems< ADomain, T > |
Type of the Properties. | |
using | SubPropertiesFactory = ADomainDivsion |
Type of the factory for the sub node properties. | |
Private Member Functions | |
std::vector< Node > * | createChildren (Node *parentNode) |
Create child nodes for the given parents. | |
std::vector< Node > * | getUnusedChildren () |
Acquire the next unused child node structure, recycling all memory. | |
Type of tree for partitioning the hough space.
Definition at line 29 of file WeightedFastHoughTree.h.
|
privateinherited |
|
privateinherited |
|
private |
Type of the base class.
Definition at line 33 of file WeightedFastHoughTree.h.
|
privateinherited |
|
inline |
Constructor attaching a vector of the weighted items to the top most node domain.
Definition at line 37 of file WeightedFastHoughTree.h.
|
inlineprivateinherited |
Create child nodes for the given parents.
Definition at line 284 of file DynTree.h.
|
inlineinherited |
Fell to tree meaning deleting all child nodes from the tree. Keeps the top node.
Definition at line 334 of file DynTree.h.
|
inlineinherited |
Gets the number of nodes currently contained in the tree Also demonstrates how to walk over the tree.
Definition at line 248 of file DynTree.h.
|
inlineinherited |
Gets the number of nodes by level in the tree Also demonstrates how to walk over the tree.
Definition at line 264 of file DynTree.h.
|
inlineinherited |
|
inlineinherited |
|
inlineprivateinherited |
Acquire the next unused child node structure, recycling all memory.
Definition at line 304 of file DynTree.h.
|
inlineinherited |
Like fell but also releases all memory the tree has acquired during long execution.
Definition at line 349 of file DynTree.h.
|
inlineinherited |
Forward walk to the top node.
Definition at line 316 of file DynTree.h.
|
inlineinherited |
Forward walk to the top node.
Definition at line 325 of file DynTree.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |