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

PLearn::ScaledConditionalCDFSmoother Class Reference

#include <ScaledConditionalCDFSmoother.h>

Inheritance diagram for PLearn::ScaledConditionalCDFSmoother:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ConditionalCDFSmoother inherited

Public Member Functions

 ScaledConditionalCDFSmoother ()
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 (ScaledConditionalCDFSmoother)
 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

bool preserve_relative_density

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

Reimplemented from PLearn::ConditionalCDFSmoother.

Definition at line 64 of file ScaledConditionalCDFSmoother.h.


Constructor & Destructor Documentation

PLearn::ScaledConditionalCDFSmoother::ScaledConditionalCDFSmoother  ) 
 

Definition at line 51 of file ScaledConditionalCDFSmoother.cc.


Member Function Documentation

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

Definition at line 94 of file ScaledConditionalCDFSmoother.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::ConditionalCDFSmoother.

Definition at line 89 of file ScaledConditionalCDFSmoother.cc.

Referenced by build().

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

Declares this class' options.

Reimplemented from PLearn::ConditionalCDFSmoother.

Definition at line 67 of file ScaledConditionalCDFSmoother.cc.

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

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

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::ConditionalCDFSmoother.

Definition at line 101 of file ScaledConditionalCDFSmoother.cc.

PLearn::ScaledConditionalCDFSmoother::PLEARN_DECLARE_OBJECT ScaledConditionalCDFSmoother   ) 
 

Declares name and deepCopy methods.

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

Reimplemented from PLearn::ConditionalCDFSmoother.

Definition at line 111 of file ScaledConditionalCDFSmoother.cc.

References PLearn::endl(), PLERROR, preserve_relative_density, PLearn::TVec< T >::resize(), PLearn::TVec< T >::size(), and PLearn::Vec.


Member Data Documentation

bool PLearn::ScaledConditionalCDFSmoother::preserve_relative_density
 

Definition at line 74 of file ScaledConditionalCDFSmoother.h.

Referenced by smooth().


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