public abstract class BoolVertex extends Vertex<BooleanTensor> implements io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
Constructor and Description |
---|
BoolVertex() |
Modifier and Type | Method and Description |
---|---|
BoolVertex |
and(boolean that) |
BoolVertex |
and(BoolVertex that) |
BoolVertex |
and(Vertex<BooleanTensor>... those) |
static BoolVertex |
concat(int dimension,
BoolVertex... toConcat) |
BoolVertex |
equalTo(BoolVertex rhs) |
boolean |
getValue(long... index) |
BoolVertex |
not() |
static BoolVertex |
not(Vertex<BooleanTensor> vertex) |
<T extends Tensor> |
notEqualTo(Vertex<T> rhs) |
void |
observe(boolean value) |
void |
observe(boolean[] values) |
BoolVertex |
or(boolean that) |
BoolVertex |
or(BoolVertex that) |
BoolVertex |
or(Vertex<BooleanTensor>... those) |
BoolVertex |
reshape(long... proposedShape) |
void |
setAndCascade(boolean value) |
void |
setAndCascade(boolean[] values) |
void |
setValue(boolean value) |
void |
setValue(boolean[] values) |
BoolVertex |
slice(int dimension,
long index) |
BoolVertex |
take(long... index) |
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getIndentation, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, removeLabel, sample, sample, setAndCascade, setLabel, setLabel, setParents, setParents, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
observableTypeFor
@SafeVarargs public final BoolVertex or(Vertex<BooleanTensor>... those)
public BoolVertex or(boolean that)
or
in interface io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
public BoolVertex or(BoolVertex that)
or
in interface io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
@SafeVarargs public final BoolVertex and(Vertex<BooleanTensor>... those)
public BoolVertex and(BoolVertex that)
and
in interface io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
public BoolVertex and(boolean that)
and
in interface io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
public BoolVertex not()
not
in interface io.improbable.keanu.kotlin.BooleanOperators<BoolVertex>
public static BoolVertex concat(int dimension, BoolVertex... toConcat)
public static final BoolVertex not(Vertex<BooleanTensor> vertex)
public BoolVertex equalTo(BoolVertex rhs)
public <T extends Tensor> BoolVertex notEqualTo(Vertex<T> rhs)
public BoolVertex slice(int dimension, long index)
public void setValue(boolean value)
public void setValue(boolean[] values)
public void setAndCascade(boolean value)
public void setAndCascade(boolean[] values)
public void observe(boolean value)
public void observe(boolean[] values)
public boolean getValue(long... index)
public BoolVertex take(long... index)
public BoolVertex reshape(long... proposedShape)