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

  PUBLIC
DataSet1C::DataSet1C(void)
DataSet1C::DataSet1C(UIntT)
DataSet1C::DataSet1C(const SampleT &)
DataSet1C::DataSet1C(DataSet1BodyC &)
DataSet1C::Body(void)
DataSet1C::Body(void) const
DataSet1C::Sample1(void)
DataSet1C::Sample1(void) const
DataSet1C::Append(const Element1T &)
DataSet1C::ExtractSample(RealT)
DataSet1C::Size(void) const
DataSetBaseC::Body(void)
DataSetBaseC::Body(void) const
DataSetBaseC::Shuffle(void)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

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

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

Methods:
DataSet1C()
Default constructor.

DataSet1C(UIntT sizeEstimate)
Default constructor.

DataSet1C(const SampleT & dat)
Create a dataset from a sample

DataSet1C(DataSet1BodyC<SampleT> & bod)
Body constructor.

DataSet1BodyC<SampleT> & Body()
Access body.

const DataSet1BodyC<SampleT> & Body() const
Access body.

SampleT & Sample1()
Access complete sample.

const SampleT & Sample1() const
Access complete 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.

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

#include "Ravl/PatternRec/DataSetBase.hh"
DataSetBaseBodyC & Body()
Access body.

const DataSetBaseBodyC & Body() const
Access body.

void Shuffle()
Shuffle the order of the dataset.
This is an in place operation.

#include "Ravl/RefCounter.hh"
const RCHandleC<DataSetBaseBodyC> & operator =(const RCHandleC<DataSetBaseBodyC> & oth)
Assign handle.

RCHandleC<DataSetBaseBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<DataSetBaseBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<DataSetBaseBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

DataSetBaseBodyC & Body()
Access body of object.

const DataSetBaseBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<DataSetBaseBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<DataSetBaseBodyC> & obj)


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