Gaussian Variables

Representation of a Gaussian variable for the use in CLG models.

class pyAgrum.clg.GaussianVariable(name, mu, sigma)
Parameters:
  • name (str)

  • mu (float)

  • sigma (float)

mu()

Returns the mean of the variable.

Returns:

The mean of the variable.

Return type:

float

name()

Returns the name of the variable.

Returns:

The name of the variable.

Return type:

str

setMu(mu)

Set the mean of the variable.

Parameters:

mu (float) – The new mean of the variable.

setSigma(sigma)

Set the standard deviation of the variable.

Parameters:

sigma (float) – The new standard deviation of the variable.

sigma()

Returns the standard deviation of the variable.

Returns:

The standard deviation of the variable.

Return type:

float