aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::DefaultEliminationSequenceStrategy Class Reference

An efficient unconstrained elimination sequence algorithm. More...

#include <defaultEliminationSequenceStrategy.h>

+ Inheritance diagram for gum::DefaultEliminationSequenceStrategy:
+ Collaboration diagram for gum::DefaultEliminationSequenceStrategy:

Public Member Functions

Constructors / Destructors
 DefaultEliminationSequenceStrategy (double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
 default constructor (uses an empty graph) More...
 
 DefaultEliminationSequenceStrategy (UndiGraph *graph, const NodeProperty< Size > *dom_sizes, double ratio=GUM_QUASI_RATIO, double threshold=GUM_WEIGHT_THRESHOLD)
 constructor for an a priori non empty graph More...
 
 DefaultEliminationSequenceStrategy (const DefaultEliminationSequenceStrategy &from)
 copy constructor More...
 
 DefaultEliminationSequenceStrategy (DefaultEliminationSequenceStrategy &&)
 move constructor More...
 
virtual ~DefaultEliminationSequenceStrategy ()
 destructor More...
 
virtual DefaultEliminationSequenceStrategynewFactory () const final
 creates a new elimination sequence of the same type as the current object, but this sequence contains only an empty graph More...
 
virtual DefaultEliminationSequenceStrategycopyFactory () const final
 virtual copy constructor More...
 
Accessors / Modifiers
virtual bool setGraph (UndiGraph *graph, const NodeProperty< Size > *dom_sizes) final
 sets a new graph to be triangulated More...
 
virtual void clear () final
 clears the sequence (to prepare, for instance, a new elimination sequence) More...
 
virtual NodeId nextNodeToEliminate () final
 returns the new node to be eliminated within the triangulation algorithm More...
 
virtual void askFillIns (bool do_it) final
 if the elimination sequence is able to compute fill-ins, we indicate whether we want this feature to be activated More...
 
virtual bool providesFillIns () const final
 indicates whether the fill-ins generated by the eliminated nodes, if needed, will be computed by the elimination sequence, or need be computed by the triangulation itself. More...
 
virtual bool providesGraphUpdate () const final
 indicates whether the elimination sequence updates by itself the graph after a node has been eliminated More...
 
virtual void eliminationUpdate (const NodeId node) final
 performs all the graph/fill-ins updates provided (if any) More...
 
virtual const EdgeSetfillIns () final
 in case fill-ins are provided, this function returns the fill-ins due to all the nodes eliminated so far More...
 
Accessors / Modifiers
UndiGraphgraph () const noexcept
 returns the current graph More...
 
const NodeProperty< Size > * domainSizes () const noexcept
 returns the current domain sizes More...
 

Protected Attributes

UndiGraphgraph_ {nullptr}
 the graph to be triangulated More...
 
const NodeProperty< Size > * domain_sizes_ {nullptr}
 the domain sizes of the variables/nodes More...
 
NodeProperty< doublelog_domain_sizes_
 the log of the domain sizes of the variables/nodes More...
 

Detailed Description

An efficient unconstrained elimination sequence algorithm.

Class DefaultEliminationSequenceStrategy implements an unconstrained elimination sequence algorithm (that is, there is no external constraint on the possible elimination ordering). The ordering is determined as follows:

the nodes that are simplicial (i.e., those that already form a clique

with their neighbors) are eliminated first

then the nodes that are almost simplicial (i.e., if we remove one of

their neighbors, they become simplicial) and that create small cliques,

are eliminated

the quasi simplicial nodes (i.e., the nodes that do not require many

fill-ins to create cliques) that would create small cliques, are eliminated

finally, the heuristic proposed by Kjaerulff(90) is used to compute the

last nodes to be eliminated.

Definition at line 75 of file defaultEliminationSequenceStrategy.h.

Constructor & Destructor Documentation

◆ DefaultEliminationSequenceStrategy() [1/4]

gum::DefaultEliminationSequenceStrategy::DefaultEliminationSequenceStrategy ( double  theRatio = GUM_QUASI_RATIO,
double  theThreshold = GUM_WEIGHT_THRESHOLD 
)

default constructor (uses an empty graph)

Parameters
theRatiothe ratio used by the SimplicialSet included in the DefaultEliminationSequenceStrategy
theThresholdthe weight threshhold of the SimplicialSet included in the DefaultEliminationSequenceStrategy

Definition at line 35 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

36  :
37  _simplicial_ratio_(theRatio),
38  _simplicial_threshold_(theThreshold) {
39  GUM_CONSTRUCTOR(DefaultEliminationSequenceStrategy);
40  }
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
+ Here is the call graph for this function:

◆ DefaultEliminationSequenceStrategy() [2/4]

gum::DefaultEliminationSequenceStrategy::DefaultEliminationSequenceStrategy ( UndiGraph graph,
const NodeProperty< Size > *  dom_sizes,
double  ratio = GUM_QUASI_RATIO,
double  threshold = GUM_WEIGHT_THRESHOLD 
)

constructor for an a priori non empty graph

Parameters
graphthe graph to be triangulated, i.e., the nodes of which will be eliminated
dom_sizesthe domain sizes of the nodes to be eliminated
ratiothe ratio used by the SimplicialSet included in the DefaultEliminationSequenceStrategy
thresholdthe weight threshhold of the SimplicialSet included in the DefaultEliminationSequenceStrategy
Warning
Note that we allow dom_sizes to be defined over nodes/variables that do not belong to graph. These sizes will simply be ignored. However, it is compulsory that all the nodes of graph belong to dom_sizes
the graph is altered during the triangulation.
note that, by aGrUM's rule, the graph and the domain sizes are not copied but only referenced by the elimination sequence algorithm.

Definition at line 43 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

47  :
48  _simplicial_ratio_(ratio),
49  _simplicial_threshold_(threshold) {
50  setGraph(graph, domain_sizes);
51 
52  GUM_CONSTRUCTOR(DefaultEliminationSequenceStrategy);
53  }
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
UndiGraph * graph() const noexcept
returns the current graph
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
virtual bool setGraph(UndiGraph *graph, const NodeProperty< Size > *dom_sizes) final
sets a new graph to be triangulated
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
+ Here is the call graph for this function:

◆ DefaultEliminationSequenceStrategy() [3/4]

gum::DefaultEliminationSequenceStrategy::DefaultEliminationSequenceStrategy ( const DefaultEliminationSequenceStrategy from)

copy constructor

Warning
The newly created elimination sequence strategy points toward the same undirected graph as the one contained in from but each strategy possesses its own simplicial set. As a result, if both elimination strategies are used at the same time, they will probably result in a mess because their simplicial sets won't be synchronized correctly with the changing undirected graph. So, whenever using this copy constructor, be sure that either from or the newly created strategy is used for a triangulation but not both. This will necessarily be OK in DefaultTriangulations.

Definition at line 56 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

57  :
59  // no need to set _log_weights_ because the copy of the simplicial set
60  // will set it properly
61  _simplicial_set_(new SimplicialSet(*from._simplicial_set_,
62  graph_,
65  false)),
66  _simplicial_ratio_(from._simplicial_ratio_),
67  _simplicial_threshold_(from._simplicial_threshold_),
68  _provide_fill_ins_(from._provide_fill_ins_) {
70  }
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
NodeProperty< double > _log_weights_
for each node, the weight of the clique created by the node&#39;s elimination
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
NodeProperty< double > log_domain_sizes_
the log of the domain sizes of the variables/nodes
bool _provide_fill_ins_
indicates whether we compute new fill-ins
UndiGraph * graph_
the graph to be triangulated
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
+ Here is the call graph for this function:

◆ DefaultEliminationSequenceStrategy() [4/4]

gum::DefaultEliminationSequenceStrategy::DefaultEliminationSequenceStrategy ( DefaultEliminationSequenceStrategy &&  from)

move constructor

Definition at line 73 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

74  :
76  _log_weights_(std::move(from._log_weights_)), _simplicial_set_(from._simplicial_set_),
77  _simplicial_ratio_(from._simplicial_ratio_),
78  _simplicial_threshold_(from._simplicial_threshold_),
79  _provide_fill_ins_(from._provide_fill_ins_) {
80  _simplicial_set_->replaceLogWeights(&from._log_weights_, &_log_weights_);
81  from._simplicial_set_ = nullptr;
82 
84  }
void replaceLogWeights(NodeProperty< double > *old_weigths, NodeProperty< double > *new_weights)
reassigns a new set of cliques&#39; log weights (with the same content)
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
NodeProperty< double > _log_weights_
for each node, the weight of the clique created by the node&#39;s elimination
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
bool _provide_fill_ins_
indicates whether we compute new fill-ins
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
+ Here is the call graph for this function:

◆ ~DefaultEliminationSequenceStrategy()

gum::DefaultEliminationSequenceStrategy::~DefaultEliminationSequenceStrategy ( )
virtual

destructor

Definition at line 87 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

87  {
88  GUM_DESTRUCTOR(DefaultEliminationSequenceStrategy);
89 
90  if (_simplicial_set_ != nullptr) delete _simplicial_set_;
91  }
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
+ Here is the call graph for this function:

Member Function Documentation

◆ _createSimplicialSet_()

void gum::DefaultEliminationSequenceStrategy::_createSimplicialSet_ ( )
private

create a new simplicial set suited for the current graph

Definition at line 105 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

105  {
106  // remove the old simplicial set, if any
107  if (_simplicial_set_ != nullptr) {
108  delete _simplicial_set_;
109  _simplicial_set_ = nullptr;
110  }
111 
112  if (graph_ != nullptr) {
113  // create a simplicial set suited for the graph
114  _simplicial_set_ = new SimplicialSet(graph_,
116  &_log_weights_,
119 
121  }
122  }
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
NodeProperty< double > _log_weights_
for each node, the weight of the clique created by the node&#39;s elimination
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
NodeProperty< double > log_domain_sizes_
the log of the domain sizes of the variables/nodes
bool _provide_fill_ins_
indicates whether we compute new fill-ins
UndiGraph * graph_
the graph to be triangulated
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
void setFillIns(bool on_off)
sets/unset the fill-ins storage in the standard triangulation procedure
+ Here is the call graph for this function:

◆ askFillIns()

void gum::DefaultEliminationSequenceStrategy::askFillIns ( bool  do_it)
finalvirtual

if the elimination sequence is able to compute fill-ins, we indicate whether we want this feature to be activated

Parameters
do_itwhen true and the elimination sequence has the ability to compute fill-ins, the elimination sequence will actually compute them (for the triangulation to use them), else they will not be available.

Implements gum::EliminationSequenceStrategy.

Definition at line 183 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

183  {
184  _provide_fill_ins_ = do_it;
185 
187  }
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
bool _provide_fill_ins_
indicates whether we compute new fill-ins
void setFillIns(bool on_off)
sets/unset the fill-ins storage in the standard triangulation procedure
+ Here is the call graph for this function:

◆ clear()

void gum::DefaultEliminationSequenceStrategy::clear ( )
finalvirtual

clears the sequence (to prepare, for instance, a new elimination sequence)

Reimplemented from gum::EliminationSequenceStrategy.

Definition at line 136 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

136  {
138 
139  _log_weights_.clear();
140  if (_simplicial_set_ != nullptr) {
141  delete _simplicial_set_;
142  _simplicial_set_ = nullptr;
143  }
144  }
virtual void clear()
clears the sequence (to prepare, for instance, a new elimination sequence)
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
NodeProperty< double > _log_weights_
for each node, the weight of the clique created by the node&#39;s elimination
+ Here is the call graph for this function:

◆ copyFactory()

DefaultEliminationSequenceStrategy * gum::DefaultEliminationSequenceStrategy::copyFactory ( ) const
finalvirtual

virtual copy constructor

Warning
The newly created elimination sequence strategy points toward the same undirected graph as the one contained in the current strategy but each strategy possesses its own simplicial set. As a result, if both elimination strategies are used at the same time, they will probably result in a mess because their simplicial sets won't be synchronized correctly with the changing undirected graph. So, whenever using this virtual copy constructor, be sure that either the current or the newly created strategy is used for a triangulation but not both. This will necessarily be OK in DefaultTriangulations.

Implements gum::UnconstrainedEliminationSequenceStrategy.

Definition at line 100 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

100  {
101  return new DefaultEliminationSequenceStrategy(*this);
102  }
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
+ Here is the call graph for this function:

◆ domainSizes()

INLINE const NodeProperty< Size > * gum::EliminationSequenceStrategy::domainSizes ( ) const
noexceptinherited

returns the current domain sizes

Definition at line 40 of file eliminationSequenceStrategy_inl.h.

References gum::Set< Key, Alloc >::emplace().

40  {
41  return domain_sizes_;
42  }
const NodeProperty< Size > * domain_sizes_
the domain sizes of the variables/nodes
+ Here is the call graph for this function:

◆ eliminationUpdate()

void gum::DefaultEliminationSequenceStrategy::eliminationUpdate ( const NodeId  node)
finalvirtual

performs all the graph/fill-ins updates provided (if any)

performs all the graph/fill-ins updates provided

Parameters
nodethe node the elimination of which requires the graph update

Reimplemented from gum::EliminationSequenceStrategy.

Definition at line 199 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

199  {
200  if (_simplicial_set_ != nullptr) {
203  }
204  }
void makeClique(const NodeId id)
adds the necessary edges so that node &#39;id&#39; and its neighbors form a clique
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
void eraseClique(const NodeId id)
removes a node and its adjacent edges from the underlying graph
+ Here is the call graph for this function:

◆ fillIns()

const EdgeSet & gum::DefaultEliminationSequenceStrategy::fillIns ( )
finalvirtual

in case fill-ins are provided, this function returns the fill-ins due to all the nodes eliminated so far

in case fill-ins are provided, this function returns the fill-ins generated after the last node elimination

Reimplemented from gum::EliminationSequenceStrategy.

Definition at line 208 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

208  {
209  if (!_provide_fill_ins_ || (_simplicial_set_ == nullptr))
211  else
212  return _simplicial_set_->fillIns();
213  }
virtual const EdgeSet & fillIns()
in case fill-ins are provided, this function returns the fill-ins due to all the nodes eliminated so ...
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
bool _provide_fill_ins_
indicates whether we compute new fill-ins
const EdgeSet & fillIns() const
returns the set of all the fill-ins added to the graph so far
+ Here is the call graph for this function:

◆ graph()

INLINE UndiGraph * gum::EliminationSequenceStrategy::graph ( ) const
noexceptinherited

returns the current graph

Definition at line 36 of file eliminationSequenceStrategy_inl.h.

References gum::Set< Key, Alloc >::emplace().

36 { return graph_; }
UndiGraph * graph_
the graph to be triangulated
+ Here is the call graph for this function:

◆ newFactory()

DefaultEliminationSequenceStrategy * gum::DefaultEliminationSequenceStrategy::newFactory ( ) const
finalvirtual

creates a new elimination sequence of the same type as the current object, but this sequence contains only an empty graph

Warning
you must deallocate by yourself the object returned
Returns
an empty clone of the current object with the same type

Implements gum::UnconstrainedEliminationSequenceStrategy.

Definition at line 95 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

95  {
97  }
DefaultEliminationSequenceStrategy(double theRatio=GUM_QUASI_RATIO, double theThreshold=GUM_WEIGHT_THRESHOLD)
default constructor (uses an empty graph)
double _simplicial_ratio_
the ratio used by simplicial_set for its quasi-simplicial nodes
double _simplicial_threshold_
the threshold used by simplicial_set to determine small cliques
+ Here is the call graph for this function:

◆ nextNodeToEliminate()

NodeId gum::DefaultEliminationSequenceStrategy::nextNodeToEliminate ( )
finalvirtual

returns the new node to be eliminated within the triangulation algorithm

Exceptions
NotFoundexception is thrown if there is no more node to eliminate in the graph

Implements gum::EliminationSequenceStrategy.

Definition at line 147 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

147  {
148  // if there is no simplicial set, send an exception
149  if (graph_ == nullptr) { GUM_ERROR(NotFound, "the graph is empty") }
150 
151  // select a node to be eliminated: try simplicial nodes, then almost
152  // simplicial nodes, then quasi-simplicial nodes
153  // note that if _graph_ != 0, _simplicial_set_ has been allocated
160  else {
161  // here: select the node through Kjaerulff's heuristic
162  auto iter_heuristic = _log_weights_.cbegin();
163 
164  if (iter_heuristic == _log_weights_.cend())
165  GUM_ERROR(NotFound, "there exists no more node to eliminate")
166 
167  double min_weight = iter_heuristic.val();
168  NodeId removable_node = iter_heuristic.key();
169  for (++iter_heuristic; iter_heuristic != _log_weights_.cend(); ++iter_heuristic) {
170  if (iter_heuristic.val() < min_weight) {
171  removable_node = iter_heuristic.key();
172  min_weight = iter_heuristic.val();
173  }
174  }
175 
176  return removable_node;
177  }
178  }
NodeId bestQuasiSimplicialNode()
gets a quasi simplicial node with the lowest clique weight
bool hasQuasiSimplicialNode()
indicates whether there exists a quasi simplicial node
bool hasAlmostSimplicialNode()
indicates whether there exists an almost simplicial node
SimplicialSet * _simplicial_set_
the simplicial set used for determining the best nodes to eliminate
NodeProperty< double > _log_weights_
for each node, the weight of the clique created by the node&#39;s elimination
bool hasSimplicialNode()
indicates whether there exists a simplicial node
NodeId bestAlmostSimplicialNode()
gets the almost simplicial node with the lowest clique weight
NodeId bestSimplicialNode()
returns the simplicial node with the lowest clique weight
UndiGraph * graph_
the graph to be triangulated
Size NodeId
Type for node ids.
Definition: graphElements.h:97
#define GUM_ERROR(type, msg)
Definition: exceptions.h:51
+ Here is the call graph for this function:

◆ providesFillIns()

bool gum::DefaultEliminationSequenceStrategy::providesFillIns ( ) const
finalvirtual

indicates whether the fill-ins generated by the eliminated nodes, if needed, will be computed by the elimination sequence, or need be computed by the triangulation itself.

indicates whether the new fill-ins generated by a new eliminated node, if needed, will be computed by the elimination sequence, or need be computed by the triangulation itself.

An elimination sequence provides fill-ins to its triangulation if and only if it has the ability to compute them and it has been asked to do so (by method askFillIns)

Implements gum::EliminationSequenceStrategy.

Definition at line 192 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

192 { return _provide_fill_ins_; }
bool _provide_fill_ins_
indicates whether we compute new fill-ins
+ Here is the call graph for this function:

◆ providesGraphUpdate()

bool gum::DefaultEliminationSequenceStrategy::providesGraphUpdate ( ) const
finalvirtual

indicates whether the elimination sequence updates by itself the graph after a node has been eliminated

Some algorithms have more informations than the triangulation algorithm to update the graph after a node has been eliminated. They can thus exploit these informations to update the graph faster than the triangulation. Hence the latter should delegate this operation to the elimination sequence. This is the case, for instance, for the defaultEliminationSequence, which uses a SimplicialSet that knows that some eliminated nodes do not require any fill-in.

Implements gum::EliminationSequenceStrategy.

Definition at line 196 of file defaultEliminationSequenceStrategy.cpp.

196 { return true; }

◆ setGraph()

bool gum::DefaultEliminationSequenceStrategy::setGraph ( UndiGraph graph,
const NodeProperty< Size > *  dom_sizes 
)
finalvirtual

sets a new graph to be triangulated

The elimination sequence algorithm reinitializes its data to start a new triangulation with Graph "graph"

Parameters
graphthe new graph to be triangulated
dom_sizesthe domain sizes of the variables/nodes
Returns
true if the data structures were modified (if the graph or the
Warning
Note that we allow dom_sizes to be defined over nodes/variables that do not belong to graph. These sizes will simply be ignored. However, it is compulsory that all the nodes of graph belong to dom_sizes
the graph is altered during the triangulation.
note that, by aGrUM's rule, the graph and the domain sizes are not copied but only referenced by the elimination sequence algorithm.

Reimplemented from gum::EliminationSequenceStrategy.

Definition at line 125 of file defaultEliminationSequenceStrategy.cpp.

References gum::Set< Key, Alloc >::emplace().

126  {
129  return true;
130  }
131 
132  return false;
133  }
UndiGraph * graph() const noexcept
returns the current graph
void _createSimplicialSet_()
create a new simplicial set suited for the current graph
virtual bool setGraph(UndiGraph *graph, const NodeProperty< Size > *dom_sizes)
sets a new graph to be triangulated
+ Here is the call graph for this function:

Member Data Documentation

◆ _log_weights_

NodeProperty< double > gum::DefaultEliminationSequenceStrategy::_log_weights_
private

for each node, the weight of the clique created by the node's elimination

Definition at line 219 of file defaultEliminationSequenceStrategy.h.

◆ _provide_fill_ins_

bool gum::DefaultEliminationSequenceStrategy::_provide_fill_ins_ {false}
private

indicates whether we compute new fill-ins

Definition at line 231 of file defaultEliminationSequenceStrategy.h.

◆ _simplicial_ratio_

double gum::DefaultEliminationSequenceStrategy::_simplicial_ratio_
private

the ratio used by simplicial_set for its quasi-simplicial nodes

Definition at line 225 of file defaultEliminationSequenceStrategy.h.

◆ _simplicial_set_

SimplicialSet* gum::DefaultEliminationSequenceStrategy::_simplicial_set_ {nullptr}
private

the simplicial set used for determining the best nodes to eliminate

Definition at line 222 of file defaultEliminationSequenceStrategy.h.

◆ _simplicial_threshold_

double gum::DefaultEliminationSequenceStrategy::_simplicial_threshold_
private

the threshold used by simplicial_set to determine small cliques

Definition at line 228 of file defaultEliminationSequenceStrategy.h.

◆ domain_sizes_

const NodeProperty< Size >* gum::EliminationSequenceStrategy::domain_sizes_ {nullptr}
protectedinherited

the domain sizes of the variables/nodes

Definition at line 158 of file eliminationSequenceStrategy.h.

◆ graph_

UndiGraph* gum::EliminationSequenceStrategy::graph_ {nullptr}
protectedinherited

the graph to be triangulated

Definition at line 155 of file eliminationSequenceStrategy.h.

◆ log_domain_sizes_

NodeProperty< double > gum::EliminationSequenceStrategy::log_domain_sizes_
protectedinherited

the log of the domain sizes of the variables/nodes

Definition at line 161 of file eliminationSequenceStrategy.h.


The documentation for this class was generated from the following files: