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

PLearn::MinVariable Class Reference

#include <MinVariable.h>

Inheritance diagram for PLearn::MinVariable:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MinVariable ()
 Default constructor for persistence.

 MinVariable (Variable *input)
 PLEARN_DECLARE_OBJECT (MinVariable)
virtual void recomputeSize (int &l, int &w) const
 Recomputes the length l and width w that this variable should have, according to its parent variables.

virtual void fprop ()
 compute output given input

virtual void bprop ()
virtual void symbolicBprop ()
 compute a piece of new Var graph that represents the symbolic derivative of this Var


Private Types

typedef UnaryVariable inherited

Member Typedef Documentation

typedef UnaryVariable PLearn::MinVariable::inherited [private]
 

Reimplemented from PLearn::UnaryVariable.

Definition at line 54 of file MinVariable.h.

Referenced by MinVariable().


Constructor & Destructor Documentation

PLearn::MinVariable::MinVariable  )  [inline]
 

Default constructor for persistence.

Definition at line 58 of file MinVariable.h.

PLearn::MinVariable::MinVariable Variable input  ) 
 

Definition at line 57 of file MinVariable.cc.

References inherited.


Member Function Documentation

void PLearn::MinVariable::bprop  )  [virtual]
 

Implements PLearn::Variable.

Definition at line 77 of file MinVariable.cc.

void PLearn::MinVariable::fprop  )  [virtual]
 

compute output given input

Implements PLearn::Variable.

Definition at line 64 of file MinVariable.cc.

References val.

PLearn::MinVariable::PLEARN_DECLARE_OBJECT MinVariable   ) 
 

void PLearn::MinVariable::recomputeSize int l,
int w
const [virtual]
 

Recomputes the length l and width w that this variable should have, according to its parent variables.

This is used for ex. by sizeprop() The default version stupidly returns the current dimensions, so make sure to overload it in subclasses if this is not appropriate.

Reimplemented from PLearn::Variable.

Definition at line 61 of file MinVariable.cc.

void PLearn::MinVariable::symbolicBprop  )  [virtual]
 

compute a piece of new Var graph that represents the symbolic derivative of this Var

Reimplemented from PLearn::Variable.

Definition at line 88 of file MinVariable.cc.

References PLearn::argmin(), PLearn::Var::length(), and PLearn::Var::width().


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