public class ConstantBooleanVertex extends BooleanVertex implements ConstantVertex, NonProbabilistic<BooleanTensor>
| Modifier and Type | Field and Description |
|---|---|
static BooleanVertex |
FALSE |
static BooleanVertex |
TRUE |
| Constructor and Description |
|---|
ConstantBooleanVertex(boolean constant) |
ConstantBooleanVertex(boolean[] vector) |
ConstantBooleanVertex(boolean[] data,
long[] shape) |
ConstantBooleanVertex(BooleanTensor constant) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTensor |
calculate() |
BooleanTensor |
getConstantValue() |
void |
save(NetworkSaver netSaver) |
and, and, and, assertTrue, assertTrue, concat, equalTo, getValue, loadValue, not, not, notEqualTo, observe, observe, or, or, or, reshape, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, takeaddChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, ofcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic static final BooleanVertex TRUE
public static final BooleanVertex FALSE
public ConstantBooleanVertex(BooleanTensor constant)
public ConstantBooleanVertex(boolean constant)
public ConstantBooleanVertex(boolean[] vector)
public ConstantBooleanVertex(boolean[] data,
long[] shape)
public BooleanTensor calculate()
calculate in interface NonProbabilistic<BooleanTensor>public void save(NetworkSaver netSaver)
save in class Vertex<BooleanTensor>public BooleanTensor getConstantValue()