31 #ifndef GUM_VARIABLE_H 32 #define GUM_VARIABLE_H 113 void setName(
const std::string& theValue);
117 const std::string& name()
const;
123 void setDescription(
const std::string& theValue)
const;
127 const std::string& description()
const;
131 virtual VarType varType()
const = 0;
134 virtual const std::string domain()
const = 0;
151 Variable(
const std::string& aName,
const std::string& aDesc);
170 #ifndef GUM_NO_INLINE
Base class for every random variable.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::ostream & operator<<(std::ostream &output, const BayesNet< GUM_SCALAR > &bn)
Prints map's DAG in output using the Graphviz-dot format.
bool operator==(const TiXmlString &a, const TiXmlString &b)
std::string __name
the name of the variable
bool operator!=(const TiXmlString &a, const TiXmlString &b)
Variable()
(protected) Default constructor
std::string __description
the description of the variable since description is not a characteristic of a variable, we allow the description to be changed even in a const reference.