Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::RemoveDuplicateVMatrix Class Reference

#include <RemoveDuplicateVMatrix.h>

Inheritance diagram for PLearn::RemoveDuplicateVMatrix:

Inheritance graph
[legend]
Collaboration diagram for PLearn::RemoveDuplicateVMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RemoveDuplicateVMatrix ()
 Default constructor.

virtual void build ()
 Should call simply inherited::build(), then this class's build_().

virtual void makeDeepCopyFromShallowCopy (map< const void *, void * > &copies)
 Transforms a shallow copy into a deep copy.

 PLEARN_DECLARE_OBJECT (RemoveDuplicateVMatrix)
 Declares name and deepCopy methods.


Public Attributes

real epsilon
int verbosity

Static Protected Member Functions

void declareOptions (OptionList &ol)
 Declares this class' options.


Private Types

typedef SelectRowsVMatrix inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef SelectRowsVMatrix PLearn::RemoveDuplicateVMatrix::inherited [private]
 

Reimplemented from PLearn::SelectRowsVMatrix.

Definition at line 57 of file RemoveDuplicateVMatrix.h.


Constructor & Destructor Documentation

PLearn::RemoveDuplicateVMatrix::RemoveDuplicateVMatrix  ) 
 

Default constructor.

Definition at line 53 of file RemoveDuplicateVMatrix.cc.


Member Function Documentation

void PLearn::RemoveDuplicateVMatrix::build  )  [virtual]
 

Should call simply inherited::build(), then this class's build_().

This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object.

Reimplemented from PLearn::SelectRowsVMatrix.

Definition at line 94 of file RemoveDuplicateVMatrix.cc.

References build_().

void PLearn::RemoveDuplicateVMatrix::build_  )  [private]
 

This does the actual building.

Reimplemented from PLearn::SelectRowsVMatrix.

Definition at line 104 of file RemoveDuplicateVMatrix.cc.

References PLearn::TVec< int >::append(), PLearn::Kernel::build(), PLearn::Kernel::computeGramMatrix(), epsilon, PLearn::TVec< T >::fill(), PLearn::VMat::length(), PLearn::Mat, PLearn::DistanceKernel::pow_distance, PLearn::Kernel::report_progress, PLearn::TVec< int >::resize(), PLearn::DistanceKernel::setDataForKernelMatrix(), and verbosity.

Referenced by build().

void PLearn::RemoveDuplicateVMatrix::declareOptions OptionList ol  )  [static, protected]
 

Declares this class' options.

Reimplemented from PLearn::SelectRowsVMatrix.

Definition at line 70 of file RemoveDuplicateVMatrix.cc.

References PLearn::declareOption(), PLearn::OptionList, and PLearn::redeclareOption().

void PLearn::RemoveDuplicateVMatrix::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::SelectRowsVMatrix.

Definition at line 140 of file RemoveDuplicateVMatrix.cc.

References PLERROR.

PLearn::RemoveDuplicateVMatrix::PLEARN_DECLARE_OBJECT RemoveDuplicateVMatrix   ) 
 

Declares name and deepCopy methods.


Member Data Documentation

real PLearn::RemoveDuplicateVMatrix::epsilon
 

Definition at line 71 of file RemoveDuplicateVMatrix.h.

Referenced by build_().

int PLearn::RemoveDuplicateVMatrix::verbosity
 

Definition at line 72 of file RemoveDuplicateVMatrix.h.

Referenced by build_().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:26:36 2004 for PLearn by doxygen 1.3.7