aGrUM  0.14.2
variable.h File Reference

Base class for random variable. More...

#include <iostream>
#include <string>
#include <agrum/agrum.h>
#include <agrum/variables/variable_inl.h>
+ Include dependency graph for variable.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::Variable
 Base class for every random variable. More...
 

Namespaces

 gum
 gum is the global namespace for all aGrUM entities
 

Enumerations

enum  gum::VarType : char { gum::VarType::Discretized, gum::VarType::Labelized, gum::VarType::Range, gum::VarType::Continuous }
 

Functions

std::ostream & gum::operator<< (std::ostream &s, const Variable &LDRV)
 for friendly displaying the content of the variable More...
 

Detailed Description

Base class for random variable.

Basically wrapper for a string name and description. This class is used as an interface. So the constructor/destructor is protected.

Author
Pierre-Henri WUILLEMIN

Definition in file variable.h.