|
GClasses
|
#include <GDistribution.h>
Public Member Functions | |
| GSoftImpulseDistribution () | |
| virtual | ~GSoftImpulseDistribution () |
| double | cdf (double x) const |
| Returns the cumulative distribution of this distribution up to x. More... | |
| virtual bool | isDiscrete () const |
| Returns true. More... | |
| virtual bool | isSupported (double x) const |
| Returns true iff 0 <= x <= 1. More... | |
| virtual double | likelihood (double x) |
| See the comment for GUnivariateDistribution::logLikelihood. More... | |
| virtual double | logLikelihood (double x) |
| See the comment for GUnivariateDistribution::likelihood. More... | |
| double | mean () const |
| Returns the mean. More... | |
| virtual double | mode () const |
| Returns the mode. More... | |
| void | setParams (double steepness) |
| Sets the parameter of this distribution. More... | |
| virtual Type | type () const |
| Returns the type of distribution. More... | |
Public Member Functions inherited from GClasses::GUnivariateDistribution | |
| GUnivariateDistribution () | |
| virtual | ~GUnivariateDistribution () |
Protected Attributes | |
| double | m_steepness |
Additional Inherited Members | |
Public Types inherited from GClasses::GUnivariateDistribution | |
| enum | Type { categorical, normal, uniform, poisson, gamma, inverseGamma, beta, softImpulse } |
|
inline |
|
inlinevirtual |
| double GClasses::GSoftImpulseDistribution::cdf | ( | double | x | ) | const |
Returns the cumulative distribution of this distribution up to x.
|
inlinevirtual |
Returns true.
Implements GClasses::GUnivariateDistribution.
|
inlinevirtual |
Returns true iff 0 <= x <= 1.
Implements GClasses::GUnivariateDistribution.
|
virtual |
See the comment for GUnivariateDistribution::logLikelihood.
Implements GClasses::GUnivariateDistribution.
|
virtual |
See the comment for GUnivariateDistribution::likelihood.
Implements GClasses::GUnivariateDistribution.
|
inline |
Returns the mean.
|
inlinevirtual |
Returns the mode.
Implements GClasses::GUnivariateDistribution.
|
inline |
Sets the parameter of this distribution.
|
inlinevirtual |
Returns the type of distribution.
Implements GClasses::GUnivariateDistribution.
|
protected |