| Package | Description |
|---|---|
| net.ssehub.easy.reasoning.core.frontend |
Frontend to access reasoner information as well as to execute reasoning tasks.
|
| net.ssehub.easy.reasoning.core.impl |
Hidden implementation stuff.
|
| net.ssehub.easy.reasoning.core.reasoner |
All classes and interfaces needed to implement a reasoner.
How to write a reasoner: Create an Eclipse Plugin project with Activator (even if "empty"). Add org.eclipse.equinox.ds to the required plugins and org.osgi.service.component
to the imported packages as your reasoner will be linked using OSGi descriptive services (DS) to the
reasoner core. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChainedReasoner
Implements an abstract chained reasoner.
|
| Modifier and Type | Field and Description |
|---|---|
private IReasoner |
ReasonerFrontend.reasonerHint |
| Modifier and Type | Method and Description |
|---|---|
private static IReasoner |
ReasonerFrontend.canInitializeConfig(IReasoner reasoner)
Checks
reasoner for GeneralReasonerCapabilities.CONFIGURATION_INITIALIZATION. |
private static IReasoner |
ReasonerFrontend.checkForCapabilitiy(IReasoner reasoner,
net.ssehub.easy.varModel.capabilities.IReasonerCapability capability)
Checks
reasoner for the given reasoner capability. |
(package private) IReasoner |
ReasonerFrontend.findReasoner(ReasonerDescriptor descriptor)
Finds a reasoner and throws related exceptions.
|
IReasoner |
ReasonerFrontend.findReasoner(java.lang.String name,
java.lang.String version)
Returns the first version with given
name and version. |
private IReasoner |
ReasonerFrontend.getActualReasoner(net.ssehub.easy.varModel.confModel.Configuration configuration,
java.util.List<net.ssehub.easy.varModel.model.Constraint> constraints,
ReasonerConfiguration reasonerConfiguration)
Returns the actual and matching reasoner.
|
| Modifier and Type | Method and Description |
|---|---|
private static IReasoner |
ReasonerFrontend.canInitializeConfig(IReasoner reasoner)
Checks
reasoner for GeneralReasonerCapabilities.CONFIGURATION_INITIALIZATION. |
private static IReasoner |
ReasonerFrontend.checkForCapabilitiy(IReasoner reasoner,
net.ssehub.easy.varModel.capabilities.IReasonerCapability capability)
Checks
reasoner for the given reasoner capability. |
private static boolean |
ReasonerFrontend.isReadyForUse(IReasoner reasoner)
Returns whether the given
reasoner is ready for use. |
| Modifier and Type | Field and Description |
|---|---|
private IReasoner |
ReasonerMessage.source |
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<IReasoner> |
ReasonerRegistry.reasoner |
| Modifier and Type | Method and Description |
|---|---|
IReasoner |
ReasonerRegistry.findReasoner(ReasonerDescriptor descriptor)
Returns the reasoner which provides the given
descriptor. |
IReasoner |
ReasonerRegistry.findReasoner(java.lang.String name,
java.lang.String version)
Returns the first version with given
name and version. |
IReasoner |
ReasonerRegistry.getReasoner(int index)
Returns the
IReasoner at the specified position in this list. |
IReasoner |
ReasonerMessage.getSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReasonerRegistry.notifyAllReasoners(IReasoner source,
IReasonerMessage.IType type) |
void |
ReasonerRegistry.register(IReasoner reasoner) |
void |
ReasonerRegistry.unregister(IReasoner reasoner) |
| Constructor and Description |
|---|
ReasonerMessage(IReasoner source,
IReasonerMessage.IType type)
Creates a reasoner message.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IChainingReasoner
A specialized interface for reasoners, which, in principle, can be chained, i.e., composed to a chain
of reasoners, passing along results and configurations.
|
| Modifier and Type | Field and Description |
|---|---|
private IReasoner |
DelegatingReasonerInstance.delegate |
| Modifier and Type | Method and Description |
|---|---|
IReasoner |
IReasonerMessage.getSource()
Returns the message source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IReasonerRegistry.notifyAllReasoners(IReasoner source,
IReasonerMessage.IType type)
Notifies all reasoners about a given event.
|
void |
IReasonerRegistry.register(IReasoner reasoner)
Adds a new Reasoner to the registry.
|
void |
IReasonerRegistry.unregister(IReasoner reasoner)
Removes the specified reasoner from the registry, if the reasoner was added before.
|
| Constructor and Description |
|---|
DelegatingReasonerInstance(net.ssehub.easy.varModel.confModel.Configuration config,
ReasonerConfiguration rConfig,
IReasoner delegate)
Creates a delegating reasoner instance.
|
Copyright © 2009 - 2018 SSE. All Rights Reserved.