public abstract class NonProbabilistic<T> extends Vertex<T>
ID_GENERATOR
Constructor and Description |
---|
NonProbabilistic() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Long,DoubleTensor> |
dLogProb(T value)
The partial derivatives of the natural log prob.
|
abstract T |
getDerivedValue() |
boolean |
isProbabilistic() |
double |
logProb(T value)
This is the natural log of the probability at the supplied value.
|
T |
updateValue()
This causes a non-probabilistic vertex to recalculate it's value based off it's
parent's current values.
|
addChild, addParent, addParents, dLogProbAtValue, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observe, observeOwnValue, sample, sample, setAndCascade, setParents, setParents, setValue, unobserve
public double logProb(T value)
Vertex
public java.util.Map<java.lang.Long,DoubleTensor> dLogProb(T value)
Vertex
public boolean isProbabilistic()
isProbabilistic
in class Vertex<T>
public T updateValue()
Vertex
updateValue
in class Vertex<T>
public abstract T getDerivedValue()