Uses of Class
net.ssehub.easy.reasoning.core.reasoner.ReasonerConfiguration
-
Packages that use ReasonerConfiguration Package Description net.ssehub.easy.producer.core.mgmt This package contains classes which are needed for data management, i.e.net.ssehub.easy.producer.core.persistence.standard This package contains classes which specific to the persistencer of this plug-in.net.ssehub.easy.producer.ui.productline_editor.project_configuration This package contains classes for configuring the current project.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"). Addorg.eclipse.equinox.dsto the required plugins andorg.osgi.service.componentto the imported packages as your reasoner will be linked using OSGi descriptive services (DS) to the reasoner core.net.ssehub.easy.reasoning.sseReasoner Package contains the EASy-Producer reasoner implementation classes. -
-
Uses of ReasonerConfiguration in net.ssehub.easy.producer.core.mgmt
Fields in net.ssehub.easy.producer.core.mgmt declared as ReasonerConfiguration Modifier and Type Field Description private ReasonerConfigurationEasyExecutor. rCfgprivate ReasonerConfigurationPLPInfo. reasonerConfigMethods in net.ssehub.easy.producer.core.mgmt that return ReasonerConfiguration Modifier and Type Method Description ReasonerConfigurationPLPInfo. getReasonerConfig()Getter for the reasoner settings.Methods in net.ssehub.easy.producer.core.mgmt with parameters of type ReasonerConfiguration Modifier and Type Method Description voidPLPInfo. setReasonerConfig(ReasonerConfiguration reasonerConfig)Setter for the reasoner configuration settings.EasyExecutorEasyExecutor. setReasonerConfiguration(ReasonerConfiguration rCfg)Sets the reasoner configuration instance. -
Uses of ReasonerConfiguration in net.ssehub.easy.producer.core.persistence.standard
Methods in net.ssehub.easy.producer.core.persistence.standard with parameters of type ReasonerConfiguration Modifier and Type Method Description private voidPLP2ProjectConverter. reasoner2Model(Model reasonerModel, ReasonerConfiguration reasonerConfig)Converts a ReasonerConfiguration to a persistent model. -
Uses of ReasonerConfiguration in net.ssehub.easy.producer.ui.productline_editor.project_configuration
Fields in net.ssehub.easy.producer.ui.productline_editor.project_configuration declared as ReasonerConfiguration Modifier and Type Field Description private ReasonerConfigurationReasonerSettings. cfgConstructors in net.ssehub.easy.producer.ui.productline_editor.project_configuration with parameters of type ReasonerConfiguration Constructor Description ReasonerSettings(org.eclipse.swt.widgets.Composite parent, ReasonerConfiguration cfg, AbstractEASyEditorPage parentPage)Sole constructor for this class. -
Uses of ReasonerConfiguration in net.ssehub.easy.reasoning.core.frontend
Fields in net.ssehub.easy.reasoning.core.frontend declared as ReasonerConfiguration Modifier and Type Field Description private ReasonerConfigurationReasoningProcess. reasonerConfigMethods in net.ssehub.easy.reasoning.core.frontend that return ReasonerConfiguration Modifier and Type Method Description ReasonerConfigurationIReasonerInstance. getReasonerConfiguration()Returns the reasoner configuration this project is running with.Methods in net.ssehub.easy.reasoning.core.frontend with parameters of type ReasonerConfiguration Modifier and Type Method Description ReasoningResultAbstractChainedReasoner. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given project structure and does not affect the configuration.ReasoningResultReasonerAdapter.FrontendReasonerAdapter. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.InstanceReasonerAdapter. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.IReasonerAdapter. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given project structure and does not affect the configuration.ReasoningResultReasonerFrontend. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given project structure and does not affect the configuration.IReasonerInstanceAbstractChainedReasoner. createInstance(Configuration cfg, ReasonerConfiguration reasonerConfiguration)IReasonerInstanceReasonerFrontend. createInstance(Configuration cfg, ReasonerConfiguration reasonerConfiguration)Creates a reasoner instance for repeated reasoning on the same model (no structural changes allowed during two subsequent reasoning runs).ValueCreationResultReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.ValueCreationResultReasonerAdapter.FrontendReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ValueCreationResultReasonerAdapter.InstanceReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ValueCreationResultReasonerAdapter.IReasonerAdapter. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.ValueCreationResultReasonerFrontend. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.EvaluationResultAbstractChainedReasoner. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)EvaluationResultReasonerAdapter. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, 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.EvaluationResultReasonerAdapter.FrontendReasonerAdapter. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)EvaluationResultReasonerAdapter.InstanceReasonerAdapter. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)EvaluationResultReasonerAdapter.IReasonerAdapter. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, 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.EvaluationResultReasonerFrontend. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, 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.private IReasonerReasonerFrontend. getActualReasoner(Configuration configuration, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration)Returns the actual and matching reasoner.private ReasonerAdapter.IReasonerAdapterReasonerAdapter. getAdapter(Configuration cfg, ReasonerConfiguration reasonerConfiguration)Returns the adapter for the given configuration.booleanReasonerFrontend. hasReasonerCapability(IReasonerCapability capability, ReasonerConfiguration reasonerConfiguration)Return whether the current reasoner hint has a specific capability.ReasoningResultAbstractChainedReasoner. isConsistent(Project project, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.FrontendReasonerAdapter. isConsistent(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.InstanceReasonerAdapter. isConsistent(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.IReasonerAdapter. isConsistent(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks whether a given variability model (project) is satisfiable.ReasoningResultReasonerAdapter. isConsistent(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks whether a given variability model (project) is satisfiable.ReasoningResultReasonerFrontend. isConsistent(Project project, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks whether a given variability model (project) is satisfiable.ReasoningResultAbstractChainedReasoner. propagate(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)ReasoningResultReasonerAdapter.FrontendReasonerAdapter. propagate(Configuration cfg, ReasonerConfiguration rConfig, ProgressObserver observer)ReasoningResultReasonerAdapter.InstanceReasonerAdapter. propagate(Configuration config, ReasonerConfiguration rConfig, ProgressObserver observer)ReasoningResultReasonerAdapter.IReasonerAdapter. propagate(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given model and propagates values, if possible.ReasoningResultReasonerAdapter. propagate(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given model and propagates values, if possible.ReasoningResultReasonerFrontend. propagate(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given model and propagates values, if possible.Constructors in net.ssehub.easy.reasoning.core.frontend with parameters of type ReasonerConfiguration Constructor Description ReasoningProcess(ReasoningOperation desiredOperation, Configuration config, ReasonerConfiguration reasonerConfig, IReasonerListener listener, ProgressObserver observer)Sole constructor for this class.ReasoningProcess(Project project, ReasonerConfiguration reasonerConfig, IReasonerListener listener, ProgressObserver observer)Constructor for checking the consistency (satisfiability) of a project, without having a configuration. -
Uses of ReasonerConfiguration in net.ssehub.easy.reasoning.core.impl
Methods in net.ssehub.easy.reasoning.core.impl with parameters of type ReasonerConfiguration Modifier and Type Method Description static ValueCreationResultReasonerHelper. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable. -
Uses of ReasonerConfiguration in net.ssehub.easy.reasoning.core.reasoner
Fields in net.ssehub.easy.reasoning.core.reasoner declared as ReasonerConfiguration Modifier and Type Field Description private ReasonerConfigurationDelegatingReasonerInstance. rConfigMethods in net.ssehub.easy.reasoning.core.reasoner that return ReasonerConfiguration Modifier and Type Method Description ReasonerConfigurationReasonerConfiguration. disableCustomMessages()Disable custom messages.ReasonerConfigurationReasonerConfiguration. enableCustomMessages()Enables custom messages.ReasonerConfigurationDelegatingReasonerInstance. getReasonerConfiguration()ReasonerConfigurationReasonerConfiguration. setAdditionalInformationLogger(ReasonerConfiguration.IAdditionalInformationLogger logger)Defines the additional information logger.ReasonerConfigurationReasonerConfiguration. setAttributeValues(AttributeValues attributeValues)Changes attribute values for reasoning.ReasonerConfigurationReasonerConfiguration. setDefaultReasoner(ReasonerDescriptor defaultReasoner)Changes the default reasoner.ReasonerConfigurationReasonerConfiguration. setIncrementalMode(boolean incremental)Defines whether runtime incremental reasoning shall be performend.ReasonerConfigurationReasonerConfiguration. setRuntimeMode(boolean runtime)Defines whether runtime reasoning reasoning shall be activated.ReasonerConfigurationReasonerConfiguration. setTimeout(int timeout)Changes the timeout for reasoning.Methods in net.ssehub.easy.reasoning.core.reasoner with parameters of type ReasonerConfiguration Modifier and Type Method Description static booleanAttributesCheckVisitor. check(Configuration configuration, ReasonerConfiguration reasonerConfiguration, ReasoningResult result)Checks the givenconfigurationwith respect tovaluesand adjustsresultif required.ReasoningResultIReasoner. check(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given project structure and does not affect the configuration.IReasonerInstanceIReasoner. createInstance(Configuration cfg, ReasonerConfiguration reasonerConfiguration)Creates a reasoner instance for repeated reasoning on the same model (no structural changes allowed during two subsequent reasoning runs).ValueCreationResultIReasoner. createValue(Configuration cfg, AbstractVariable var, IDatatype type, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Creates the value for a certain IVML type/variable.EvaluationResultIReasoner. evaluate(Configuration cfg, java.util.List<Constraint> constraints, ReasonerConfiguration reasonerConfiguration, 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.static AttributeValuesReasonerConfiguration. getAttributeValues(ReasonerConfiguration config)Null-safe access to the attribute values.intReasonerConfiguration. getTimeout(ReasonerConfiguration configuration)Returns the specific timeout for reasoning.ReasoningResultIReasoner. initialize(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Initializes the configuration according to the given model and propagates values, if possible.ReasoningResultIReasoner. isConsistent(Project project, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks whether a given variability model (project) is satisfiable.voidReasoningResult. logInformation(Project prj, ReasonerConfiguration rConfig)Logs reasoning summary based onprj, the measures and the messages.voidReasoningResult. logInformation(Project prj, ReasonerConfiguration rConfig, boolean withMessages)Logs reasoning summary based onprj, the measures and the messages.ReasoningResultIReasoner. propagate(Configuration cfg, ReasonerConfiguration reasonerConfiguration, ProgressObserver observer)Checks the configuration according to the given model and propagates values, if possible.Constructors in net.ssehub.easy.reasoning.core.reasoner with parameters of type ReasonerConfiguration Constructor Description DelegatingReasonerInstance(Configuration config, ReasonerConfiguration rConfig, IReasoner delegate)Creates a delegating reasoner instance. -
Uses of ReasonerConfiguration in net.ssehub.easy.reasoning.sseReasoner
Fields in net.ssehub.easy.reasoning.sseReasoner declared as ReasonerConfiguration Modifier and Type Field Description private ReasonerConfigurationResolver. reasonerConfigprivate ReasonerConfigurationReasoner.ReasonerInstance. reasonerConfigurationMethods in net.ssehub.easy.reasoning.sseReasoner that return ReasonerConfiguration Modifier and Type Method Description ReasonerConfigurationReasoner.ReasonerInstance. getReasonerConfiguration()Constructors in net.ssehub.easy.reasoning.sseReasoner with parameters of type ReasonerConfiguration Constructor Description Engine(Configuration cfg, ReasonerConfiguration reasonerConfig, ProgressObserver observer, IReasonerInterceptor interceptor)Main constructor for creating an instance of the reasoner.ReasonerInstance(Configuration cfg, ReasonerConfiguration reasonerConfiguration, IReasonerInterceptor interceptor)Creates a reusable reasoner instance.Resolver(Configuration config, ReasonerConfiguration reasonerConfig)Main constructor that activates Resolver constructor.
-