public class IntegerProxyVertex extends IntegerVertex implements ProxyVertex<IntegerVertex>, NonProbabilistic<IntegerTensor>
| Constructor and Description |
|---|
IntegerProxyVertex(long[] tensorShape,
java.lang.String label) |
IntegerProxyVertex(long[] shape,
java.lang.String labelString,
IntegerVertex parent) |
IntegerProxyVertex(long[] shape,
VertexLabel label) |
IntegerProxyVertex(VertexLabel label)
This vertex acts as a "Proxy" to allow a BayesNet to be built up before parents are explicitly known (ie for
model in model scenarios) but allows linking at a later point in time.
|
| Modifier and Type | Method and Description |
|---|---|
IntegerTensor |
calculate() |
java.lang.String |
getLabelParameter() |
IntegerVertex |
getParent() |
boolean |
hasParent() |
<V extends Vertex<IntegerTensor>> |
setLabel(VertexLabel label)
Set a label for this vertex.
|
void |
setParent(IntegerVertex newParent) |
abs, concat, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, loadValue, max, min, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, sum, sum, take, times, times, toDouble, unaryMinusaddChild, 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, save, setAndCascade, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic IntegerProxyVertex(VertexLabel label)
label - The label for this Vertex (all Proxy Vertices must be labelled)public IntegerProxyVertex(long[] shape,
VertexLabel label)
public IntegerProxyVertex(long[] shape,
java.lang.String labelString,
IntegerVertex parent)
public IntegerProxyVertex(long[] tensorShape,
java.lang.String label)
public <V extends Vertex<IntegerTensor>> V setLabel(VertexLabel label)
VertexsetLabel in class Vertex<IntegerTensor>V - vertex typelabel - The label to apply to this vertex. Uniqueness is only enforced on instantiation of a Bayes Netpublic IntegerTensor calculate()
calculate in interface NonProbabilistic<IntegerTensor>public void setParent(IntegerVertex newParent)
setParent in interface ProxyVertex<IntegerVertex>public IntegerVertex getParent()
public boolean hasParent()
hasParent in interface ProxyVertex<IntegerVertex>public java.lang.String getLabelParameter()