48#ifndef GUM_DISCRETE_GRAPHICAL_MODEL_H
49#define GUM_DISCRETE_GRAPHICAL_MODEL_H
NodeId idFromName(std::string_view name) const override
Returns the NodeId of a variable given its name.
~DiscreteGraphicalModel() override
DiscreteGraphicalModel & operator=(const DiscreteGraphicalModel &source)
const VariableNodeMap & variableNodeMap() const override
Returns a constant reference to the VariableNodeMap of this model.
const DiscreteVariable & variableFromName(std::string_view name) const override
Returns a constant reference over a variable given its name.
VariableNodeMap varMap_
Mapping between NodeIds and discrete variables.
NodeId nodeId(const DiscreteVariable &var) const override
Returns the NodeId of a variable.
const DiscreteVariable & variable(NodeId id) const override
Returns a constant reference over a variable given its node id.
Base class for discrete random variable.
GraphicalModel()
Default constructor.
Container used to map discrete variables with nodes.
Class representing probabilistic DAG model.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities