aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
structuralConstraintForbiddenArcs.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(StructuralConstraintForbiddenArcs);
44  }
45 
48  const DiGraph& graph) {
49  setGraph(graph);
50  GUM_CONSTRUCTOR(StructuralConstraintForbiddenArcs);
51  }
52 
58  }
59 
64  std::move(from._ForbiddenArcs__forbidden_arcs)) {
66  }
67 
70  GUM_DESTRUCTOR(StructuralConstraintForbiddenArcs);
71  }
72 
77  if (this != &from) {
79  }
80  return *this;
81  }
82 
87  if (this != &from) {
89  std::move(from._ForbiddenArcs__forbidden_arcs);
90  }
91  return *this;
92  }
93 
94  } /* namespace learning */
95 
96 } /* namespace gum */
the structural constraint for forbidding the creation of some arcs during structure learning ...
ArcSet _ForbiddenArcs__forbidden_arcs
the ForbiddenArcs on which we perform checks
StructuralConstraintForbiddenArcs & operator=(const StructuralConstraintForbiddenArcs &from)
copy operator
STL namespace.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Base class for all oriented graphs.
Definition: diGraph.h:111
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.