Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

bmrf_pwl_gamma_func Class Reference

#include <bmrf_gamma_func.h>

Inheritance diagram for bmrf_pwl_gamma_func:

Inheritance graph
[legend]
List of all members.

Detailed Description

A piecewise linear gamma function.

Definition at line 95 of file bmrf_gamma_func.h.

Public Member Functions

 bmrf_pwl_gamma_func (const bmrf_epi_seg_sptr &ep1, const bmrf_epi_seg_sptr &ep2, double t=1.0)
 Constructor.
virtual double mean (double=1.0) const
 Return the average gamma value at time t.
double operator() (double alpha, double t=1.0) const
 Return the gamma value for any alpha and time t.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Member Functions

virtual double value (double alpha, double) const
 Return the gamma value for any alpha and time t.

Private Attributes

vcl_map< double, double > knots_
 The knots.


Constructor & Destructor Documentation

bmrf_pwl_gamma_func::bmrf_pwl_gamma_func const bmrf_epi_seg_sptr ep1,
const bmrf_epi_seg_sptr ep2,
double  t = 1.0
 

Constructor.

Definition at line 13 of file bmrf_gamma_func.cxx.


Member Function Documentation

double bmrf_pwl_gamma_func::mean double  = 1.0  )  const [virtual]
 

Return the average gamma value at time t.

Here, this value is independent of t

Implements bmrf_gamma_func.

Definition at line 32 of file bmrf_gamma_func.cxx.

double bmrf_gamma_func::operator() double  alpha,
double  t = 1.0
const [inline, inherited]
 

Return the gamma value for any alpha and time t.

Calls a pure virtual function

Definition at line 32 of file bmrf_gamma_func.h.

double bmrf_pwl_gamma_func::value double  alpha,
double 
const [protected, virtual]
 

Return the gamma value for any alpha and time t.

Here, this value is independent of t

Implements bmrf_gamma_func.

Definition at line 49 of file bmrf_gamma_func.cxx.


Member Data Documentation

vcl_map<double, double> bmrf_pwl_gamma_func::knots_ [private]
 

The knots.

Definition at line 115 of file bmrf_gamma_func.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:51:56 2008 for contrib/brl/bseg/bmrf by  doxygen 1.4.4