public abstract class UnaryOpVertex<IN,OUT> extends GenericVertex<OUT> implements NonProbabilistic<OUT>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
INPUT_NAME |
protected Vertex<IN> |
inputVertex |
Constructor and Description |
---|
UnaryOpVertex(long[] shape,
Vertex<IN> inputVertex) |
Modifier and Type | Method and Description |
---|---|
OUT |
calculate() |
Vertex<IN> |
getInputVertex() |
protected abstract OUT |
op(IN a) |
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, loadValue, observe, observeOwnValue, print, print, removeLabel, save, saveValue, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observe, unobserve
protected static final java.lang.String INPUT_NAME