Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IndexedRealVector Class Reference

#include <IndexedReal.hpp>

List of all members.

Public Methods

 IndexedRealVector ()
 IndexedRealVector (int size)
virtual ~IndexedRealVector ()
virtual iterator FindByIndex (int index)
virtual bool IncreaseValueFor (int index, double value)
 increase the value for "index", add the entry if not existing.

virtual void PushValue (int index, double value)
 push a value

virtual void Sort (bool descending=true)
 sort all the values, default is descending order

virtual void NormalizeValues ()
 normalize values in a range (0:1), and sum to 1

virtual void LogToPosterior ()


Constructor & Destructor Documentation

IndexedRealVector::IndexedRealVector   [inline]
 

IndexedRealVector::IndexedRealVector int    size [inline]
 

virtual IndexedRealVector::~IndexedRealVector   [inline, virtual]
 


Member Function Documentation

IndexedRealVector::iterator IndexedRealVector::FindByIndex int    index [virtual]
 

bool IndexedRealVector::IncreaseValueFor int    index,
double    value
[virtual]
 

increase the value for "index", add the entry if not existing.

void IndexedRealVector::LogToPosterior   [virtual]
 

consider input values as log(x), mapping to exp(log(x)), and normalize x values in a range (0:1), and sum to 1

void IndexedRealVector::NormalizeValues   [virtual]
 

normalize values in a range (0:1), and sum to 1

void IndexedRealVector::PushValue int    index,
double    value
[virtual]
 

push a value

void IndexedRealVector::Sort bool    descending = true [virtual]
 

sort all the values, default is descending order


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:39 2004 for Lemur Toolkit by doxygen1.2.18