![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/learning/FunctionGraph/leafAggregator.h> More...
#include <leafAggregator.h>
Public Member Functions | |
void | update () |
bool | needsUpdate () |
HashTable< NodeId, AbstractLeaf *> | leavesMap () |
std::string | toString () |
Constructor & destructor. | |
LeafAggregator (NodeGraphPart *idSource, double similarityThreshold) | |
Default constructor. More... | |
~LeafAggregator () | |
Default destructor. More... | |
Leaf Handling methods | |
void | addLeaf (AbstractLeaf *) |
bool | updateLeaf (AbstractLeaf *) |
void | removeLeaf (AbstractLeaf *) |
void | begin () |
bool | hasNext () |
double | next () |
<agrum/FMDP/learning/FunctionGraph/leafAggregator.h>
Gather together leaves with similar distributions
Definition at line 59 of file leafAggregator.h.
gum::LeafAggregator::LeafAggregator | ( | NodeGraphPart * | idSource, |
double | similarityThreshold | ||
) |
Default constructor.
Definition at line 43 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
gum::LeafAggregator::~LeafAggregator | ( | ) |
Default destructor.
Definition at line 53 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 342 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 328 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 359 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 351 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
void gum::LeafAggregator::addLeaf | ( | AbstractLeaf * | l | ) |
Definition at line 84 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
void gum::LeafAggregator::begin | ( | ) |
bool gum::LeafAggregator::hasNext | ( | ) |
HashTable< NodeId, AbstractLeaf *> gum::LeafAggregator::leavesMap | ( | ) |
Definition at line 274 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
inline |
double gum::LeafAggregator::next | ( | ) |
void gum::LeafAggregator::removeLeaf | ( | AbstractLeaf * | l | ) |
Definition at line 186 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
std::string gum::LeafAggregator::toString | ( | ) |
Definition at line 308 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
void gum::LeafAggregator::update | ( | ) |
Definition at line 238 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
bool gum::LeafAggregator::updateLeaf | ( | AbstractLeaf * | l | ) |
Definition at line 141 of file leafAggregator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 136 of file leafAggregator.h.
|
private |
Definition at line 138 of file leafAggregator.h.
|
private |
Definition at line 140 of file leafAggregator.h.
|
private |
Definition at line 142 of file leafAggregator.h.
|
private |
Definition at line 145 of file leafAggregator.h.
Referenced by needsUpdate().
|
private |
Definition at line 144 of file leafAggregator.h.