![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
#include <binaryJoinTreeConverter.h>
Public Member Functions | |
Constructors / Destructors | |
| BinaryJoinTreeConverter () | |
| default constructor | |
| virtual | ~BinaryJoinTreeConverter () |
| destructor | |
Accessors/Modifiers | |
| virtual CliqueGraph | convert (const CliqueGraph &JT, const NodeProperty< Size > &domain_sizes, const NodeSet &roots)=0 |
| returns a binary join tree corresponding to clique graph JT | |
| virtual const NodeSet & | roots () const =0 |
| returns all the roots considered for all the connected components | |
Private Member Functions | |
| BinaryJoinTreeConverter (const BinaryJoinTreeConverter &) | |
| forbid copy constructor | |
| BinaryJoinTreeConverter & | operator= (const BinaryJoinTreeConverter &) |
| forbid copy operator | |
Definition at line 54 of file binaryJoinTreeConverter.h.
| gum::BinaryJoinTreeConverter::BinaryJoinTreeConverter | ( | ) |
default constructor
Definition at line 55 of file binaryJoinTreeConverter.cpp.
References BinaryJoinTreeConverter().
Referenced by BinaryJoinTreeConverter(), BinaryJoinTreeConverter(), ~BinaryJoinTreeConverter(), and operator=().
|
virtual |
destructor
Definition at line 61 of file binaryJoinTreeConverter.cpp.
References BinaryJoinTreeConverter().
|
private |
forbid copy constructor
References BinaryJoinTreeConverter().
|
pure virtual |
returns a binary join tree corresponding to clique graph JT
This method creates and returns a new binary join tree compatible with that passed in argument (JT) and optimized for inference. As such, this requires knowing the join tree to be converted (of course), but also which roots will be used by the collect/diffusion inference engine and the domain size of the variables contained in the cliques of JT (to optimize the combination of the tensors contained in the cliques.
| InvalidNode | exception is thrown if some roots do not belong to JT or if several roots belong to the same connected component. |
References roots().
|
private |
forbid copy operator
References BinaryJoinTreeConverter().
|
pure virtual |
returns all the roots considered for all the connected components
Referenced by convert().