Bayesian Filtering Library  Generated from SVN r
Public Member Functions | Protected Attributes | Friends | List of all members
Sample< T > Class Template Reference

#include <asirfilter.h>

Inheritance diagram for Sample< T >:
WeightedSample< T > WeightedSample< T >

Public Member Functions

 Sample (unsigned int dimension=0)
 Constructor. More...
 
virtual ~Sample ()
 Destructor.
 
 Sample (const Sample< T > &my_sample)
 Copy Constructor.
 
T & ValueGet ()
 Get the value of the Sample.
 
const T & ValueGet () const
 Get the value of the Sample.
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
void ValueSet (const T &value)
 Set the value of the Sample. More...
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
template<>
 Sample (unsigned int dimension)
 
template<>
unsigned int DimensionGet () const
 
template<>
void DimensionSet (unsigned int dim)
 
template<>
unsigned int DimensionGet () const
 
template<>
void DimensionSet (unsigned int dim)
 
template<>
unsigned int DimensionGet () const
 
template<>
void DimensionSet (unsigned int dim)
 

Protected Attributes

Value
 The Sample Value.
 

Friends

template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample. More...
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 

Detailed Description

template<typename T>
class BFL::BFL::Sample< T >

Template Class representing a basic sample of a continuous or discrete pdf

Definition at line 47 of file asirfilter.h.


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