PLearn 0.1
Public Member Functions | Public Attributes
PLearn::ConditionalExpression Class Reference

#include <RandomVar.h>

Collaboration diagram for PLearn::ConditionalExpression:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConditionalExpression (RVInstance lhs, RVInstanceArray rhs)
 build from both LHS and RHS
 ConditionalExpression (RVInstance lhs)
 build from just LHS
 ConditionalExpression (RandomVar lhs)
 build from just LHS's RV
 ConditionalExpression (RVInstanceArray lhs)
 build from multiple LHS RVInstances: make one RVInstance from the joint of the RVs and the vconcat of the instances.

Public Attributes

RVInstance LHS
RVInstanceArray RHS

Detailed Description

Definition at line 528 of file RandomVar.h.


Constructor & Destructor Documentation

PLearn::ConditionalExpression::ConditionalExpression ( RVInstance  lhs,
RVInstanceArray  rhs 
)

build from both LHS and RHS

ConditionalExpression.

Definition at line 749 of file RandomVar.cc.

    :LHS(lhs), RHS(rhs) {}
PLearn::ConditionalExpression::ConditionalExpression ( RVInstance  lhs)

build from just LHS

Definition at line 753 of file RandomVar.cc.

    :LHS(lhs), RHS() {}
PLearn::ConditionalExpression::ConditionalExpression ( RandomVar  lhs)

build from just LHS's RV

Definition at line 757 of file RandomVar.cc.

    :LHS(lhs,Var(lhs->length())), RHS() {}
PLearn::ConditionalExpression::ConditionalExpression ( RVInstanceArray  lhs)

build from multiple LHS RVInstances: make one RVInstance from the joint of the RVs and the vconcat of the instances.

Definition at line 762 of file RandomVar.cc.

    :LHS(lhs.random_variables(),vconcat(lhs.instances())), RHS() {}

Member Data Documentation

Definition at line 531 of file RandomVar.h.

Referenced by PLearn::EM(), PLearn::logP(), PLearn::P(), and PLearn::Sample().

Definition at line 532 of file RandomVar.h.

Referenced by PLearn::EM(), PLearn::logP(), PLearn::P(), and PLearn::Sample().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines