public abstract class IntegerVertex extends DiscreteVertex<IntegerTensor> implements io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
ID_GENERATOR
Constructor and Description |
---|
IntegerVertex() |
dLogPmf, dLogProb, logPmf, logProb
addChild, addParent, addParents, dLogProbAtValue, equals, exploreSetting, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, logProbAtValue, observe, observeOwnValue, sample, sampleUsingDefaultRandom, setAndCascade, setAndCascade, setParents, setParents, setValue, unobserve, updateValue
public IntegerVertex minus(IntegerVertex that)
minus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex plus(IntegerVertex that)
plus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex multiply(IntegerVertex that)
public IntegerVertex divideBy(IntegerVertex that)
public IntegerVertex minus(Vertex<IntegerTensor> that)
public IntegerVertex plus(Vertex<IntegerTensor> that)
public IntegerVertex multiply(Vertex<IntegerTensor> that)
public IntegerVertex divideBy(Vertex<IntegerTensor> that)
public IntegerVertex minus(int value)
minus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex plus(int value)
plus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex multiply(int factor)
public IntegerVertex divideBy(int divisor)
public IntegerVertex abs()
public IntegerVertex lambda(int[] shape, java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex lambda(java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex times(IntegerVertex that)
times
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex div(IntegerVertex that)
div
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public IntegerVertex times(int that)
times
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex div(int that)
div
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex unaryMinus()
unaryMinus
in interface io.improbable.keanu.kotlin.Operators<IntegerVertex>
public void setValue(int value)
public void setValue(int[] values)
public void setAndCascade(int value)
public void setAndCascade(int[] values)
public void setAndCascade(int value, java.util.Map<java.lang.Long,java.lang.Long> explored)
public void setAndCascade(int[] values, java.util.Map<java.lang.Long,java.lang.Long> explored)
public void observe(int value)
public void observe(int[] values)
public double logPmf(int value)
public double logPmf(int[] values)
public java.util.Map<java.lang.Long,DoubleTensor> dLogPmf(int value)
public java.util.Map<java.lang.Long,DoubleTensor> dLogPmf(int[] values)