aGrUM  0.14.2
unconstrainedTriangulation.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Christophe GONZALES and Pierre-Henri WUILLEMIN *
3  * {prenom.nom}_at_lip6.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
27 #include <agrum/agrum.h>
30 
31 namespace gum {
32 
33  // default constructor
36  const JunctionTreeStrategy& JTStrategy,
37  bool minimality) :
38  StaticTriangulation(elimSeq, JTStrategy, minimality) {
39  // for debugging purposes
40  GUM_CONSTRUCTOR(UnconstrainedTriangulation);
41  }
42 
43  // constructor with a given graph
45  const UndiGraph* theGraph,
46  const NodeProperty< Size >* domsizes,
48  const JunctionTreeStrategy& JTStrategy,
49  bool minimality) :
50  StaticTriangulation(theGraph, domsizes, elimSeq, JTStrategy, minimality) {
51  // for debugging purposes
52  GUM_CONSTRUCTOR(UnconstrainedTriangulation);
53  }
54 
57  const UnconstrainedTriangulation& from) :
58  StaticTriangulation(from) {
59  // for debugging purposes
60  GUM_CONS_CPY(UnconstrainedTriangulation);
61  }
62 
66  StaticTriangulation(std::move(from)) {
67  // for debugging purposes
68  GUM_CONS_MOV(UnconstrainedTriangulation);
69  }
70 
73  // for debugging purposes
74  GUM_DESTRUCTOR(UnconstrainedTriangulation);
75  }
76 
77 } /* namespace gum */
STL namespace.
Interface for all triangulation methods without constraints on node elimination orderings.
base class for graph triangulations without constraints on nodes elimination ordering.
gum is the global namespace for all aGrUM entities
Definition: agrum.h:25
UnconstrainedTriangulation(const UnconstrainedEliminationSequenceStrategy &elimSeq, const JunctionTreeStrategy &JTStrategy, bool minimality=false)
default constructor
The class for generic Hash Tables.
Definition: hashTable.h:676
Base Class for all elimination sequence algorithms that require only the graph to be triangulated and...
Base Class for all the algorithms producing a junction given a set of cliques/subcliques resulting fr...
base class for all non-incremental triangulation methods
Base class for undirected graphs.
Definition: undiGraph.h:106
The base class for all elimination sequence algorithms that require only the graph to be triangulated...