public static class Configuration.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
build()
The method build the
Configuration object that is later user during the inference process. |
ConflictSetResolution |
getCsr() |
Configuration |
getDefaultConfiguration()
The method returns default configuration for the inference process.
|
State |
getInitialState() |
UncertainTrueEvaluator |
getUte()
The method gets the
UncertainTrueEvaluator object previously set. |
boolean |
isTokenPassingEnabled() |
Configuration.Builder |
setCsr(ConflictSetResolution csr)
The method sets the
ConflictSetResolution object to be used while evaluating rules. |
Configuration.Builder |
setInitialState(State initialState)
Sets the initial state given as a parameter
|
void |
setTokenPassingEnabled(boolean tokenPassingEnabled) |
Configuration.Builder |
setUte(UncertainTrueEvaluator ute)
The method sets the
UncertainTrueEvaluator object to be used while evaluating
ALSV(FD) formulae. |
public Configuration build() throws BuilderException
Configuration object that is later user during the inference process.
For the values of the elements that were not specified, the default values are used.
See the getDefaultConfiguration() for details on the default values of the elements.Configuration object.BuilderException - an exception thrown then some parameters are set
so that they cannot build proper Configuration.public Configuration getDefaultConfiguration()
UncertainTrueEvaluator to be ALSVEvaluator
ConflictSetResolution to be ConflictSetFirstWin
State.
Configuration object.public Configuration.Builder setCsr(ConflictSetResolution csr)
ConflictSetResolution object to be used while evaluating rules.csr - the ConflictSetResolution objectConfiguration.Builder referencepublic Configuration.Builder setUte(UncertainTrueEvaluator ute)
UncertainTrueEvaluator object to be used while evaluating
ALSV(FD) formulae.ute - the UncertainTrueEvaluator objectConfiguration.Builder referencepublic UncertainTrueEvaluator getUte()
UncertainTrueEvaluator object previously set.UncertainTrueEvaluator object that was setpublic ConflictSetResolution getCsr()
public State getInitialState()
public Configuration.Builder setInitialState(State initialState)
initialState - public boolean isTokenPassingEnabled()
public void setTokenPassingEnabled(boolean tokenPassingEnabled)