29 #ifndef GUM_DEFAULT_JUNCTION_TREE_STRATEGY_H 30 #define GUM_DEFAULT_JUNCTION_TREE_STRATEGY_H 32 #include <agrum/tools/graphs/algorithms/triangulations/junctionTreeStrategies/junctionTreeStrategy.h> 70 =
nullptr)
const final;
123 virtual void clear()
final;
virtual NodeId createdClique(const NodeId id) final
returns the Id of the clique of the junction tree created by the elimination of a given node during t...
void _computeJunctionTree_()
computes a junction tree from an elimination tree
virtual DefaultJunctionTreeStrategy * copyFactory(StaticTriangulation *triangulation=nullptr) const final
virtual copy constructor
DefaultJunctionTreeStrategy()
default constructor
INLINE void emplace(Args &&... args)
virtual DefaultJunctionTreeStrategy * newFactory() const final
create a clone not assigned to any triangulation algorithm
virtual void setTriangulation(StaticTriangulation *triangulation) final
assigns the triangulation to the junction tree strategy
DefaultJunctionTreeStrategy(DefaultJunctionTreeStrategy &&from)
move constructor
virtual const NodeProperty< NodeId > & createdCliques() final
returns, for each node, the clique of the junction tree which was created by its deletion ...
virtual ~DefaultJunctionTreeStrategy()
destructor
bool _has_junction_tree_
a boolean indicating whether the junction tree has been constructed
NodeProperty< NodeId > _node_2_junction_clique_
indicates which clique of the junction tree was created by the elimination of a given node (the key o...
virtual bool requiresFillIns() const final
indicates whether the junction tree strategy needs fill-ins to work properly
DefaultJunctionTreeStrategy(const DefaultJunctionTreeStrategy &from)
copy constructor
virtual void clear() final
resets the current junction tree strategy data structures
virtual const CliqueGraph & junctionTree() final
returns the junction tree computed
CliqueGraph _junction_tree_
the junction tree computed by the algorithm
An algorithm producing a junction given the elimination tree produced by a triangulation algorithm...