cheshirekow
v0.1.0
|
this type is not required by the interface, but if you just need a simple node type then this one will do it for you More...
#include <mpblocks/btps/example_traits.h>
Public Member Functions | |
Node (double weight=0) | |
Public Member Functions inherited from mpblocks::btps::BasicNode< ExampleTraits > | |
BasicNode (double weight=0) | |
Public Attributes | |
uint32_t | freq |
number of times sampled More... | |
Public Attributes inherited from mpblocks::btps::BasicNode< ExampleTraits > | |
uint32_t | count |
count of subtree descendants More... | |
double | cumweight |
cumulative weight of children More... | |
NodeRef | left |
left child More... | |
NodeRef | parent |
only needed if we want removal More... | |
NodeRef | right |
right child More... | |
double | weight |
the weight of this node More... | |
Additional Inherited Members | |
Public Types inherited from mpblocks::btps::BasicNode< ExampleTraits > | |
typedef ExampleTraits::NodeRef | NodeRef |
this type is not required by the interface, but if you just need a simple node type then this one will do it for you
Definition at line 47 of file example_traits.h.
|
inline |
Definition at line 48 of file example_traits.h.
uint32_t mpblocks::btps::ExampleTraits::Node::freq |
number of times sampled
Definition at line 50 of file example_traits.h.