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

PLearn::UniformSampleVariable Class Reference

#include <SampleVariable.h>

Inheritance diagram for PLearn::UniformSampleVariable:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UniformSampleVariable (int length=1, int width=1, real minvalue=0, real maxvalue=1)
virtual UniformSampleVariabledeepCopy (map< const void *, void * > &copies) const
virtual string classname () const
virtual void fprop ()
 compute output given input


Protected Attributes

real min_value
real max_value
 box constraints on values

char name [50]

Constructor & Destructor Documentation

PLearn::UniformSampleVariable::UniformSampleVariable int  length = 1,
int  width = 1,
real  minvalue = 0,
real  maxvalue = 1
 

Definition at line 96 of file SampleVariable.cc.

References max_value, min_value, and name.


Member Function Documentation

string PLearn::UniformSampleVariable::classname  )  const [virtual]
 

Reimplemented from PLearn::SourceSampleVariable.

Definition at line 93 of file SampleVariable.cc.

UniformSampleVariable * PLearn::UniformSampleVariable::deepCopy map< const void *, void * > &  copies  )  const [virtual]
 

Implements PLearn::SourceSampleVariable.

Definition at line 105 of file SampleVariable.cc.

References PLearn::SourceVariable::makeDeepCopyFromShallowCopy().

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

compute output given input

Reimplemented from PLearn::SourceVariable.

Definition at line 121 of file SampleVariable.cc.

References PLearn::bounded_uniform(), k, max_value, min_value, and PLearn::Variable::nelems().


Member Data Documentation

real PLearn::UniformSampleVariable::max_value [protected]
 

box constraints on values

Reimplemented from PLearn::Variable.

Definition at line 94 of file SampleVariable.h.

Referenced by fprop(), and UniformSampleVariable().

real PLearn::UniformSampleVariable::min_value [protected]
 

Reimplemented from PLearn::Variable.

Definition at line 94 of file SampleVariable.h.

Referenced by fprop(), and UniformSampleVariable().

char PLearn::UniformSampleVariable::name[50] [protected]
 

Definition at line 95 of file SampleVariable.h.

Referenced by UniformSampleVariable().


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