Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Pattern Recognition - Data Set - DataSet2BodyC<class Sample1T,class Sample2T>
 

  PUBLIC
DataSet2BodyC::DataSet2BodyC(UIntT)
DataSet2BodyC::DataSet2BodyC(const Sample1T &,const Sample2T &)
DataSet2BodyC::Append(const Element1T &,const Element2T &)
DataSet2BodyC::ExtractSample(RealT)
DataSet2BodyC::Sample2(void)
DataSet2BodyC::Sample2(void) const
DataSet2BodyC::Shuffle(void)
DataSet1BodyC::Sample1(void)
DataSet1BodyC::Sample1(void) const
DataSet1BodyC::Append(const Element1T &)
DataSet1BodyC::ExtractSample(RealT)
DataSet1BodyC::Shuffle(void)
DataSet1BodyC::Size(void) const
DataSetBaseBodyC::RandomIndexSet(UIntT)
DataSetBaseBodyC::Shuffle(void)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DataSet2BodyC<class Sample1T,class Sample2T>   
 
Data set
 
include "Ravl/PatternRec/DataSet2.hh"
Source file:Ravl/PatternRec/DataSet/DataSet2.hh
User Level:Develop
Library:RavlPatternRec
In Scope:RavlN

Parent Classes: Derived Classes: Typedefs:
typedef typename Sample2T::ElementT Element2T;

Variables:
Sample2T samp2;
the actual data

Methods:
DataSet2BodyC(UIntT sizeEstimate)
Constructor.

DataSet2BodyC(const Sample1T & samp1,const Sample2T & samp2)
Create a dataset from a sample

UIntT Append(const Element1T & data1,const Element2T & data2)
Append a data entry.
returns its index.

DataSet2C<Sample1T,Sample2T> ExtractSample(RealT proportion)
Extract a sample.
The elements are removed from this set. NB. The order of this dataset is NOT preserved.

Sample2T & Sample2()
Access complete sample.

const Sample2T & Sample2() const
Access complete sample.

void Shuffle()
Shuffle the order of the dataset.

#include "Ravl/PatternRec/DataSet1.hh"
Sample1T & Sample1()
Access sample.

const Sample1T & Sample1() const
Access sample.

UIntT Append(const Element1T & data)
Append a data entry.
returns its index.

DataSet1C<Sample1T> ExtractSample(RealT proportion)
Extract a sample.
The elements are removed from this set. NB. The order of this dataset is NOT preserved.

void Shuffle()
Shuffle the order of the dataset.

UIntT Size() const
Get the size of the dataset.

#include "Ravl/PatternRec/DataSetBase.hh"
static CollectionC<UIntT> RandomIndexSet(UIntT size)
Generate a random index set from this collection of with the given size.
Size is limited to the size of this set.

void Shuffle()
Shuffle the order of the dataset.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Kieron Messer, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002