28 #ifndef GUM_LEARNING_IGRAPH_CHANGES_GENERATOR_4_UNDIGRAPH_H 29 #define GUM_LEARNING_IGRAPH_CHANGES_GENERATOR_4_UNDIGRAPH_H 31 #include <agrum/agrum.h> 32 #include <agrum/tools/core/set.h> 33 #include <agrum/tools/graphs/undiGraph.h> 34 #include <agrum/BN/learning/structureUtils/graphChange.h> 67 virtual void setGraph(
const UndiGraph& graph) = 0;
70 virtual void modifyGraph(
const EdgeAddition& change) = 0;
73 virtual void modifyGraph(
const EdgeDeletion& change) = 0;
76 virtual void modifyGraph(
const GraphChange& change) = 0;
virtual void setGraph(const UndiGraph &graph)=0
sets a new graph from which the operator will compute possible changes
INLINE void emplace(Args &&... args)
virtual void notifyGetCompleted()=0
notifies the generator that we have parsed all its legal changes
virtual void clearChanges() noexcept=0
empty the set of possible change operators that can be applied
virtual void modifyGraph(const GraphChange &change)=0
notify the operator set of a change applied to the graph
virtual iterator begin() const =0
returns an (unsafe) iterator on the beginning of the list of operators
virtual const iterator & end() const =0
returns an (unsafe) iterator on the end of the list of operators
Database(const std::string &filename, const BayesNet< GUM_SCALAR > &bn, const std::vector< std::string > &missing_symbols)