Bayesian Filtering Library Generated from SVN r
Sample< T > Class Template Reference

#include <asirfilter.h>

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

Public Member Functions

 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension=0)
 Constructor.
 
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.
 
Sampleoperator= (const Sample &my_sample)
 Operator =.
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
 Sample (unsigned int dimension)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
void DimensionSet (unsigned int dim)
 
unsigned int DimensionGet () const
 
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.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
template<typename S >
istream & operator>> (istream &stream, Sample< S > &my_sample)
 
template<typename S >
ostream & operator<< (ostream &stream, Sample< S > &my_sample)
 Print a sample.
 
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 particlesmoother.h.

Constructor & Destructor Documentation

◆ Sample() [1/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

Definition at line 108 of file asirfilter.h.

◆ ~Sample()

template<typename T >
~Sample ( )
virtual

Destructor.

Definition at line 113 of file asirfilter.h.

◆ Sample() [2/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

◆ Sample() [3/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

◆ Sample() [4/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

◆ Sample() [5/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

◆ Sample() [6/12]

template<typename T >
Sample ( unsigned int dimension = 0)

Constructor.

Parameters
dimensionof the ColumnVector for the continuous samples. This parameter is ignored in the discrete case.

◆ Sample() [7/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file asirfilter.h.

◆ Sample() [8/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file bootstrapfilter.h.

◆ Sample() [9/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file mixtureBootstrapFilter.h.

◆ Sample() [10/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file mixtureParticleFilter.h.

◆ Sample() [11/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file particlefilter.h.

◆ Sample() [12/12]

Sample ( unsigned int dimension)
inline

Definition at line 31 of file particlesmoother.h.

Member Function Documentation

◆ DimensionGet() [1/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file asirfilter.h.

◆ DimensionGet() [2/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file bootstrapfilter.h.

◆ DimensionGet() [3/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file mixtureBootstrapFilter.h.

◆ DimensionGet() [4/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file mixtureParticleFilter.h.

◆ DimensionGet() [5/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file particlefilter.h.

◆ DimensionGet() [6/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 37 of file particlesmoother.h.

◆ DimensionGet() [7/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file asirfilter.h.

◆ DimensionGet() [8/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file bootstrapfilter.h.

◆ DimensionGet() [9/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file mixtureBootstrapFilter.h.

◆ DimensionGet() [10/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file mixtureParticleFilter.h.

◆ DimensionGet() [11/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file particlefilter.h.

◆ DimensionGet() [12/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 50 of file particlesmoother.h.

◆ DimensionGet() [13/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file asirfilter.h.

◆ DimensionGet() [14/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file bootstrapfilter.h.

◆ DimensionGet() [15/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file mixtureBootstrapFilter.h.

◆ DimensionGet() [16/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file mixtureParticleFilter.h.

◆ DimensionGet() [17/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file particlefilter.h.

◆ DimensionGet() [18/19]

unsigned int DimensionGet ( ) const
inline

Definition at line 63 of file particlesmoother.h.

◆ DimensionGet() [19/19]

template<typename T >
unsigned int DimensionGet ( ) const

Definition at line 145 of file asirfilter.h.

◆ DimensionSet() [1/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file asirfilter.h.

◆ DimensionSet() [2/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file bootstrapfilter.h.

◆ DimensionSet() [3/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file mixtureBootstrapFilter.h.

◆ DimensionSet() [4/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file mixtureParticleFilter.h.

◆ DimensionSet() [5/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file particlefilter.h.

◆ DimensionSet() [6/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 43 of file particlesmoother.h.

◆ DimensionSet() [7/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file asirfilter.h.

◆ DimensionSet() [8/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file bootstrapfilter.h.

◆ DimensionSet() [9/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file mixtureBootstrapFilter.h.

◆ DimensionSet() [10/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file mixtureParticleFilter.h.

◆ DimensionSet() [11/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file particlefilter.h.

◆ DimensionSet() [12/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 56 of file particlesmoother.h.

◆ DimensionSet() [13/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file asirfilter.h.

◆ DimensionSet() [14/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file bootstrapfilter.h.

◆ DimensionSet() [15/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file mixtureBootstrapFilter.h.

◆ DimensionSet() [16/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file mixtureParticleFilter.h.

◆ DimensionSet() [17/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file particlefilter.h.

◆ DimensionSet() [18/19]

void DimensionSet ( unsigned int dim)
inline

Definition at line 69 of file particlesmoother.h.

◆ DimensionSet() [19/19]

template<typename T >
void DimensionSet ( unsigned int dim)

Definition at line 151 of file asirfilter.h.

◆ ValueGet() [1/2]

template<typename T >
T & ValueGet ( )

Get the value of the Sample.

Definition at line 132 of file asirfilter.h.

◆ ValueGet() [2/2]

template<typename T >
const T & ValueGet ( ) const

Get the value of the Sample.

Definition at line 139 of file asirfilter.h.

◆ ValueSet() [1/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

Definition at line 125 of file asirfilter.h.

◆ ValueSet() [2/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

◆ ValueSet() [3/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

◆ ValueSet() [4/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

◆ ValueSet() [5/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

◆ ValueSet() [6/6]

template<typename T >
void ValueSet ( const T & value)

Set the value of the Sample.

Parameters
valuethe value indeed :-)

Friends And Related Symbol Documentation

◆ operator<< [1/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [2/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [3/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [4/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [5/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [6/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

Definition at line 155 of file asirfilter.h.

◆ operator<< [7/7]

template<typename T >
template<typename S >
ostream & operator<< ( ostream & stream,
Sample< S > & my_sample )
friend

Print a sample.

Parameters
streamthe stream to be returned
my_samplethe sample to be printed
Returns
the stream :-)

◆ operator>> [1/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

◆ operator>> [2/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

◆ operator>> [3/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

◆ operator>> [4/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

◆ operator>> [5/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

◆ operator>> [6/6]

template<typename T >
template<typename S >
istream & operator>> ( istream & stream,
Sample< S > & my_sample )
friend

Definition at line 161 of file asirfilter.h.

Member Data Documentation

◆ Value

template<typename T >
T Value
protected

The Sample Value.

Definition at line 51 of file asirfilter.h.


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