aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
binaryJoinTreeConverter.h
Go to the documentation of this file.
1 
28 #ifndef GUM_BINARY_JOIN_TREE_CONVERTER_H
29 #define GUM_BINARY_JOIN_TREE_CONVERTER_H
30 
31 #include <agrum/tools/core/set.h>
34 
35 namespace gum {
36 
38  public:
39  // ############################################################################
41  // ############################################################################
43 
46 
48  virtual ~BinaryJoinTreeConverter();
49 
51 
52  // ############################################################################
54  // ############################################################################
56 
58 
70  virtual CliqueGraph convert(const CliqueGraph& JT,
71  const NodeProperty< Size >& domain_sizes,
72  const NodeSet& roots) = 0;
73 
75  virtual const NodeSet& roots() const = 0;
76 
78 
79  private:
82 
85  };
86 
87 } /* namespace gum */
88 
89 #endif /* GUM_BINARY_JOIN_TREE_CONVERTER_H */
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
The class for generic Hash Tables.
Definition: hashTable.h:679
BinaryJoinTreeConverter()
default constructor
virtual ~BinaryJoinTreeConverter()
destructor
BinaryJoinTreeConverter & operator=(const BinaryJoinTreeConverter &)
forbid copy operator
Basic graph of cliques.
Definition: cliqueGraph.h:58
virtual const NodeSet & roots() const =0
returns all the roots considered for all the connected components
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
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
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.