edu.ucla.belief
Interface CPTShell
- All Superinterfaces:
- Cloneable, Potential
- All Known Subinterfaces:
- NoisyOrShell
- All Known Implementing Classes:
- DecisionShell, NoisyOrShellHenrion, NoisyOrShellPearl, TableShell
public interface CPTShell
- extends Potential
- Since:
- 20021007
- Author:
- keith cascio
getVariable
FiniteVariable getVariable()
randomJointValueIndex
int randomJointValueIndex(Map mapInstantions)
- Since:
- 021704
getCPT
Table getCPT()
variables
List variables()
- Specified by:
variables
in interface Potential
replaceVariables
void replaceVariables(Map old2new,
boolean partial)
- Parameters:
partial
- If true, then skip warnings about incomplete mapping.
forget
void forget(Variable from)
expand
void expand(FiniteVariable var)
insertState
void insertState(int index)
removeState
void removeState(int index)
parentStateInserted
void parentStateInserted(FiniteVariable parent,
int indexNewInstance)
parentStateRemoved
void parentStateRemoved(FiniteVariable parent,
int indexRemovedInstance)
ensureNonsingular
void ensureNonsingular()
normalize
void normalize()
throws Exception
- Throws:
Exception
index
TableIndex index()
multiplyInto
void multiplyInto(Table t2)
scalar
double scalar()
- Since:
- 041403
getCPScaled
double getCPScaled(int ind)
getCPScaled
double getCPScaled(int[] indices)
getCP
double getCP(int index)
getCP
double getCP(int[] indices)
getCP
double getCP(Object[] instantiations)
getCP
double getCP(Map instantiations)
getCP
double getCP(Object[] parentInstantiations,
Object childInstatiation)
getRelevant
Set getRelevant(int[] indices)
getRelevant
Set getRelevant(Object[] instantiations)
getRelevant
Set getRelevant(Map instantiations)
getRelevant
Set getRelevant(Object[] parentInstantiations,
Object childInstatiation)
getCPTParameters
CPTParameter[] getCPTParameters()
- Since:
- 062503
getCPTParameter
CPTParameter getCPTParameter(int index)
getCPTParameter
CPTParameter getCPTParameter(int[] mindex)
Copyright 2010 UCLA Automated Reasoning Group