![]() |
aGrUM
0.16.0
|
<agrum/FMDP/learning/datastructure/leaves/concreteLeaf.h> More...
#include <concreteLeaf.h>
Public Member Functions | |
virtual double | effectif (Idx moda) const |
Gaves the leaf effectif for given modality. More... | |
virtual double | total () const |
Idx | nbModa () const |
std::string | toString () |
virtual bool | contains (NodeId testedId) const |
Returns true if abstractleaf has leaf in it. More... | |
NodeId | id () |
Constructor & destructor. | |
ConcreteLeaf (NodeId leafId, NodeDatabase< AttributeSelection, isScalar > *n1, const Sequence< ValueType > *valueDomain) | |
Default constructor. More... | |
~ConcreteLeaf () | |
Default destructor. More... | |
void * | operator new (size_t s) |
Allocators and Deallocators redefinition. More... | |
void | operator delete (void *p) |
Default constructor. More... | |
<agrum/FMDP/learning/datastructure/leaves/concreteLeaf.h>
A concrete leaf
Definition at line 58 of file concreteLeaf.h.
|
private |
Definition at line 59 of file concreteLeaf.h.
|
inline |
Default constructor.
Definition at line 70 of file concreteLeaf.h.
|
inline |
Default destructor.
Definition at line 81 of file concreteLeaf.h.
|
inlineprivate |
Definition at line 103 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__n1, and gum::ConcreteLeaf< AttributeSelection, isScalar >::__valueDomain.
Referenced by gum::ConcreteLeaf< AttributeSelection, isScalar >::effectif().
|
inlineprivate |
Definition at line 106 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__n1.
|
inlineprivate |
Definition at line 116 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__valueDomain.
Referenced by gum::ConcreteLeaf< AttributeSelection, isScalar >::nbModa().
|
inlineprivate |
Definition at line 117 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__n1.
Returns true if abstractleaf has leaf in it.
Reimplemented in gum::ComposedLeaf.
Definition at line 93 of file abstractLeaf.h.
References gum::AbstractLeaf::__leafId.
Referenced by gum::ComposedLeaf::contains(), gum::LeafPair::contains(), and gum::LeafAggregator::update().
|
inlinevirtual |
Gaves the leaf effectif for given modality.
Implements gum::AbstractLeaf.
Definition at line 98 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__effectif().
|
inlineinherited |
Definition at line 95 of file abstractLeaf.h.
References gum::AbstractLeaf::__leafId, gum::AbstractLeaf::nbModa(), and gum::AbstractLeaf::toString().
Referenced by gum::ComposedLeaf::toString(), gum::ConcreteLeaf< AttributeSelection, isScalar >::toString(), and gum::LeafAggregator::updateLeaf().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 113 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__nbModa().
|
inline |
Default constructor.
Definition at line 89 of file concreteLeaf.h.
References gum::SmallObjectAllocator::deallocate(), and gum::SmallObjectAllocator::instance().
|
inline |
Allocators and Deallocators redefinition.
Definition at line 86 of file concreteLeaf.h.
References gum::SmallObjectAllocator::allocate(), and gum::SmallObjectAllocator::instance().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 120 of file concreteLeaf.h.
References gum::AbstractLeaf::id().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 111 of file concreteLeaf.h.
References gum::ConcreteLeaf< AttributeSelection, isScalar >::__n1.
|
private |
Definition at line 127 of file concreteLeaf.h.
Referenced by gum::ConcreteLeaf< AttributeSelection, isScalar >::__effectif(), gum::ConcreteLeaf< AttributeSelection, isScalar >::__nbModa(), and gum::ConcreteLeaf< AttributeSelection, isScalar >::total().
|
private |
Definition at line 128 of file concreteLeaf.h.
Referenced by gum::ConcreteLeaf< AttributeSelection, isScalar >::__effectif(), and gum::ConcreteLeaf< AttributeSelection, isScalar >::__nbModa().