![]() |
aGrUM
0.21.0
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h> More...
#include <abstractLeaf.h>
Public Member Functions | |
virtual double | effectif (Idx) const =0 |
Gaves the leaf effectif for given modality. More... | |
virtual double | total () const =0 |
virtual bool | contains (NodeId testedId) const |
Returns true if abstractleaf has leaf in it. More... | |
NodeId | id () |
virtual Idx | nbModa () const =0 |
virtual std::string | toString ()=0 |
Constructor & destructor. | |
AbstractLeaf (NodeId leafId) | |
Default constructor. More... | |
virtual | ~AbstractLeaf () |
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/abstractLeaf.h>
Abstract Class implementing a Leaf
Definition at line 52 of file abstractLeaf.h.
|
inline |
Default constructor.
Definition at line 62 of file abstractLeaf.h.
|
inlinevirtual |
Default destructor.
Definition at line 67 of file abstractLeaf.h.
Returns true if abstractleaf has leaf in it.
Reimplemented in gum::ComposedLeaf.
Definition at line 91 of file abstractLeaf.h.
Gaves the leaf effectif for given modality.
Implemented in gum::ConcreteLeaf< AttributeSelection, isScalar >, and gum::ComposedLeaf.
|
inline |
Definition at line 93 of file abstractLeaf.h.
|
pure virtual |
Implemented in gum::ConcreteLeaf< AttributeSelection, isScalar >, and gum::ComposedLeaf.
|
inline |
Default constructor.
Definition at line 76 of file abstractLeaf.h.
|
inline |
Allocators and Deallocators redefinition.
Definition at line 75 of file abstractLeaf.h.
|
pure virtual |
Implemented in gum::ConcreteLeaf< AttributeSelection, isScalar >, and gum::ComposedLeaf.
|
pure virtual |
Implemented in gum::ConcreteLeaf< AttributeSelection, isScalar >, and gum::ComposedLeaf.
|
private |
Definition at line 100 of file abstractLeaf.h.