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

PLearn::Smoother Class Reference

#include <Smoother.h>

Inheritance diagram for PLearn::Smoother:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef Object inherited

Public Member Functions

 Smoother ()
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_ABSTRACT_OBJECT (Smoother)
 Declares name and deepCopy methods.

virtual real smooth (const Vec &source_function, Vec &smoothed_function, Vec bin_positions=Vec(), Vec dest_bin_positions=Vec()) const =0

Static Protected Member Functions

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


Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef Object PLearn::Smoother::inherited
 

Reimplemented from PLearn::Object.

Reimplemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.

Definition at line 61 of file Smoother.h.


Constructor & Destructor Documentation

PLearn::Smoother::Smoother  ) 
 

Definition at line 45 of file Smoother.cc.


Member Function Documentation

void PLearn::Smoother::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::Object.

Reimplemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.

Definition at line 87 of file Smoother.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::Object.

Reimplemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.

Definition at line 75 of file Smoother.cc.

Referenced by build().

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

Declares this class' options.

Reimplemented from PLearn::Object.

Reimplemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.

Definition at line 58 of file Smoother.cc.

References PLearn::OptionList.

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

Transforms a shallow copy into a deep copy.

Reimplemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.

Definition at line 94 of file Smoother.cc.

References PLERROR.

PLearn::Smoother::PLEARN_DECLARE_ABSTRACT_OBJECT Smoother   ) 
 

Declares name and deepCopy methods.

virtual real PLearn::Smoother::smooth const Vec source_function,
Vec smoothed_function,
Vec  bin_positions = Vec(),
Vec  dest_bin_positions = Vec()
const [pure virtual]
 

Implemented in PLearn::ConditionalCDFSmoother, PLearn::LimitedGaussianSmoother, and PLearn::ScaledConditionalCDFSmoother.


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