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

PLearn::LimitedGaussianSmoother Class Reference

#include <LimitedGaussianSmoother.h>

Inheritance diagram for PLearn::LimitedGaussianSmoother:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef Smoother inherited

Public Member Functions

 LimitedGaussianSmoother ()
 LimitedGaussianSmoother (real window_size_wrt_sigma_, real sigma_bin_)
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 (LimitedGaussianSmoother)
 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

Static Protected Member Functions

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


Protected Attributes

real window_size_wrt_sigma
real sigma_bin

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef Smoother PLearn::LimitedGaussianSmoother::inherited
 

Reimplemented from PLearn::Smoother.

Definition at line 70 of file LimitedGaussianSmoother.h.


Constructor & Destructor Documentation

PLearn::LimitedGaussianSmoother::LimitedGaussianSmoother  ) 
 

Definition at line 46 of file LimitedGaussianSmoother.cc.

PLearn::LimitedGaussianSmoother::LimitedGaussianSmoother real  window_size_wrt_sigma_,
real  sigma_bin_
 

Definition at line 56 of file LimitedGaussianSmoother.cc.


Member Function Documentation

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

Definition at line 91 of file LimitedGaussianSmoother.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::Smoother.

Definition at line 79 of file LimitedGaussianSmoother.cc.

Referenced by build().

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

Declares this class' options.

Reimplemented from PLearn::Smoother.

Definition at line 62 of file LimitedGaussianSmoother.cc.

References PLearn::OptionList.

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

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::Smoother.

Definition at line 98 of file LimitedGaussianSmoother.cc.

References PLERROR.

PLearn::LimitedGaussianSmoother::PLEARN_DECLARE_OBJECT LimitedGaussianSmoother   ) 
 

Declares name and deepCopy methods.

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

Implements PLearn::Smoother.

Definition at line 113 of file LimitedGaussianSmoother.cc.

References PLearn::TVec< T >::fill(), PLearn::gauss_cum(), PLearn::TVec< T >::length(), PLearn::TVec< T >::resize(), sigma_bin, PLearn::Vec, and window_size_wrt_sigma.


Member Data Documentation

real PLearn::LimitedGaussianSmoother::sigma_bin [protected]
 

Definition at line 65 of file LimitedGaussianSmoother.h.

Referenced by smooth().

real PLearn::LimitedGaussianSmoother::window_size_wrt_sigma [protected]
 

Definition at line 65 of file LimitedGaussianSmoother.h.

Referenced by smooth().


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