- AbstractConstraintProcessor - Class in net.ssehub.easy.reasoning.sseReasoner.functions
-
Interface for a generic constraint processor functor (avoid collections, process directly).
- AbstractConstraintProcessor() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.functions.AbstractConstraintProcessor
-
- AbstractConstraintProcessor.ExpressionType - Enum in net.ssehub.easy.reasoning.sseReasoner.functions
-
Expression types.
- accept(ConstraintSyntaxTree, IModelElement, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
Accepts the results of a container constraints finder and derives constraints from the
contained constraints / constraint values.
- accept(ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Accepts this on cst and returns BasicCopyVisitor.getResult().
- accept(Constraint, Configuration) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
Accepts and visits a constraint.
- acceptAndClear(ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Accepts
this on
cst, returns
BasicCopyVisitor.getResult() and
clears
this.
- acceptAndClear(Constraint, Configuration) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- acceptAndClear(Constraint, Configuration, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- acceptAndClear(Iterable<Constraint>, Configuration, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- activate(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Re-activates the context registered for decl and re-pushes it onto the stack.
- activate(ComponentContext) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
Private method to activate plugin.
- add - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- add(AbstractVariable, Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Adds a relationship between variable and constraint.
- addAll(Collection<T>, S[]) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Adds all elements from source to target.
- addAll(IDecisionVariable, ConstraintList) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Relates all constraints to the declaration of variable and the declarations of
all parent variables of variable.
- addAll(AbstractVariable, ConstraintList) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Relates all constraints to declaration.
- addAssignedVariable(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
Method for registering a variable that was assigned.
- addAssignedVariableToScope(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Adds an assigned variable to the current scope.
- addConstraint(ConstraintList, Constraint, boolean, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Adding a constraint to a constraint set, checking for contained container/compound initializers if
requested.
- addProblemConstraint(Constraint, FailedElementDetails) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Method for adding failed constraints and associated details.
- addProblemVariable(AbstractVariable, FailedElementDetails) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Method for adding failed variable and associated IDecisionVariable.
- addRefines(Compound, Set<Compound>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Adds all refines of cmp to result.
- addVariable(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInConstraintFinder
-
- addVariableMapping(AbstractVariable, AbstractVariable, int) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Adds a variable mapping to be considered during copying.
- allAssignmentConstraints(AttributeAssignment, AbstractConstraintProcessor) - Static method in class net.ssehub.easy.reasoning.sseReasoner.functions.ConstraintFunctions
-
Processes all assignment constraints.
- allCompoundConstraints(Compound, AbstractConstraintProcessor, boolean, boolean, IModelElement) - Static method in class net.ssehub.easy.reasoning.sseReasoner.functions.ConstraintFunctions
-
Processes all constraints relevant to the given Compound.
- alreadyProcessed(IDatatype) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns whether type was already processed.
- analyzeEvaluationResult(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Records information about the evaluation result, failed evaluation messages.
- analyzeProblemConstraints(FailedElements) - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for analyzing problem points - failed constraints and associated variables.
- analyzeProblemVariables(FailedElements) - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for analyzing failed elements and creating error messages.
- annotationMapper - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- assignmentState - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- cAcc - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- cfg - Variable in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- check(Project, Configuration, ReasonerConfiguration, ProgressObserver) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- check(ProgressObserver) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- checkForConstraint(IDatatype, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
Checks for a constraint expression.
- CheckInitializerVisitor - Class in net.ssehub.easy.reasoning.sseReasoner
-
Visits constraints and checks for contained constraints for constraint variables.
- CheckInitializerVisitor(Resolver) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
Creates the visitor.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Clears this instance for reuse.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.EvalVisitor
-
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Clears this instance.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Clears the stack, i.e., pops all contexts and clears the top-most (project) context for re-use.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
Clears this context.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Clears this visitor for reuse.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInConstraintFinder
-
Clears this visitor for reuse.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
Clears this visitor for reuse.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Clears this instance for reuse.
- clear - Variable in class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Clears this instance for reuse to free most of the resources.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
Clears the mapper.
- clear() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
Clears the parameters for reuse.
- clearFailedInfo() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Clears information about failed elements.
- clearScopeAssignments() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
Method for clearing all scope assignments.
- clearVariableMapping(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Clears the mapping for a given variable.
- clearVariableMapping() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Clears the entire variable mapping.
- collectRefines(IDatatype, IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Collects all refines from start excluding all originating at exclude.
- collectRefines(Compound, IDatatype, boolean, Set<Compound>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Collects all refines from cmp excluding all originating at exclude, adding
or removing following compounds based on add storing the results in result.
- composeExpression(ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Composes an all-quantified expression over the contexts of the stack.
- CompoundAnnotationMapper() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- config - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- conflictingDefault(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Will be called after a failure was detected in a default constraint of an AbstractVariable.
- constraint - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- constraintBase - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- constraintBase - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.ReasonerState
-
- constraintCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for returning the overall count of evaluated constraints in the model.
- constraintCounter - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- ConstraintFunctions - Class in net.ssehub.easy.reasoning.sseReasoner.functions
-
- ConstraintFunctions() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.functions.ConstraintFunctions
-
- constraintMap - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInNotSimpleAssignmentConstraintsFinder
-
- ConstraintTranslationVisitor() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver.ConstraintTranslationVisitor
-
- constraintVariableMap - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
- constraintVariables - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- container - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- containsMapping(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns whether the current context contains a mapping for var.
- containsSelf - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
- containsSelf() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Returns whether the last execution visited a self.
- Context() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- contextContainsMapping(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Returns whether the current context contains a mapping for var.
- contextRegisterMapping(AbstractVariable, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Registers a mapping between the variable var and its actual access expression acc into
the current top-most context.
- contexts - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- ContextStack - Class in net.ssehub.easy.reasoning.sseReasoner.model
-
Implements a context stack for nested translations.
- ContextStack() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Creates a context stack with implicit top-most (project) context.
- ContextStack.Context - Class in net.ssehub.easy.reasoning.sseReasoner.model
-
A linked stack entry.
- copiedState - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- copyFrom(VariablesMap) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Copies all registrations from map.
- countSlots(Compound, String, boolean) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Counts the number of slots with given name in the refines hierarchy
of cmp.
- createAsTypeCast(ConstraintSyntaxTree, IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a type cast ("asType" operation, if needed) from the type of exp to targetType
applied to exp.
- createAsTypeCast(ConstraintSyntaxTree, IDatatype, IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a type cast ("asType" operation, if needed) from sourceType to targetType
applied to exp.
- createCleanConfiguration(Project) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for creating a clean Configuration.
- createConfiguration(Project, Configuration, ReasonerConfiguration, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
Method for creating a clean Configuration if required.
- createConstraintFromValue(Value) - Method in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
Creates a constraint from a value.
- createConstraintVariableConstraint(ConstraintSyntaxTree, ConstraintSyntaxTree, AbstractVariable, IModelElement, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Creates a constraint for a (nested) constraint variable adding the result to
#constraintVariablesConstraints.
- createConstraintVariableConstraint(ConstraintSyntaxTree, AbstractVariable, boolean, IModelElement, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- createContainerCall(ConstraintSyntaxTree, Operation, ConstraintSyntaxTree, DecisionVariableDeclaration...) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a container operation call ("shortcut").
- createContainerConstraintValueConstraints(ContainerValue, ConstraintSyntaxTree, AbstractVariable, IModelElement, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Checks a container value for nested constraint values, i.e., values of nested constraint variables.
- createEvaluationVisitor() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Factory method for creating the evaluation visitor.
- createInstance(Project, Configuration, ReasonerConfiguration) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- createMessage(String) - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for creating custom message fields.
- createParentExpression(IDecisionVariable) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates an expression representing the parent of variable.
- createTypeValue(IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a type value.
- createTypeValueConstant(IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a type value constraint tree node.
- createTypeValueConstantSafe(IDatatype) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Creates a type value constraint tree node and logs occurring exceptions.
- currentContext - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
- currentScopeSet - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
- getConstraintsForVariable(IConfigurationElement) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Returns the constraints registered for variable.
- getConstraintValueConstraintExpression(Value) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Returns the expression for a constraint to be created for a constraint variable.
- getConstraintVariable(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Returns the variable currently assigned to constraint.
- getContextStack() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.AbstractConstraintProcessor
-
Returns the context stack, e.g., for type exclusions.
- getContextStack() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
- getCurrentContainer() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns the current container expression from the top-most context.
- getCurrentIterator() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns the current iterator variable from the top-most context.
- getCurrentType() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns the type stored in the current context.
- getDecisionVariableForConstraint(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Returns the decision variable for constraint.
- getDeclarationSize() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Number of all variables found in constraints (should be replacesd by other method detecting nuber of
variables in the model).
- getDeepestContainedType(Container) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Returns the deepest contained type, i.e., for a nested container the deeply nested (base) type.
- getDescriptor() - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- getDescriptor() - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- getErrorClassifier() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for returning error classifier.
- getEvaluationTime() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for getting evaluation time of the model.
- getEvaluationTime() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Returns the time used for evaluation.
- getFailedConstraintPart() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for checking part of a failed constraints against null.
- getFailedElements() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for retrieving
FailedElements with failed
Constraints and
IDecisionVariables.
- getFrozenVariablesCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInConstraintFinder
-
Returns the number of frozen variables used in the visited constraint.
- getLocalVariablesCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInConstraintFinder
-
Returns the number of local variables used in the visited constraint.
- getMapping(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns the mapped access expression for var taking into account all current
contexts of the stack starting with the current top-most one.
- getProblemConstraint() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for returning the failed Constraint Constraint.
- getProblemConstraintMap() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
- getProblemConstraintPart() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for returning a part of failed Constraints ConstraintSyntaxTree.
- getProblemConstraints() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Returns a Iterator - problem Constraints.
- getProblemPoints() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for returning a set of IDecisionVariables that may caused a constraint to fail.
- getProblemVariableMap() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
- getProblemVariables() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Returns a Iterator - problem AbstractVariables.
- getReevaluationCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for getting reevaluation count of the model.
- getRelevantConstraints(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Returns all constraints, where the specifies declaration was used inside.
- getRelevantValue(AbstractVariable, IDecisionVariable, boolean) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Returns the relevant value for reasoning.
- getRelevantValue(AbstractVariable, IDecisionVariable, boolean, Class<D>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Returns the relevant value for reasoning.
- getTargetState(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.EvalVisitor
-
- getTranslationTime() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Returns the time used for translation.
- getUsedCompoundTypes(Value, Set<Compound>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Returns the used types if value is a container value.
- getVariablesCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesInConstraintFinder
-
Returns the number of variables used in the visited constraint.
- globalExcludes - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
- globalMapping - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
- parent - Variable in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
- POOL - Static variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
- popContext() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Removes (and clears) the current context from the stack (except for the initial project context
which remains).
- popContextImpl() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Pops the actual context if not the initial (project) context but does not clean up the popped context.
- predecessor - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- printConstraintEvaluationResult(Constraint, EvaluationVisitor) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Prints a constraint evaluation result (for debugging).
- printConstraints(String, Iterable<Constraint>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Prints a constraints collection, each constraint including top-levle parent and system identity
hashcodes [DEBUGGING].
- printFailedElements(FailedElements) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Method for displaying failed constraints and assignments.
- printMessage(Message) - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for printing out Message.
- printModelElement(IDecisionVariable) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Method for printing info about IDecisionVariable.
- printModelElements(Configuration, String) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Method for printing all variables, their states and values.
- printProblemPoints(Set<IDecisionVariable>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Method for printing all problem points.
- problemConstraint - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
- problemConstraintCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Returns the number of problem constraints.
- problemConstraintPart - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
- problemConstraintParts - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- problemConstraints - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- problemConstraints - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
- problemCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Returns the total number of failed elements ( Constraint and AbstractVariable ).
- problemDecisions - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- problemPoints - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
- problemVariables - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
- problemVariabletCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Returns the number of problem variables.
- process - Variable in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
- process(ConstraintSyntaxTree, AbstractConstraintProcessor.ExpressionType, String, IModelElement) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.AbstractConstraintProcessor
-
Processes a constraint syntax tree.
- process(Constraint, AbstractConstraintProcessor.ExpressionType) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.AbstractConstraintProcessor
-
Processes a constraint (taking over the parent of constraint).
- process(ConstraintSyntaxTree, AbstractConstraintProcessor.ExpressionType, String, IModelElement) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
- processAttribute(Attribute) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- processAttributeAssignment(AttributeAssignment) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- processCompoundEvals(Compound, ConstraintSyntaxTree, AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for extracting constraints from compounds eval blocks (also refined compounds).
- processedTypes - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- processEvalConstraints(PartialEvaluationBlock, ConstraintSyntaxTree, AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for handling eval blocks - searching for nested eval blocks and extracting constraints.
- project - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- project - Variable in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- project - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- projects - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- projectVisitor - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- propagate(Project, Configuration, ReasonerConfiguration, ProgressObserver) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- propagate(ProgressObserver) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- providesAffectedVariables() - Method in class net.ssehub.easy.reasoning.sseReasoner.Descriptor
-
- purgeRefines(Set<Compound>, Set<Compound>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Purges all refined compounds mentioned in compounds.
- purgeRefines(Compound, Set<Compound>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Purges all refined compounds of comp from result.
- pushContext(AbstractVariable, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Pushes a new (compound) context to the stack.
- pushContext(AbstractVariable, ConstraintSyntaxTree, DecisionVariableDeclaration, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Pushes a new container context to the stack.
- pushContextImpl(ContextStack.Context) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Just pushes the given context without changing it.
- reason() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Method for lunching reasoning
- Reasoner - Class in net.ssehub.easy.reasoning.sseReasoner
-
This class is the EASy Producer Reasoner implementation for reasoning over IVML projects and configurations.
- Reasoner() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- Reasoner.ReasonerInstance - Class in net.ssehub.easy.reasoning.sseReasoner
-
A reusable reasoner instance.
- reasonerConfig - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- reasonerConfiguration - Variable in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- ReasonerInstance(Project, Configuration, ReasonerConfiguration, IReasonerInterceptor) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
Creates a reusable reasoner instance.
- ReasonerLogger - Class in net.ssehub.easy.reasoning.sseReasoner.functions
-
Adapter/Wrapper for drools to enable logging via static methods.
- ReasonerLogger() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.functions.ReasonerLogger
-
- ReasonerState() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver.ReasonerState
-
- ReasoningUtils - Class in net.ssehub.easy.reasoning.sseReasoner.model
-
Utility methods for reasoning/constraint resolution.
- ReasoningUtils() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
- recordProcessed(IDatatype) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
- recordProcessed(Set<IDatatype>, Compound) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Records a processed compound.
- recordProcessedTypes - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- reevaluationCount - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- reevaluationCount() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for returning the overall number of reevaluations in the model.
- reevaluationCounter - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- registerCompoundMapping(Compound, ConstraintSyntaxTree, IDecisionVariable, Variable, IDatatype) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Registers the mapping for a compound type.
- registerConstraint(IDecisionVariable, Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Registers constraint with constraint variable variable.
- registerConstraint(IDecisionVariable, Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Registers a variable and associated constraint.
- registerContexts - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
- registeredContexts - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- registerMapping(AbstractVariable, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Registers a mapping between the variable var and its actual access expression acc into
the current top-most context.
- reInit() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Re-initializes this resolver instance to allocated resources only if really needed.
- reInit() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Re-initializes this resolver instance to allocated resources only if really needed.
- remove(AbstractVariable, Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Removes a relationship between variable and constraint.
- removeAll(Collection<Constraint>, Collection<Constraint>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Removes constraints from a constraints collection printing those constraints that have been removed.
- removeAll(Map<K, ?>, Collection<K>) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Removes all elements in remove as keys from map.
- removeAll(IDecisionVariable, Collection<Constraint>) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Unrelates all constraints from the declaration of variable and all declarations of
parent variables of variable.
- removeAll(AbstractVariable, Collection<Constraint>) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.VariablesMap
-
Unrelates all constraints from declaration.
- removeProblemConstraint(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Removes a problem point through its constraint.
- removeProblemConstraints(List<Constraint>) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElements
-
Removes problem points through several constraint.
- reschedule(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Tries rescheduling the given constraints.
- rescheduleConstraintsForChilds(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
Determines the constraints needed for variable and its (transitive) child slots.
- rescheduleConstraintsForParent(IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
Determines the constraints needed for the parents of variable.
- rescheduler - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- rescheduleValueChange(IDecisionVariable, IDecisionVariable, Value, boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
Re-schedules a changed constraint value but only if rescheduling is needed.
- RescheduleValueChangeVisitor - Class in net.ssehub.easy.reasoning.sseReasoner
-
Reschedules value changes.
- RescheduleValueChangeVisitor(Resolver) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
Creates a rescheduling value change visitor for a certain resolver instance.
- resolve() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Resolves the (initial) values of the configuration.
- resolver - Variable in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
- resolver - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- resolver - Variable in class net.ssehub.easy.reasoning.sseReasoner.RescheduleValueChangeVisitor
-
- Resolver - Class in net.ssehub.easy.reasoning.sseReasoner
-
Constraint identifier, resolver and executor.
- Resolver(Project, Configuration, ReasonerConfiguration) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Main constructor that activates Resolver constructor.
- Resolver(Project, ReasonerConfiguration) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Main constructor that activates Resolver constructor with clean Configuration.
- Resolver(Configuration, ReasonerConfiguration) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Main constructor that activates Resolver constructor.
- Resolver.CompoundAnnotationMapper - Class in net.ssehub.easy.reasoning.sseReasoner
-
Implements a compound annotation mapper.
- Resolver.ConstraintTranslationVisitor - Class in net.ssehub.easy.reasoning.sseReasoner
-
Visits the contents of a project for translation.
- Resolver.OtherConstraintsProcessor - Class in net.ssehub.easy.reasoning.sseReasoner
-
Implements a processor for constraints, for which variables (including the variable mapping) shall be substituted
and the result shall be added to
Resolver.otherConstraints.
- Resolver.ReasonerState - Class in net.ssehub.easy.reasoning.sseReasoner
-
Represents the state of the resolver/reasoner to be kept in case of incremental reasoning.
- result - Variable in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
- reuseInstance - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- scopeAssignments - Variable in class net.ssehub.easy.reasoning.sseReasoner.EvalVisitor
-
- ScopeAssignments - Class in net.ssehub.easy.reasoning.sseReasoner.functions
-
Class contains variables that were assigned in a specific scope..
- ScopeAssignments() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
Sole constructor.
- scopeAssignments - Variable in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
- scopeAssignments - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- self - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
- self - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
- selfEx - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
- selfEx - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
- SET_COMPOUND_POOL - Static variable in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
A set pool for instances of Set.
- setAssignmentState(IAssignmentState) - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Sets the desired assignment state.
- setAssignmentState(IAssignmentState) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Sets the desired assignment state.
- setCurrentScope(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
Defines the current scope due to the parents of the given constraint.
- setCurrentScope(IModelElement) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.ScopeAssignments
-
Defines the current scope.
- setErrorClassifier(Integer) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for adding error classifier.
- setIncremental(boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Sets whether reasoning shall happen incrementally.
- setInterceptor(IReasonerInterceptor) - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner
-
- setInterceptor(IReasonerInterceptor) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Defines the optional interceptor instance.
- setMappings(ContextStack) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Sets the mapping.
- setParameter(ConstraintSyntaxTree, AbstractVariable, IDecisionVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver.OtherConstraintsProcessor
-
Sets the parameters for processing.
- setProblemConstraint(Constraint) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for adding the failed Constraints Constraint.
- setProblemConstraintPart(ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for adding a part of failed Constraints ConstraintSyntaxTree.
- setProblemPoints(Set<IDecisionVariable>) - Method in class net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
Method for adding a set of IDecisionVariables that may caused a constraint to fail.
- setRegisterContexts(boolean) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Enables or disables registering contexts.
- setScopeAssignments(ScopeAssignments) - Method in class net.ssehub.easy.reasoning.sseReasoner.EvalVisitor
-
Method for setting ScopeAssignments register to check if variable was already assigned in this scope.
- setSelf(ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Defines self in terms of an expression.
- setSelf(AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Defines self in terms of a variable declaration.
- setTypeExcludes(Set<? extends IDatatype>) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Sets type excludes on the current context.
- setValue(IDecisionVariable, Constraint) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Sets a constraint value.
- simpleAssignmentFinder - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- size() - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Returns the size of the context stack.
- stop() - Method in class net.ssehub.easy.reasoning.sseReasoner.Engine
-
Stops/terminates reasoning.
- stop() - Method in class net.ssehub.easy.reasoning.sseReasoner.Reasoner.ReasonerInstance
-
- stop() - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Stops/terminates reasoning.
- substituteVariables(ConstraintSyntaxTree, ConstraintSyntaxTree, AbstractVariable) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- substituteVars - Variable in class net.ssehub.easy.reasoning.sseReasoner.CheckInitializerVisitor
-
- SubstitutionVisitor - Class in net.ssehub.easy.reasoning.sseReasoner.model
-
Substitutes variables in a constraint syntax tree by copying the syntax tree.
- SubstitutionVisitor() - Constructor for class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Creates a copy visitor without mapping.
- SubstitutionVisitor(ContextStack) - Constructor for class net.ssehub.easy.reasoning.sseReasoner.model.SubstitutionVisitor
-
Creates a copy visitor with explicit mapping.
- substVisitor - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- target - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- toIvmlString(Constraint) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Turns a constraint into a string.
- toIvmlString(ConstraintSyntaxTree) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Turns a constraint syntax tree into a string.
- topLevelConstraints - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- toStringAttributes(IDecisionVariable) - Static method in class net.ssehub.easy.reasoning.sseReasoner.model.ReasoningUtils
-
Method for displaying all variable attributes.
- transferTypeExcludes(IDatatype) - Method in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack
-
Transfers the type excludes from the next enclosing context defining type excludes to the current
context.
- translateAnnotationAssignment(AttributeAssignment.Assignment, DecisionVariableDeclaration, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Method for creating attribute constraint for a specific element.
- translateAnnotationAssignments(AttributeAssignment, IDecisionVariable, List<AttributeAssignment.Assignment>, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates attribute assignments.
- translateAnnotationDeclaration(Attribute, IDecisionVariable, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates an annotation declaration.
- translateAnnotationDeclarations(AbstractVariable, IDecisionVariable, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates annotation declarations.
- translateCompoundContainer(AbstractVariable, Compound, IDatatype, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates an entire compound container decl including defaults and constraints for the specific
type cmpType (iterate through all relevant types).
- translateCompoundContent(AbstractVariable, IDecisionVariable, Compound, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates the compound content.
- translateCompoundDeclaration(AbstractVariable, IDecisionVariable, ConstraintSyntaxTree, Compound, int) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- translateConstraints(Project) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates and collects all constraints in
project by adding the collected constraints to the
Resolver.constraintBase.
- translateContainerDeclaration(AbstractVariable, IDecisionVariable, IDatatype, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates the (transitive) defaults and type constraints for a container declaration.
- translateDeclaration(AbstractVariable, IDecisionVariable, ConstraintSyntaxTree) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates the (transitive) defaults and type constraints for a declaration.
- translateDerivedDatatypeConstraints(AbstractVariable, IDatatype, DecisionVariableDeclaration, IModelElement, int) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Extracts, translates and collects the internal constraints of type (if derived or, transitively, a
reference datatype) and stores the constraints in #derivedTypeConstraints.
- translateValueTypeChange(IDecisionVariable, Value, Value) - Method in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
Translates/reschedules a change of value types for compound values.
- translationTime - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver
-
- type - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-
- type - Variable in class net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
-
- typeExcludes - Variable in class net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
-