GClasses
|
#include <GDistribution.h>
Public Member Functions | |
GSoftImpulseDistribution () | |
virtual | ~GSoftImpulseDistribution () |
virtual Type | type () const |
Returns the type of distribution. | |
virtual bool | isDiscrete () const |
Returns true. | |
virtual bool | isSupported (double x) const |
Returns true iff 0 <= x <= 1. | |
virtual double | mode () const |
Returns the mode. | |
virtual double | likelihood (double x) |
See the comment for GUnivariateDistribution::logLikelihood. | |
virtual double | logLikelihood (double x) |
See the comment for GUnivariateDistribution::likelihood. | |
void | setParams (double steepness) |
Sets the parameter of this distribution. | |
double | mean () const |
Returns the mean. | |
double | cdf (double x) const |
Returns the cumulative distribution of this distribution up to x. | |
Protected Attributes | |
double | m_steepness |
GClasses::GSoftImpulseDistribution::GSoftImpulseDistribution | ( | ) | [inline] |
virtual GClasses::GSoftImpulseDistribution::~GSoftImpulseDistribution | ( | ) | [inline, virtual] |
double GClasses::GSoftImpulseDistribution::cdf | ( | double | x | ) | const |
Returns the cumulative distribution of this distribution up to x.
virtual bool GClasses::GSoftImpulseDistribution::isDiscrete | ( | ) | const [inline, virtual] |
Returns true.
Implements GClasses::GUnivariateDistribution.
virtual bool GClasses::GSoftImpulseDistribution::isSupported | ( | double | x | ) | const [inline, virtual] |
Returns true iff 0 <= x <= 1.
Implements GClasses::GUnivariateDistribution.
virtual double GClasses::GSoftImpulseDistribution::likelihood | ( | double | x | ) | [virtual] |
See the comment for GUnivariateDistribution::logLikelihood.
Implements GClasses::GUnivariateDistribution.
virtual double GClasses::GSoftImpulseDistribution::logLikelihood | ( | double | x | ) | [virtual] |
See the comment for GUnivariateDistribution::likelihood.
Implements GClasses::GUnivariateDistribution.
double GClasses::GSoftImpulseDistribution::mean | ( | ) | const [inline] |
Returns the mean.
virtual double GClasses::GSoftImpulseDistribution::mode | ( | ) | const [inline, virtual] |
Returns the mode.
Implements GClasses::GUnivariateDistribution.
void GClasses::GSoftImpulseDistribution::setParams | ( | double | steepness | ) | [inline] |
Sets the parameter of this distribution.
virtual Type GClasses::GSoftImpulseDistribution::type | ( | ) | const [inline, virtual] |
Returns the type of distribution.
Implements GClasses::GUnivariateDistribution.
double GClasses::GSoftImpulseDistribution::m_steepness [protected] |