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

PLearn::UnconditionalDistribution Class Reference

#include <UnconditionalDistribution.h>

Inheritance diagram for PLearn::UnconditionalDistribution:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnconditionalDistribution ()
 Default constructor.

virtual void build ()
 Simply call inherited::build() then build_().

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

 PLEARN_DECLARE_OBJECT (UnconditionalDistribution)
void setInput (const Vec &input) const
 Return an error (not used in unconditional distributions).

void updateFromConditionalSorting ()
 This method updates the internal data given a new sorting of the variables defined by the conditional flags.


Static Protected Member Functions

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


Private Types

typedef PDistribution inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef PDistribution PLearn::UnconditionalDistribution::inherited [private]
 

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::SpiralDistribution, and PLearn::UniformDistribution.

Definition at line 57 of file UnconditionalDistribution.h.


Constructor & Destructor Documentation

PLearn::UnconditionalDistribution::UnconditionalDistribution  ) 
 

Default constructor.

Definition at line 52 of file UnconditionalDistribution.cc.


Member Function Documentation

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

Simply call inherited::build() then build_().

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::SpiralDistribution, and PLearn::UniformDistribution.

Definition at line 122 of file UnconditionalDistribution.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::SpiralDistribution, and PLearn::UniformDistribution.

Definition at line 131 of file UnconditionalDistribution.cc.

Referenced by build().

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

Declare this class' options.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::SpiralDistribution, and PLearn::UniformDistribution.

Definition at line 69 of file UnconditionalDistribution.cc.

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

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

Transform a shallow copy into a deep copy.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::SpiralDistribution, and PLearn::UniformDistribution.

Definition at line 138 of file UnconditionalDistribution.cc.

PLearn::UnconditionalDistribution::PLEARN_DECLARE_OBJECT UnconditionalDistribution   ) 
 

void PLearn::UnconditionalDistribution::setInput const Vec input  )  const [virtual]
 

Return an error (not used in unconditional distributions).

Reimplemented from PLearn::PDistribution.

Definition at line 146 of file UnconditionalDistribution.cc.

References PLERROR, and PLearn::Vec.

void PLearn::UnconditionalDistribution::updateFromConditionalSorting  )  [virtual]
 

This method updates the internal data given a new sorting of the variables defined by the conditional flags.

The default version does nothing: it should be implemented in each conditional subclass.

Reimplemented from PLearn::PDistribution.

Definition at line 153 of file UnconditionalDistribution.cc.

References PLERROR.


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