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

PLearn::PConditionalDistribution Class Reference

#include <PConditionalDistribution.h>

Inheritance diagram for PLearn::PConditionalDistribution:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PConditionalDistribution ()
 Default constructor.

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

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

virtual void setInput (const Vec &input) const
 Set the input part before using the inherited methods.

virtual void computeOutput (const Vec &input, Vec &output) const
 Produce outputs according to what is specified in outputs_def.

 PLEARN_DECLARE_OBJECT (PConditionalDistribution)

Public Attributes

int input_part_size

Static Protected Member Functions

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


Private Types

typedef PDistribution inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

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

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 49 of file PConditionalDistribution.h.


Constructor & Destructor Documentation

PLearn::PConditionalDistribution::PConditionalDistribution  ) 
 

Default constructor.

Definition at line 40 of file PConditionalDistribution.cc.


Member Function Documentation

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

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

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 82 of file PConditionalDistribution.cc.

References build_().

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

This does the actual building.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 72 of file PConditionalDistribution.cc.

References input_part_size.

Referenced by build().

void PLearn::PConditionalDistribution::computeOutput const Vec input,
Vec output
const [virtual]
 

Produce outputs according to what is specified in outputs_def.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 97 of file PConditionalDistribution.cc.

References input_part_size, PLearn::TVec< T >::length(), PLearn::Mat, PLERROR, setInput(), PLearn::TVec< T >::subVec(), PLearn::TVec< T >::toMat(), PLearn::variance(), and x.

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

Declares this class' options.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 61 of file PConditionalDistribution.cc.

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

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

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::PDistribution.

Reimplemented in PLearn::GaussianProcessRegressor.

Definition at line 88 of file PConditionalDistribution.cc.

PLearn::PConditionalDistribution::PLEARN_DECLARE_OBJECT PConditionalDistribution   ) 
 

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

Set the input part before using the inherited methods.

Reimplemented from PLearn::PDistribution.

Definition at line 93 of file PConditionalDistribution.cc.

References PLERROR, and PLearn::Vec.

Referenced by computeOutput().


Member Data Documentation

int PLearn::PConditionalDistribution::input_part_size
 

Definition at line 64 of file PConditionalDistribution.h.

Referenced by build_(), and computeOutput().


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