aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
structuralConstraintPossibleEdges.cpp
Go to the documentation of this file.
1 
31 
33 #ifdef GUM_NO_INLINE
35 #endif /* GUM_NO_INLINE */
36 
37 namespace gum {
38 
39  namespace learning {
40 
43  GUM_CONSTRUCTOR(StructuralConstraintPossibleEdges);
44  }
45 
48  const DiGraph& graph) {
49  setGraph(graph);
50  GUM_CONSTRUCTOR(StructuralConstraintPossibleEdges);
51  }
52 
58  }
59 
64  std::move(from._PossibleEdges__possible_edges)) {
66  }
67 
70  GUM_DESTRUCTOR(StructuralConstraintPossibleEdges);
71  }
72 
77  if (this != &from) {
79  }
80  return *this;
81  }
82 
87  if (this != &from) {
89  std::move(from._PossibleEdges__possible_edges);
90  }
91  return *this;
92  }
93 
94  } /* namespace learning */
95 
96 } /* namespace gum */
EdgeSet _PossibleEdges__possible_edges
the PossibleEdges on which we perform checks
the structural constraint for forbidding the creation of some arcs except those defined in the class ...
STL namespace.
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.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
StructuralConstraintPossibleEdges & operator=(const StructuralConstraintPossibleEdges &from)
copy operator
Base class for all oriented graphs.
Definition: diGraph.h:111