public class MultiplexerVertex<T> extends GenericVertex<T> implements NonProbabilistic<T>
| Constructor and Description |
|---|
MultiplexerVertex(IntegerVertex selectorControlVertex,
Vertex<T>... select) |
| Modifier and Type | Method and Description |
|---|---|
T |
calculate() |
IntegerVertex |
getSelectorControlVertex() |
Vertex<T>[] |
getSelectVertices() |
static <T> T |
mux(IntegerTensor select,
T... outputs) |
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, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic MultiplexerVertex(IntegerVertex selectorControlVertex, Vertex<T>... select)
public T calculate()
calculate in interface NonProbabilistic<T>public static <T> T mux(IntegerTensor select, T... outputs)
public IntegerVertex getSelectorControlVertex()