|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BayesNetVar
A random variable that serves as a node in a Bayes net (directed graphical model).
Method Summary | |
---|---|
void |
ensureDetAndSupported(InstantiatingEvalContext instantiator)
Ensures that the partial world underlying the given InstantiatingEvalContext is complete enough to determine the value of this variable and to determine its probability distribution conditional on its parents. |
BasicVar |
getFirstUninstParent(PartialWorld w)
Returns the first parent of this variable that is uninstantiated in the given partial world. |
java.util.Set |
getParents(PartialWorld w)
Returns the set of parents of this variable in the given partial world. |
java.lang.Object |
getValue(PartialWorld w)
Returns the value of this random variable in the given world. |
boolean |
isDetermined(PartialWorld w)
Returns true if the given world is complete enough to determine the value of this random variable. |
Timestep |
timestep()
Returns the timestep that this variable is associated with, or null if it is atemporal. |
Method Detail |
---|
boolean isDetermined(PartialWorld w)
java.lang.Object getValue(PartialWorld w)
java.lang.IllegalArgumentException
- if the given partial world is not
complete enough to determine the
value of this variablejava.util.Set getParents(PartialWorld w)
BasicVar getFirstUninstParent(PartialWorld w)
void ensureDetAndSupported(InstantiatingEvalContext instantiator)
Timestep timestep()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |