private static interface ReasonerAdapter.IReasonerAdapter
| Modifier and Type | Method and Description |
|---|---|
ReasoningResult |
check(net.ssehub.easy.varModel.confModel.Configuration cfg,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Checks the configuration according to the given project structure and does not affect the configuration.
|
ValueCreationResult |
createValue(net.ssehub.easy.varModel.confModel.Configuration cfg,
net.ssehub.easy.varModel.model.AbstractVariable var,
net.ssehub.easy.varModel.model.datatypes.IDatatype type,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Creates the value for a certain IVML type/variable.
|
EvaluationResult |
evaluate(net.ssehub.easy.varModel.confModel.Configuration cfg,
java.util.List<net.ssehub.easy.varModel.model.Constraint> constraints,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Evaluates a given list of constraints (in the sense of boolean conditions) which are related to and valid
in the context of the given project and configuration.
|
ReasoningResult |
isConsistent(net.ssehub.easy.varModel.confModel.Configuration cfg,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Checks whether a given variability model (project) is satisfiable.
|
ReasoningResult |
propagate(net.ssehub.easy.varModel.confModel.Configuration cfg,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Checks the configuration according to the given model and propagates values, if possible.
|
ReasoningResult isConsistent(net.ssehub.easy.varModel.confModel.Configuration cfg, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
cfg - The configuration to reason on.observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedreasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)Status.UNSUPPORTED if the concrete reasoner does not support
this operation.ReasoningResult check(net.ssehub.easy.varModel.confModel.Configuration cfg, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
cfg - The configuration to reason on.reasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedStatus.UNSUPPORTED if the concrete reasoner does not support
this operation.ReasoningResult propagate(net.ssehub.easy.varModel.confModel.Configuration cfg, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
cfg - The configuration to reason on (may be modified as a side effect
of value propagation)reasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedStatus.UNSUPPORTED if the concrete reasoner does not support
this operation.EvaluationResult evaluate(net.ssehub.easy.varModel.confModel.Configuration cfg, java.util.List<net.ssehub.easy.varModel.model.Constraint> constraints, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
cfg - The configuration to reason on.constraints - the constraints (expressions which evaluate to a boolean value)reasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedStatus.UNSUPPORTED if the concrete reasoner does not support
this operation.ValueCreationResult createValue(net.ssehub.easy.varModel.confModel.Configuration cfg, net.ssehub.easy.varModel.model.AbstractVariable var, net.ssehub.easy.varModel.model.datatypes.IDatatype type, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
cfg - the configuration to operate on (will not be modified)var - the variable to create the value for (may be null if type is given, may imply
additional constraints)type - the type to create the value for (may be null if var is given)reasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedCopyright © 2009 - 2018 SSE. All Rights Reserved.