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

PLearn::ConditionalCDFSmoother Class Reference

#include <ConditionalCDFSmoother.h>

Inheritance diagram for PLearn::ConditionalCDFSmoother:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef Smoother inherited

Public Member Functions

 ConditionalCDFSmoother ()
 ConditionalCDFSmoother (PP< HistogramDistribution > &prior_cdf_)
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 (ConditionalCDFSmoother)
 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

Public Attributes

PP< HistogramDistributionprior_cdf

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 Smoother PLearn::ConditionalCDFSmoother::inherited
 

Reimplemented from PLearn::Smoother.

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 65 of file ConditionalCDFSmoother.h.


Constructor & Destructor Documentation

PLearn::ConditionalCDFSmoother::ConditionalCDFSmoother  ) 
 

Definition at line 50 of file ConditionalCDFSmoother.cc.

PLearn::ConditionalCDFSmoother::ConditionalCDFSmoother PP< HistogramDistribution > &  prior_cdf_  ) 
 

Definition at line 52 of file ConditionalCDFSmoother.cc.


Member Function Documentation

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

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 77 of file ConditionalCDFSmoother.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::Smoother.

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 73 of file ConditionalCDFSmoother.cc.

Referenced by build().

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

Declares this class' options.

Reimplemented from PLearn::Smoother.

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 64 of file ConditionalCDFSmoother.cc.

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

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

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::Smoother.

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 83 of file ConditionalCDFSmoother.cc.

References PLearn::deepCopyField(), and prior_cdf.

PLearn::ConditionalCDFSmoother::PLEARN_DECLARE_OBJECT ConditionalCDFSmoother   ) 
 

Declares name and deepCopy methods.

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

Implements PLearn::Smoother.

Reimplemented in PLearn::ScaledConditionalCDFSmoother.

Definition at line 89 of file ConditionalCDFSmoother.cc.

References PLERROR, and PLearn::Vec.


Member Data Documentation

PP<HistogramDistribution> PLearn::ConditionalCDFSmoother::prior_cdf
 

Definition at line 71 of file ConditionalCDFSmoother.h.

Referenced by makeDeepCopyFromShallowCopy().


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