Package | Description |
---|---|
org.opennars.inference |
The inference rules and control functions
|
Modifier and Type | Method | Description |
---|---|---|
static TruthFunctions.EnumType |
TruthFunctions.EnumType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TruthFunctions.EnumType[] |
TruthFunctions.EnumType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static TruthValue |
TruthFunctions.lookupTruthFunctionAndCompute(TruthFunctions.EnumType type,
TruthValue a,
TruthValue b,
Parameters narParameters) |
lookup the truth function and compute the value
|
static TruthValue |
TruthFunctions.lookupTruthFunctionByBoolAndCompute(boolean flag,
TruthFunctions.EnumType typeTrue,
TruthFunctions.EnumType typeFalse,
TruthValue a,
TruthValue b,
Parameters narParameters) |
lookup the truth function and compute the value - for two truth functions which are decided by flag
|
Copyright © 2020 OpenNARS. All rights reserved.