#include <RandomVar.h>
Inheritance diagram for PLearn::RVArray:
Public Member Functions | |
RVArray () | |
RVArray *. | |
RVArray (int n, int n_extra_allocated=0) | |
RVArray (const Array< RandomVar > &va) | |
RVArray (const RandomVar &v, int n_extra_allocated=0) | |
RVArray (const RandomVar &v1, const RandomVar &v2, int n_extra_allocated=0) | |
RVArray (const RandomVar &v1, const RandomVar &v2, const RandomVar &v3, int n_extra_allocated=0) | |
int | length () const |
VarArray | values () const |
return the VarArray of values of the RV's | |
RandomVar | operator[] (RandomVar index) |
return a new RVArrayRandomElementRandomVariable | |
RandomVar & | operator[] (int i) |
const RandomVar & | operator[] (int i) const |
void | sort () |
sorts in-place the elements by rv_number (topological order of the graphical model) (in the order: ancestors -> descendants) | |
Static Public Member Functions | |
int | compareRVnumbers (const RandomVar *v1, const RandomVar *v2) |
Definition at line 422 of file RandomVar.h.
|
RVArray *.
Definition at line 880 of file RandomVar.cc. |
|
Definition at line 884 of file RandomVar.cc. |
|
Definition at line 888 of file RandomVar.cc. |
|
Definition at line 891 of file RandomVar.cc. |
|
Definition at line 895 of file RandomVar.cc. |
|
Definition at line 902 of file RandomVar.cc. |
|
Definition at line 930 of file RandomVar.cc. Referenced by sort(). |
|
Reimplemented from PLearn::TVec< RandomVar >. Definition at line 911 of file RandomVar.cc. References PLearn::TVec< RandomVar >::size(). Referenced by PLearn::SubVecRandomVariable::EMBprop(), PLearn::JointRandomVariable::EMBprop(), PLearn::SubVecRandomVariable::invertible(), PLearn::JointRandomVariable::invertible(), and PLearn::RVArrayRandomElementRandomVariable::RVArrayRandomElementRandomVariable(). |
|
Reimplemented from PLearn::TVec< RandomVar >. Definition at line 450 of file RandomVar.h. References operator[](). |
|
Definition at line 447 of file RandomVar.h. References operator[](). |
|
return a new RVArrayRandomElementRandomVariable
Definition at line 927 of file RandomVar.cc. Referenced by operator[](). |
|
sorts in-place the elements by rv_number (topological order of the graphical model) (in the order: ancestors -> descendants)
Definition at line 937 of file RandomVar.cc. References PLearn::compare_function, compareRVnumbers(), PLearn::TVec< RandomVar >::data(), and PLearn::TVec< RandomVar >::size(). |
|
return the VarArray of values of the RV's
Definition at line 919 of file RandomVar.cc. References PLearn::TVec< RandomVar >::size(). Referenced by PLearn::EM(), PLearn::ConcatColumnsRandomVariable::setValueFromParentsValue(), and PLearn::MixtureRandomVariable::setValueFromParentsValue(). |