public class ModelResult<T> extends java.lang.Object implements ModelResultProvider<T>
| Constructor and Description |
|---|
ModelResult(ModelVertex model,
VertexLabel label) |
| Modifier and Type | Method and Description |
|---|---|
T |
calculate() |
VertexLabel |
getLabel() |
ModelVertex<T> |
getModel() |
T |
sample(KeanuRandom random) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuepublic ModelResult(ModelVertex model, VertexLabel label)
public T sample(KeanuRandom random)
public T calculate()
public ModelVertex<T> getModel()
getModel in interface ModelResultProvider<T>public VertexLabel getLabel()
getLabel in interface ModelResultProvider<T>