GClasses
GClasses::GSoftImpulseDistribution Class Reference

#include <GDistribution.h>

Inheritance diagram for GClasses::GSoftImpulseDistribution:
GClasses::GUnivariateDistribution GClasses::GDistribution

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

Constructor & Destructor Documentation

GClasses::GSoftImpulseDistribution::GSoftImpulseDistribution ( )
inline
virtual GClasses::GSoftImpulseDistribution::~GSoftImpulseDistribution ( )
inlinevirtual

Member Function Documentation

double GClasses::GSoftImpulseDistribution::cdf ( double  x) const

Returns the cumulative distribution of this distribution up to x.

virtual bool GClasses::GSoftImpulseDistribution::isDiscrete ( ) const
inlinevirtual

Returns true.

Implements GClasses::GUnivariateDistribution.

virtual bool GClasses::GSoftImpulseDistribution::isSupported ( double  x) const
inlinevirtual

Returns true iff 0 <= x <= 1.

Implements GClasses::GUnivariateDistribution.

virtual double GClasses::GSoftImpulseDistribution::likelihood ( double  x)
virtual
virtual double GClasses::GSoftImpulseDistribution::logLikelihood ( double  x)
virtual
double GClasses::GSoftImpulseDistribution::mean ( ) const
inline

Returns the mean.

virtual double GClasses::GSoftImpulseDistribution::mode ( ) const
inlinevirtual

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
inlinevirtual

Returns the type of distribution.

Implements GClasses::GUnivariateDistribution.

Member Data Documentation

double GClasses::GSoftImpulseDistribution::m_steepness
protected