public abstract class NonProbabilisticInteger extends IntegerVertex
idGenerator
Constructor and Description |
---|
NonProbabilisticInteger() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Double> |
dDensityAtValue()
This returns the derivative of the density function with respect to
any dependent vertices.
|
double |
density(java.lang.Integer value)
This is the value of the probability density at the supplied value.
|
abstract java.lang.Integer |
getDerivedValue() |
boolean |
isProbabilistic()
A probabilistic vertex is defined as a vertex that is probabilistic.
|
void |
observe(java.lang.Integer value)
Observing non-probabilistic values of this type causes the probability
of the graph to flatten to 0 in all places that doesn't exactly match
the observation.
|
java.lang.Integer |
updateValue()
This causes a non-probabilistic vertex to recalculate it's value based off it's
current parent values.
|
abs, div, div, divideBy, divideBy, divideBy, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, times, times, unaryMinus
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, lazyEval, logDensity, logDensityAtValue, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public void observe(java.lang.Integer value)
public double density(java.lang.Integer value)
Vertex
public java.util.Map<java.lang.String,java.lang.Double> dDensityAtValue()
Vertex
dDensityAtValue
in class Vertex<java.lang.Integer>
public boolean isProbabilistic()
Vertex
isProbabilistic
in class Vertex<java.lang.Integer>
public java.lang.Integer updateValue()
Vertex
updateValue
in class Vertex<java.lang.Integer>
public abstract java.lang.Integer getDerivedValue()