aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
variable.h File Reference

Base class for random variable. More...

#include <iostream>
#include <string>
#include <agrum/agrum.h>
#include <agrum/base/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

namespace  gum
 gum is the global namespace for all aGrUM entities

Enumerations

enum class  gum::VarType : char {
  gum::DISCRETIZED , gum::LABELIZED , gum::INTEGER , gum::NUMERICAL ,
  gum::RANGE , gum::CONTINUOUS
}

Functions

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

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(_at_LIP6)

Definition in file variable.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const gum::Variable & LDRV )

for friendly displaying the content of the variable