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

  PUBLIC
DataSet1BodyC::DataSet1BodyC(UIntT)
DataSet1BodyC::DataSet1BodyC(const SampleT &)
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)

   DataSet1BodyC<class SampleT>   
 
Data set
 
include "Ravl/PatternRec/DataSet1.hh"
Source file:Ravl/PatternRec/DataSet/DataSet1.hh
User Level:Develop
Library:RavlPatternRec
In Scope:RavlN

Parent Classes: Derived Classes: Typedefs:
typedef typename SampleT::ElementT Element1T;

Variables:
SampleT samp1;
the actual data

Methods:
DataSet1BodyC(UIntT sizeEstimate)
Create an empty dataset.

DataSet1BodyC(const SampleT & samp)
Create a dataset from a sample

SampleT & Sample1()
Access sample.

const SampleT & Sample1() const
Access sample.

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

DataSet1C<SampleT> 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