public class IfVertex<T> extends GenericTensorVertex<Tensor<T>> implements NonProbabilistic<Tensor<T>>
Constructor and Description |
---|
IfVertex(BooleanVertex predicate,
Vertex<? extends Tensor<T>> thn,
Vertex<? extends Tensor<T>> els) |
Modifier and Type | Method and Description |
---|---|
Tensor<T> |
calculate() |
Vertex<? extends Tensor<T>> |
getEls() |
BooleanVertex |
getPredicate() |
Vertex<? extends Tensor<T>> |
getThn() |
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