public static class ConditionalProbabilityTable.IntegerCPTBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConditionalProbabilityTable.IntegerCPTBuilder.IntegerCPTWhenBuilder |
Constructor and Description |
---|
IntegerCPTBuilder(java.util.List<Vertex<? extends Tensor<java.lang.Boolean>>> inputs,
java.util.Map<CPTCondition,IntegerVertex> conditions) |
Modifier and Type | Method and Description |
---|---|
IntegerCPTVertex |
orDefault(int defaultResult) |
IntegerCPTVertex |
orDefault(IntegerVertex defaultResult) |
ConditionalProbabilityTable.IntegerCPTBuilder.IntegerCPTWhenBuilder |
when(java.lang.Boolean... condition) |
public IntegerCPTBuilder(java.util.List<Vertex<? extends Tensor<java.lang.Boolean>>> inputs, java.util.Map<CPTCondition,IntegerVertex> conditions)
public ConditionalProbabilityTable.IntegerCPTBuilder.IntegerCPTWhenBuilder when(java.lang.Boolean... condition)
public IntegerCPTVertex orDefault(IntegerVertex defaultResult)
public IntegerCPTVertex orDefault(int defaultResult)