bpp-core3  3.0.0
bpp::AbstractDiscreteDistribution::Order Class Reference

Comparator class for AbstractDiscreteDistribution. More...

#include <Bpp/Numeric/Prob/AbstractDiscreteDistribution.h>

Public Member Functions

 Order (double prec=NumConstants::TINY())
 
 Order (const Order &ord)
 
Orderoperator= (const Order &ord)
 
double precision () const
 
void setPrecision (double prec)
 
bool operator() (double l1, double l2) const
 

Private Attributes

double precision_
 

Detailed Description

Comparator class for AbstractDiscreteDistribution.

Definition at line 35 of file AbstractDiscreteDistribution.h.

Constructor & Destructor Documentation

◆ Order() [1/2]

bpp::AbstractDiscreteDistribution::Order::Order ( double  prec = NumConstants::TINY())
inline

Definition at line 41 of file AbstractDiscreteDistribution.h.

◆ Order() [2/2]

bpp::AbstractDiscreteDistribution::Order::Order ( const Order ord)
inline

Definition at line 45 of file AbstractDiscreteDistribution.h.

Member Function Documentation

◆ operator()()

bool bpp::AbstractDiscreteDistribution::Order::operator() ( double  l1,
double  l2 
) const
inline

Definition at line 65 of file AbstractDiscreteDistribution.h.

References precision_.

◆ operator=()

Order& bpp::AbstractDiscreteDistribution::Order::operator= ( const Order ord)
inline

Definition at line 49 of file AbstractDiscreteDistribution.h.

References precision_.

◆ precision()

double bpp::AbstractDiscreteDistribution::Order::precision ( ) const
inline

Definition at line 55 of file AbstractDiscreteDistribution.h.

References precision_.

◆ setPrecision()

void bpp::AbstractDiscreteDistribution::Order::setPrecision ( double  prec)
inline

Definition at line 60 of file AbstractDiscreteDistribution.h.

Member Data Documentation

◆ precision_

double bpp::AbstractDiscreteDistribution::Order::precision_
private

Definition at line 38 of file AbstractDiscreteDistribution.h.

Referenced by operator()(), operator=(), and precision().


The documentation for this class was generated from the following file: