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

PLearn::RandomVarVMatrix Class Reference

This is a convenient wrapping around the required data structures for efficient repeated sampling from a RandomVar. More...

#include <RandomVar.h>

Inheritance diagram for PLearn::RandomVarVMatrix:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RandomVarVMatrix (ConditionalExpression conditional_expression)
virtual int nVars ()
virtual Vec sample ()

Protected Attributes

RandomVar rv
Var instance
VarArray prop_path

Detailed Description

This is a convenient wrapping around the required data structures for efficient repeated sampling from a RandomVar.

Definition at line 1539 of file RandomVar.h.


Constructor & Destructor Documentation

PLearn::RandomVarVMatrix::RandomVarVMatrix ConditionalExpression  conditional_expression  ) 
 

Definition at line 2403 of file RandomVar.cc.

References instance, prop_path, and PLearn::Sample().


Member Function Documentation

virtual int PLearn::RandomVarVMatrix::nVars  )  [inline, virtual]
 

Definition at line 1548 of file RandomVar.h.

References instance, and PLearn::Var::length().

virtual Vec PLearn::RandomVarVMatrix::sample  )  [inline, virtual]
 

Definition at line 1549 of file RandomVar.h.

References PLearn::VarArray::fprop(), instance, prop_path, and PLearn::Vec.


Member Data Documentation

Var PLearn::RandomVarVMatrix::instance [protected]
 

Definition at line 1543 of file RandomVar.h.

Referenced by nVars(), RandomVarVMatrix(), and sample().

VarArray PLearn::RandomVarVMatrix::prop_path [protected]
 

Definition at line 1544 of file RandomVar.h.

Referenced by RandomVarVMatrix(), and sample().

RandomVar PLearn::RandomVarVMatrix::rv [protected]
 

Definition at line 1542 of file RandomVar.h.


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