aGrUM  0.16.0
defaultTriangulation.h
Go to the documentation of this file.
1 
28 #ifndef GUM_DEFAULT_TRIANGULATION_H
29 #define GUM_DEFAULT_TRIANGULATION_H
30 
33 
34 namespace gum {
35 
63  public:
64  // ############################################################################
66  // ############################################################################
68 
70  explicit DefaultTriangulation(const UndiGraph* graph,
71  const NodeProperty< Size >* dom_sizes,
72  bool minimality = false,
73  double theRatio = GUM_QUASI_RATIO,
74  double theThreshold = GUM_WEIGHT_THRESHOLD);
75 
77  explicit DefaultTriangulation(bool minimality = false,
78  double theRatio = GUM_QUASI_RATIO,
79  double theThreshold = GUM_WEIGHT_THRESHOLD);
80 
83 
86 
89 
91 
97  virtual DefaultTriangulation* newFactory() const;
98 
100  virtual DefaultTriangulation* copyFactory() const;
101 
103 
104 
105  private:
108 
111  double __threshold;
112 
113 
114  // ############################################################################
116  // ############################################################################
118 
121 
123  };
124 
125 
126 } /* namespace gum */
127 
128 
129 #endif /* GUM_DEFAULT_TRIANGULATION_H */
virtual DefaultTriangulation * newFactory() const
virtual clone constructor
#define GUM_WEIGHT_THRESHOLD
Definition: simplicialSet.h:41
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Interface for all triangulation methods without constraints on node elimination orderings.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
DefaultTriangulation(const UndiGraph *graph, const NodeProperty< Size > *dom_sizes, bool minimality=false, double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
basic constructor. initialize the triangulation
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
double __quasi_ratio
the ratio above which we consider nodes to be quasi simplicial
~DefaultTriangulation()
destructor
The class for generic Hash Tables.
Definition: hashTable.h:679
double __threshold
threshold under which almost and quasi simplicial nodes can be chosen to be eliminated ...
The default triangulation algorithm used by aGrUM.
virtual DefaultTriangulation * copyFactory() const
virtual copy constructor
Base class for undirected graphs.
Definition: undiGraph.h:109
#define GUM_QUASI_RATIO
Definition: simplicialSet.h:40
DefaultTriangulation & operator=(const DefaultTriangulation &)
forbid copy operator