Uses of Interface
net.ssehub.easy.varModel.confModel.IDecisionVariable
-
Packages that use IDecisionVariable Package Description net.ssehub.easy.instantiation.core.model.vilTypes.configuration All classes related to the EASy integration of configuration and decisions.net.ssehub.easy.instantiation.velocity This package contains the VIL instantiator realization of Apache's Velocity.
For more information please visit the Velocity project page.net.ssehub.easy.integration.common.impl Defines the a readable interface to IVML/EAsY.net.ssehub.easy.producer.ui.confModel This package holds a GUI representation of the configuration with methods and additional information as needed by the Eclipse UI.net.ssehub.easy.producer.ui.productline_editor This package contains the editor for configuring the product line.net.ssehub.easy.producer.ui.productline_editor.configuration This package holds classes for the configuration editor and super classes for similar configuration editors.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.net.ssehub.easy.reasoning.sseReasoner.functions Package contains custom functions for IVML.net.ssehub.easy.reasoning.sseReasoner.model Package for creating a reasoning model: constraint container, project hierachy evaluator and other.net.ssehub.easy.varModel.confModel This package represents a specific variability model configuration.net.ssehub.easy.varModel.confModel.paths Support for deferred resolution paths.net.ssehub.easy.varModel.cst Package for elements of the constraint syntax tree.net.ssehub.easy.varModel.cstEvaluation Implements the evaluation of constraint syntax trees.net.ssehub.easy.varModel.model.filter This package contains utility classes for filtering the model for specific model elements.net.ssehub.easy.varModel.model.filter.mandatoryVars Filter for finding mandatory declarations.net.ssehub.easy.varModel.model.rewrite Classes for creating an (adapted) copy of theProject.net.ssehub.easy.varModel.model.rewrite.modifier Modifier for theProjectRewriteVisitor. -
-
Uses of IDecisionVariable in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Classes in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that implement IDecisionVariable Modifier and Type Class Description private static classAbstractIvmlVariable.DecVarImplements a dynamic mapping of nested (container) values to temporary decision variables.Fields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariable[]AbstractIvmlVariable.DecVar. nestedprotected IDecisionVariableAbstractIvmlVariable. origVariableprivate IDecisionVariableAbstractIvmlVariable.DecVar. parentprotected IDecisionVariableAbstractIvmlVariable. variableFields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Set<IDecisionVariable>SetVariablesFilter. enabledprivate java.util.Set<IDecisionVariable>ConfigurationContextResolver.HashFilter. filterMapprivate java.util.List<IDecisionVariable>ConfigurationContextResolver.ResolutionList. listprivate java.util.Map<IDecisionVariable,Value>ChangeHistory. originalValuesprivate java.util.Set<IDecisionVariable>ConfigurationContextResolver.ResolutionList. setMethods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return IDecisionVariable Modifier and Type Method Description IDecisionVariableConfigurationContextResolver.ResolutionList. get(int index)Returns the variable at the specified position.IDecisionVariableAbstractIvmlVariable.DecVar. getAttribute(int index)IDecisionVariableAbstractIvmlVariable. getDecisionVariable()Return the underlying decision variable for internal purpose, such as velocity.IDecisionVariableAbstractIvmlVariable.DecVar. getNestedElement(int index)IDecisionVariableAbstractIvmlVariable.DecVar. getNestedElement(java.lang.String name)IDecisionVariableAbstractIvmlVariable. getVariable()Returns the underlying IVML (un-dereferenced) variable.Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return types with arguments of type IDecisionVariable Modifier and Type Method Description private java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>>ConfigurationContextResolver. collectReferences()Collects all references in the configuration.Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type IDecisionVariable Modifier and Type Method Description voidConfigurationContextResolver.ResolutionList. add(IDecisionVariable var)Adds a variable.private voidConfigurationContextResolver. augment(IDecisionVariable dVar, boolean viaParent)AugmentsdVarand its transitive parents.private voidAbstractIvmlVariable. changeValue(IDecisionVariable toChange, java.lang.Object value)Changes the value of the given variable.private voidConfigurationContextResolver. collectReference(IDecisionVariable var, Value val, java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>> references)Collects the references for a variable and a single value (entry in case of a collection).private voidConfigurationContextResolver. collectReferences(IDecisionVariable var, java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>> references)Collects the references for a single variable.booleanConfigurationContextResolver.ResolutionList. contains(IDecisionVariable var)Returns whether the list already containsvar.private voidAbstractIvmlVariable. createValue(IDecisionVariable var, IDatatype type)Creates a value for the giventypeviaa safe reasoner adapter.private AbstractIvmlVariableConfigurationContextResolver. createVilInstance(IDecisionVariable decVar, Configuration configuration)Obtains a mapping instance fromconfigurationor creates a new one.DecisionVariableConfiguration. findVariable(IDecisionVariable var)Searches for the VIL instance holdingvar.private DecisionVariableConfiguration. findVariable(IDecisionVariable var, DecisionVariable dVar)Searches forvarindVar, i.e., whetherdVaror one of its contained variables holdesvar.booleanConfigurationContextResolver.HashFilter. isEnabled(IDecisionVariable variable)booleanFrozenVariablesFilter. isEnabled(IDecisionVariable variable)booleanIVariableFilter. isEnabled(IDecisionVariable variable)Checks the given variable.booleanNoVariableFilter. isEnabled(IDecisionVariable variable)booleanSetVariablesFilter. isEnabled(IDecisionVariable variable)booleanAbstractIvmlVariable. isVariable(IDecisionVariable var)Returns whether this instances holdsvar.voidChangeHistory.ChangeListener. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)private voidConfigurationContextResolver. map(IDecisionVariable var, boolean viaParent)Map the variable and its nested variables to the configuration and follows references.private voidConfigurationContextResolver. mapVar(IDecisionVariable var, boolean resolve, boolean viaParent)Map the variable (without nested) to the configuration and follows references, but only if frozen.voidChangeHistory.ChangeListener. stateChanged(Configuration config, IDecisionVariable changedVariable)private static voidAbstractIvmlVariable. transferState(IDecisionVariable source, IDecisionVariable target)Transfers the states betweensourceandtarget.Method parameters in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type arguments of type IDecisionVariable Modifier and Type Method Description private voidChangeHistory.CSet. addAllDecisionVariables(java.util.Set<IDecisionVariable> result)Adds all original decision variables of allelementstoresult.private voidConfigurationContextResolver. collectReference(IDecisionVariable var, Value val, java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>> references)Collects the references for a variable and a single value (entry in case of a collection).private voidConfigurationContextResolver. collectReferences(IDecisionVariable var, java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>> references)Collects the references for a single variable.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type IDecisionVariable Constructor Description AbstractIvmlVariable(Configuration cfg, IDecisionVariable variable, IVariableFilter filter)Creates a new IVML variable.Attribute(Configuration parent, IDecisionVariable attribute, IVariableFilter filter)Creates a new attribute instance.DecisionVariable(Configuration cfg, IDecisionVariable variable, IVariableFilter filter)Creates a decision variable.DecVar(IDecisionVariable parent, Value value, DecisionVariableDeclaration decl)Creates a temporary decision variable.Constructor parameters in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type arguments of type IDecisionVariable Constructor Description SetVariablesFilter(java.util.Set<IDecisionVariable> enabled)Creates a variables filter from the given set. -
Uses of IDecisionVariable in net.ssehub.easy.instantiation.velocity
Fields in net.ssehub.easy.instantiation.velocity declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableVelocityContextInitializer. variableConstructors in net.ssehub.easy.instantiation.velocity with parameters of type IDecisionVariable Constructor Description VelocityContextInitializer(IDecisionVariable variable)Sole constructor, will immediately start the conversation. -
Uses of IDecisionVariable in net.ssehub.easy.integration.common.impl
Fields in net.ssehub.easy.integration.common.impl declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableDecisionVariable. valueConstructors in net.ssehub.easy.integration.common.impl with parameters of type IDecisionVariable Constructor Description DecisionVariable(DecisionVariableDeclaration variable, IDecisionVariable value)Creates a decision variable. -
Uses of IDecisionVariable in net.ssehub.easy.producer.ui.confModel
Fields in net.ssehub.easy.producer.ui.confModel declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableConfigEditorValueRetriever. variableprivate IDecisionVariableGUIHistoryItem. variableprivate IDecisionVariableGUIValueFactory.VariableVisitor. variableprivate IDecisionVariableGUIVariable. variableMethods in net.ssehub.easy.producer.ui.confModel that return IDecisionVariable Modifier and Type Method Description IDecisionVariableComboboxGUICellEditor. getVariable()IDecisionVariableGUIHistoryItem. getVariable()Getter for the variable.IDecisionVariableGUIVariable. getVariable()Returns the wrappedIDecisionVariable.IDecisionVariableTextGUICellEditor. getVariable()Methods in net.ssehub.easy.producer.ui.confModel with parameters of type IDecisionVariable Modifier and Type Method Description booleanIRangeRestriction. appliesTo(IDecisionVariable variable)Specifies which variables are restricted by this filter.(package private) voidGUIHistory. assignValue(IDecisionVariable variable)Stores a new value into thisGUIHistory.private static ComboboxGUIVariable.ComboItem[]GUIValueFactory. createComboItemArray(IDecisionVariable variable, int length)Creates the array for combobox items and pre-assigns the null value if required viaDisplayNameProvider.enableNullValueInConfiguration(IDecisionVariable).static ComboboxGUIVariable.ComboItem[]GUIValueFactory. createComboItems(IDecisionVariable variable, Reference reference)Creates combo items for the givenvariableof typereference.static GUIVariableGUIValueFactory. createVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent)Creates a newGUIVariable.static GUIVariableGUIValueFactory. createVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent, java.util.List<IRangeRestriction> rangeRestrictors)Creates a newGUIVariable.private GUIVariableErrorSetter. getVariable(IDecisionVariable variable)Recursive part ofErrorSetter.visitConstraint(Constraint): Maps a (nested)IDecisionVariableto the correct (nested)GUIVariable.(package private) static voidGUIVariable. replaceValue(IDecisionVariable decVar, Value value)Replaces the value indecVarbyvalue.voidGUIVariable. setVariable(IDecisionVariable variable)Setter for the wrappedIDecisionVariable.Constructors in net.ssehub.easy.producer.ui.confModel with parameters of type IDecisionVariable Constructor Description AbstractExpandableGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration parentConfig, GUIVariable varParent)Sole constructor for this class.BasisGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent)Sole constructor for this class.ComboboxGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, IDatatype type, ComboboxGUIVariable.ComboItem[] values, IGUIConfigurableElement confParent)Sole constructor for this class.CompoundGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent)Sole constructor for this class.ConfigEditorValueRetriever(IDecisionVariable variable)Sole constructor for this class for converting a givenIDecisionVariableto an Object so that the Eclipse editors are able to handle it.ContainerGUIVariable(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent)Sole constructor for this class.GUIHistoryItem(Value value, IAssignmentState state, IDecisionVariable variable, java.lang.Long lastEdited)Sole constructor for this class.GUIVariable(IDecisionVariable variable, GUIConfiguration parentConfig, GUIVariable parent, org.eclipse.swt.widgets.Composite composite)Sole constructor for this class.MultipleSelectionEditor(org.eclipse.swt.widgets.Composite composite, IDatatype refType, IDecisionVariable refVariable)Constructor for aMultipleSelectionEditor.TooltipCreator(IDecisionVariable variable)Sole constructor for this tooltip generator.VariableVisitor(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent)Sole constructor for this class.VariableVisitor(IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent, GUIConfiguration config, GUIVariable varParent, java.util.List<IRangeRestriction> rangeRestrictors)Sole constructor for this class. -
Uses of IDecisionVariable in net.ssehub.easy.producer.ui.productline_editor
Methods in net.ssehub.easy.producer.ui.productline_editor that return IDecisionVariable Modifier and Type Method Description IDecisionVariableIUpdateProvider. getVariable()Returns the underlying decision variable.Methods in net.ssehub.easy.producer.ui.productline_editor with parameters of type IDecisionVariable Modifier and Type Method Description static org.eclipse.jface.viewers.CellEditorConfigurationTableEditorFactory. createCellEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable)Creates a cell editor element for the given decision variable.static org.eclipse.jface.viewers.CellEditorConfigurationTableEditorFactory. createCellEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, java.util.List<IRangeRestriction> restrictors)Creates a cell editor element for the given decision variable.private static org.eclipse.jface.viewers.CellEditorConfigurationTableEditorFactory. createCellEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, ConfigurationTableEditorFactory.IEditorCreator creator)Tries to create a form editor control from an editor creator.org.eclipse.jface.viewers.CellEditorConfigurationTableEditorFactory.IEditorCreator. createCellEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent)Creates a cell editor for the givenvariable.static org.eclipse.swt.widgets.ControlConfigurationTableEditorFactory. createEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable)Creates a form editor element for the given decision variable.static org.eclipse.swt.widgets.ControlConfigurationTableEditorFactory. createEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, java.util.List<IRangeRestriction> restrictors)Creates a form editor element for the given decision variable.private static org.eclipse.swt.widgets.ControlConfigurationTableEditorFactory. createEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, ConfigurationTableEditorFactory.IEditorCreator creator)Tries to create a form editor control from an editor creator.org.eclipse.swt.widgets.ControlConfigurationTableEditorFactory.IEditorCreator. createEditor(ConfigurationTableEditorFactory.UIConfiguration config, IDecisionVariable variable, org.eclipse.swt.widgets.Composite parent)Creates a form editor for the givenvariable.org.eclipse.swt.widgets.ControlConfigurationTableEditorFactory.UIConfiguration. getEditorFor(IDecisionVariable var)Returns the control (of the editor for)var.voidConfigurationTableEditorFactory.UIConfiguration. updateEditor(IDecisionVariable variable)Updates editors using variable that has recently been changed.voidConfigurationTableEditorFactory.UIChangeListener. valueChanged(IDecisionVariable variable)Called when the givenvariableis updated/changed by theConfigurationTableEditorFactory.UIConfiguration.Constructors in net.ssehub.easy.producer.ui.productline_editor with parameters of type IDecisionVariable Constructor Description DelegatingGuiVariable(IDecisionVariable variable, GUIConfiguration parentConfig, org.eclipse.jface.viewers.CellEditor cellEditor)Creates an instance.DelegatingGuiVariable(IDecisionVariable variable, GUIConfiguration parentConfig, org.eclipse.swt.widgets.Control control)Creates an instance. -
Uses of IDecisionVariable in net.ssehub.easy.producer.ui.productline_editor.configuration
Methods in net.ssehub.easy.producer.ui.productline_editor.configuration with parameters of type IDecisionVariable Modifier and Type Method Description voidAbstractConfigMenu. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)voidAttributeValuesPage.AttributeTableEditor. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.voidAttributeValuesPage. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.voidConfigurationTableEditor. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)booleanAttributeValuesPage.TemporaryAttributesConfiguration. removeDecision(IDecisionVariable variable)Remove a specific decision.voidAbstractConfigMenu. stateChanged(Configuration config, IDecisionVariable changedVariable)voidAttributeValuesPage. stateChanged(Configuration config, IDecisionVariable changedVariable)voidConfigurationTableEditor. stateChanged(Configuration config, IDecisionVariable changedVariable)voidAttributeValuesPage.TemporaryAttributesConfiguration. valueChanged(IDecisionVariable changedVariable, Value oldValue)To be called when a value changed. -
Uses of IDecisionVariable in net.ssehub.easy.reasoning.core.reasoner
Fields in net.ssehub.easy.reasoning.core.reasoner declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableValueCreationResult. varFields in net.ssehub.easy.reasoning.core.reasoner with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.List<IDecisionVariable>ReasoningResult. affectedprivate java.util.List<IDecisionVariable>Message. constraintVariablesprivate java.util.List<java.util.Set<IDecisionVariable>>Message. problemVariablesMethods in net.ssehub.easy.reasoning.core.reasoner that return IDecisionVariable Modifier and Type Method Description IDecisionVariableReasoningResult. getAffectedVariable(int index)Returns the affected variable specified byindex.IDecisionVariableValueCreationResult. getVariable()Returns the holding variable.Methods in net.ssehub.easy.reasoning.core.reasoner that return types with arguments of type IDecisionVariable Modifier and Type Method Description java.util.List<IDecisionVariable>Message. getNamedConstraintVariables()Method for returning a list of ConstraintVariables of a failed constraint.java.util.List<java.util.Set<IDecisionVariable>>Message. getProblemVariables()Method for returning a list ofIDecisionVariables that are involved in each failed constraint.Methods in net.ssehub.easy.reasoning.core.reasoner with parameters of type IDecisionVariable Modifier and Type Method Description voidReasoningResult. addAffected(IDecisionVariable var)Adds a variable affected by reasoning.private booleanAttributesCheckVisitor. checkDecisionVariable(IDecisionVariable variable)Checks a single variable.private booleanAttributesCheckVisitor. checkDecisionVariable(IDecisionVariable attribute, IAssignmentState state)Checks a single variable.private static java.lang.StringAttributesCheckVisitor. getQualifiedName(IDecisionVariable variable)Returns the qualified name of the given decisionvariable.private java.lang.StringMessage. toString(Constraint constraint, IDecisionVariable namedVariable)Turns a constraint into a string representation.private java.lang.StringMessage. toString(ModelElement elt, IDecisionVariable namedVariable)Turns a model element into a string representation.voidAttributesCheckVisitor. visitDecisionVariable(IDecisionVariable variable)Method parameters in net.ssehub.easy.reasoning.core.reasoner with type arguments of type IDecisionVariable Modifier and Type Method Description voidMessage. addNamedConstraintVariables(java.util.List<IDecisionVariable> constraintVariables)Method for adding a list of ConstraintVariables of a failed constraint.voidMessage. addProblemVariables(java.util.List<java.util.Set<IDecisionVariable>> variables)Method for adding a list ofIDecisionVariables that are involved in each failed constraint.Constructors in net.ssehub.easy.reasoning.core.reasoner with parameters of type IDecisionVariable Constructor Description ValueCreationResult(IDecisionVariable var)Creates a value creation result. -
Uses of IDecisionVariable in net.ssehub.easy.reasoning.sseReasoner
Fields in net.ssehub.easy.reasoning.sseReasoner declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableCheckInitializerVisitor. variableprivate IDecisionVariableRescheduleValueChangeVisitor. variableprivate IDecisionVariableResolver.OtherConstraintsProcessor. variableprivate IDecisionVariableRescheduleValueChangeVisitor. varParentFields in net.ssehub.easy.reasoning.sseReasoner with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.List<IDecisionVariable>Engine. constraintVariablesprivate java.util.List<java.util.Set<IDecisionVariable>>Engine. problemDecisionsprivate java.util.Set<IDecisionVariable>Resolver. usedVariablesMethods in net.ssehub.easy.reasoning.sseReasoner that return IDecisionVariable Modifier and Type Method Description (package private) IDecisionVariableResolver. getConstraintVariable(Constraint constraint)Returns the variable currently assigned toconstraint.Methods in net.ssehub.easy.reasoning.sseReasoner with parameters of type IDecisionVariable Modifier and Type Method Description voidCheckInitializerVisitor. accept(ConstraintSyntaxTree cst, IModelElement parent, IDecisionVariable variable)Accepts the results of a container constraints finder and derives constraints from the contained constraints / constraint values.(package private) voidResolver. addAssignedVariableToScope(IDecisionVariable variable)Adds an assigned variable to the current scope.voidResolver. addConstraint(ConstraintList target, boolean first, Constraint constraint, IDecisionVariable register)private voidResolver. addConstraint(ConstraintList target, Constraint constraint, boolean checkForInitializers, IDecisionVariable variable, IDecisionVariable register)Adding a constraint to a constraint set, checking for contained container/compound initializers if requested.private voidResolver. addDefaultConstraint(AbstractVariable decl, ConstraintSyntaxTree defaultValue, Resolver.DefaultConstraints tmp, boolean enable, IDecisionVariable var)Adds a default constraint.private voidCheckInitializerVisitor. checkForConstraint(IDatatype type, ConstraintSyntaxTree cst, IDecisionVariable register)Checks for a constraint expression.(package private) java.util.List<Constraint>Resolver. cleanupConstraints(IDecisionVariable variable, boolean clear, java.util.Set<Compound> deleteFilter)Obtains and if specified clears old constraints in the internal reasoner data structures.(package private) ConstraintResolver. createConstraintVariableConstraint(ConstraintSyntaxTree cst, ConstraintSyntaxTree selfEx, AbstractVariable self, IModelElement parent, IDecisionVariable variable)Creates a constraint for a (nested) constraint variable adding the result to#constraintVariablesConstraints.(package private) ConstraintResolver. createConstraintVariableConstraint(ConstraintSyntaxTree cst, AbstractVariable self, boolean checkForInitializers, IModelElement parent, IDecisionVariable variable)Creates a constraint for a (nested) constraint variable adding the result toResolver.otherConstraints.(package private) voidResolver. createContainerConstraintValueConstraints(ContainerValue val, ConstraintSyntaxTree selfEx, AbstractVariable self, IModelElement parent, IDecisionVariable nestedVariable)Checks a container value for nested constraint values, i.e., values of nested constraint variables.protected IAssignmentStateEvalVisitor. getTargetState(IDecisionVariable var)private booleanEvalVisitor. isAssignable(IDecisionVariable var, IDecisionVariable compound)Method for determining if variable is valid for value assignment.private booleanRescheduleValueChangeVisitor. isValueTypeChange(IDecisionVariable variable, Value newValue, Value oldValue)Returns whether a value change fromoldValuetonewValueonvariableis a value type change.(package private) voidResolver. moveOtherConstraintsToConstraintBase(IDecisionVariable variable)Moves (temporary) constraints inResolver.otherConstraintsas created by constraint translation to the constraint base.voidRescheduleValueChangeVisitor. notifyChanged(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)voidResolver. notifyResolved(IDecisionVariable compound, java.lang.String slotName, IDecisionVariable resolved)voidResolver. notifyResolved(AbstractVariable declaration, IDecisionVariable resolved)voidRescheduleValueChangeVisitor. notifyUnresolved(IDecisionVariable variable)private voidResolver. processCompoundEvals(Compound cmpType, ConstraintSyntaxTree selfEx, AbstractVariable self, IDecisionVariable variable)Method for extracting constraints from compounds eval blocks (also refined compounds).private voidResolver. processEvalConstraints(PartialEvaluationBlock evalBlock, ConstraintSyntaxTree selfEx, AbstractVariable self, IDecisionVariable variable)Method for handling eval blocks - searching for nested eval blocks and extracting constraints.(package private) voidResolver. reschedule(IDecisionVariable var)Tries rescheduling the given constraints.private voidRescheduleValueChangeVisitor. rescheduleConstraintsForChilds(IDecisionVariable variable, boolean decl)Determines the constraints needed forvariableand its (transitive) child slots.private voidRescheduleValueChangeVisitor. rescheduleConstraintsForParent(IDecisionVariable variable)Determines the constraints needed for the parents ofvariable.(package private) voidRescheduleValueChangeVisitor. rescheduleValueChange(IDecisionVariable varParent, IDecisionVariable variable, Value oldValue, boolean clear)Re-schedules a changed constraint value but only if rescheduling is needed.private voidResolver.OtherConstraintsProcessor. setParameter(ConstraintSyntaxTree selfEx, AbstractVariable self, IDecisionVariable variable)Sets the parameters for processing.private voidResolver. translateAnnotationAssignments(AttributeAssignment assignment, IDecisionVariable var, java.util.List<AttributeAssignment.Assignment> effectiveAssignments, ConstraintSyntaxTree compound)Translates attribute assignments.private voidResolver. translateAnnotationDeclaration(Attribute decl, IDecisionVariable variable, ConstraintSyntaxTree cAcc, boolean qualifyAttribute)Translates an annotation declaration.private voidResolver. translateAnnotationDeclarations(AbstractVariable decl, IDecisionVariable variable, ConstraintSyntaxTree cAcc)Translates annotation declarations.private voidResolver. translateCompoundContent(AbstractVariable decl, IDecisionVariable variable, Compound type, ConstraintSyntaxTree cAcc)Translates the compound content.private intResolver. translateCompoundDeclaration(AbstractVariable decl, IDecisionVariable variable, ConstraintSyntaxTree cAcc, Compound type, int mode)Translates translating compound type declarations, but only if notContextStack.alreadyProcessed(IDatatype)in nested collection/compound types.private voidResolver. translateContainerDeclaration(AbstractVariable decl, IDecisionVariable var, IDatatype type, ConstraintSyntaxTree cAcc)Translates the (transitive) defaults and type constraints for a container declaration.private voidResolver. translateDeclaration(AbstractVariable decl, IDecisionVariable var, ConstraintSyntaxTree cAcc)Translates the (transitive) defaults and type constraints for a declaration.(package private) voidResolver. translateValueTypeChange(IDecisionVariable variable, Value newValue, Value oldValue)Translates/reschedules a change of value types for compound values.private booleanEvalVisitor. wasAssignedInThisScope(IDecisionVariable var, IDecisionVariable compound)Method for determining if variable was already aasigned in this scope. -
Uses of IDecisionVariable in net.ssehub.easy.reasoning.sseReasoner.functions
Fields in net.ssehub.easy.reasoning.sseReasoner.functions with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Set<IDecisionVariable>ScopeAssignments. currentScopeSetprivate java.util.Set<IDecisionVariable>FailedElementDetails. problemPointsprivate java.util.Map<IModelElement,java.util.Set<IDecisionVariable>>ScopeAssignments. scopeAssignmentsMethods in net.ssehub.easy.reasoning.sseReasoner.functions that return types with arguments of type IDecisionVariable Modifier and Type Method Description java.util.Set<IDecisionVariable>FailedElementDetails. getProblemPoints()Method for returning a set ofIDecisionVariables that may caused a constraint to fail.Methods in net.ssehub.easy.reasoning.sseReasoner.functions with parameters of type IDecisionVariable Modifier and Type Method Description voidScopeAssignments. addAssignedVariable(IDecisionVariable variable)Method for registering a variable that was assigned.booleanScopeAssignments. wasAssignedInThisScope(IDecisionVariable variable)Method for determining if variable was assigned in the specific scope.Method parameters in net.ssehub.easy.reasoning.sseReasoner.functions with type arguments of type IDecisionVariable Modifier and Type Method Description voidFailedElementDetails. setProblemPoints(java.util.Set<IDecisionVariable> problemPoints)Method for adding a set ofIDecisionVariables that may caused a constraint to fail. -
Uses of IDecisionVariable in net.ssehub.easy.reasoning.sseReasoner.model
Fields in net.ssehub.easy.reasoning.sseReasoner.model with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Map<Constraint,IDecisionVariable>VariablesMap. constraintVariableMapprivate java.util.Map<IDecisionVariable,java.util.List<Constraint>>VariablesMap. variableConstraintsMapMethods in net.ssehub.easy.reasoning.sseReasoner.model that return IDecisionVariable Modifier and Type Method Description IDecisionVariableVariablesMap. getDecisionVariableForConstraint(Constraint constraint)Returns the decision variable forconstraint.Methods in net.ssehub.easy.reasoning.sseReasoner.model with parameters of type IDecisionVariable Modifier and Type Method Description voidVariablesMap. addAll(IDecisionVariable variable, ConstraintList constraints)Relates allconstraintsto the declaration ofvariableand the declarations of all parent variables ofvariable.voidContextStack. addAsParentCache(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Adds the type cache oftypeas parent to the type cache that is currently in construction.voidTypeCache.IConstraintTarget. addConstraint(ConstraintList target, boolean first, Constraint constraint, IDecisionVariable register)Adds a constraint to the (preliminary) constraint base.voidTypeCache.Entry. addParent(TypeCache.Entry entry, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Adds a parent to this entry and causes constraint transfer.protected voidVariablesInConstraintFinder. addVariable(IDecisionVariable var)static ConstraintSyntaxTreeReasoningUtils. createParentExpression(IDecisionVariable variable)Creates an expression representing the parent ofvariable.static ValueReasoningUtils. getRelevantValue(AbstractVariable decl, IDecisionVariable var, boolean incremental)Returns the relevant value for reasoning.static <D extends Value>
DReasoningUtils. getRelevantValue(AbstractVariable decl, IDecisionVariable var, boolean incremental, java.lang.Class<D> filter)Returns the relevant value for reasoning.static voidReasoningUtils. printModelElement(IDecisionVariable variable)Method for printing info aboutIDecisionVariable.voidVariablesMap. registerConstraint(IDecisionVariable variable, Constraint constraint)Registersconstraintwith constraint variablevariable.voidVariablesMap. removeAll(IDecisionVariable variable, java.util.Collection<Constraint> constraints)Unrelates allconstraintsfrom the declaration ofvariableand all declarations of parent variables ofvariable.static voidReasoningUtils. setValue(IDecisionVariable var, Constraint value)Sets a constraint value.static java.lang.StringReasoningUtils. toStringAttributes(IDecisionVariable variable)Method for displaying all variable attributes.private voidTypeCache.ConstraintTemplate. transfer(TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var, AbstractVariable self)Transfers the stored constraint into the context ofself.booleanContextStack. transferConstraints(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Transfers all constraints from the associated type cache entry into their respective target constraint sets.private booleanTypeCache.Entry. transferConstraints(TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Transfers constraints.booleanTypeCache. transferConstraints(IDatatype type, TypeCache.IConstraintTarget target, IDecisionVariable register, AbstractVariable var)Transfers collected constraints fortype.voidVariablesMap. unregisterConstraint(IDecisionVariable variable, Constraint constraint)Unregisters a constraint from a decision variable.Method parameters in net.ssehub.easy.reasoning.sseReasoner.model with type arguments of type IDecisionVariable Modifier and Type Method Description static voidReasoningUtils. printProblemPoints(java.util.Set<IDecisionVariable> problemVariables)Method for printing all problem points. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.confModel
Classes in net.ssehub.easy.varModel.confModel that implement IDecisionVariable Modifier and Type Class Description (package private) classBasisVariableClass for variables which do not bear nested variables.classCompoundVariableClass for variables of Compounds.classContainerVariableVariableConfigProviderfor nested variables of aContainerVariable.(package private) classDecisionVariableImplements a decision variable representing a specific decision.classSequenceVariableDecision variable for Sequencess.classSetVariableDecision variable for Sets.(package private) classStructuredVariableAbstract super class for variables of StructuredDatatype's.Fields in net.ssehub.easy.varModel.confModel declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariable[]DecisionVariable. attributesprivate IDecisionVariableToplevelVarConfigProvider. relatedVariableprivate IDecisionVariableVariableCreator. variableFields in net.ssehub.easy.varModel.confModel with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Map<IDatatype,java.util.Map<IDecisionVariable,ReferenceValue>>Configuration. allInstancesprivate java.util.Map<AbstractVariable,IDecisionVariable>CompoundValueSetter. decisionsprivate java.util.LinkedHashMap<AbstractVariable,IDecisionVariable>Configuration. decisionsprivate java.util.Map<IDatatype,java.util.List<IDecisionVariable>>AssignmentResolver. instancesPerTypeTemporary list of all instances per data type.private java.util.Map<java.lang.String,IDecisionVariable>CompoundVariable. nestedElementsprivate java.util.List<IDecisionVariable>ContainerVariable. nestedElementsprivate java.util.List<IDecisionVariable>AssignmentResolver.AssignBlockVisitor. parentsprivate java.util.Map<java.lang.String,IDecisionVariable>DecisionVariable.InitializationAnnotationVisitor. tmpprivate java.util.Stack<IDecisionVariable>DefaultValueHelper. variablesMethods in net.ssehub.easy.varModel.confModel that return IDecisionVariable Modifier and Type Method Description IDecisionVariableContainerVariable. addNestedElement()Adds a new nested element to this variable.IDecisionVariableContainerVariable. addNestedElement(IDatatype type)Adds a new nested element to this variable.IDecisionVariableConfiguration. createDecision(AbstractVariable decl)Creates a visible decision in this configuration.private IDecisionVariableConfiguration. createDecision(AbstractVariable decl, boolean visible)Creates a decision in this configuration.private IDecisionVariableCompoundVariable. createNestedElement(AbstractVariable decl, boolean isVisible, boolean isAttribute, boolean force)Creates a nested element due to its declaration and registers it.static IDecisionVariableConfiguration. dereference(IDecisionVariable var)Dereferences a variable.static IDecisionVariableConfiguration. findInParents(IDecisionVariable var, java.lang.String name)Finds a variable callednamein the decision variable parents ofvar, starting at the direct parent ofvar, thus, returning the variable withnameof the closest enclosing scope.IDecisionVariableDecisionVariable. getAttribute(int index)Returns a specific attribute.IDecisionVariableIDecisionVariable. getAttribute(int index)Returns a specific attribute.IDecisionVariableConfiguration. getDecision(java.lang.String varName, boolean dereference)Returns the decision variable for a potentially nested/qualified name from this configuration.private IDecisionVariableConfiguration. getDecision(IDecisionVariable var, java.lang.String varName, boolean dereference)Returns the decision variable for a potentially nested/qualified name from this configuration using withvaras current search context.IDecisionVariableConfiguration. getDecision(AbstractVariable declaration)IDecisionVariableIConfiguration. getDecision(AbstractVariable declaration)Returns the specifiedIDecisionVariable.IDecisionVariableBasisVariable. getNestedElement(int index)IDecisionVariableCompoundVariable. getNestedElement(int index)IDecisionVariableCompoundVariable. getNestedElement(java.lang.String name)static IDecisionVariableConfiguration. getNestedElement(IDecisionVariable base, java.lang.String name)Returns an element forbasespecified by its name.IDecisionVariableContainerVariable. getNestedElement(int index)IDecisionVariableDecisionVariable. getNestedElement(java.lang.String name)IDecisionVariableIDecisionVariable. getNestedElement(int index)Returns the element specified byindex.IDecisionVariableIDecisionVariable. getNestedElement(java.lang.String name)Returns an element specified by its name.IDecisionVariableCompoundVariable. getNestedVariable(java.lang.String slotName)Returns a nestedIDecisionVariable.static IDecisionVariableConfiguration. getTopLevelDecision(IDecisionVariable var)Returns the top-level decision variable ofvar.IDecisionVariableVariableCreator. getVariable()Returns the created variable.(package private) IDecisionVariableVariableCreator. getVariable(boolean setDefaultValue)Return theIDecisionVariableas inVariableCreator.getVariable().static IDecisionVariableConfiguration. mapVariable(IDecisionVariable var, Configuration cfg)Maps a variable to its configuration following nested elements up and down.IDecisionVariableICollectionElementVariable. resolve(IConfiguration config)Resolves the element variable to a decision variable.Methods in net.ssehub.easy.varModel.confModel that return types with arguments of type IDecisionVariable Modifier and Type Method Description static java.util.List<IDecisionVariable>ConfigQuery. collectVariablesByType(Configuration config, IDatatype type, boolean onlyToplevel)Gathers allIDecisionVariables of the givenConfiguration, which match the specified type.(package private) java.util.Map<AbstractVariable,IDecisionVariable>Configuration. getConfiguredDecisions()Returns the saved (AbstractVariable,IDecisionVariable) mapping.protected java.util.List<IDecisionVariable>AssignmentResolver. getInstancesForType(IDatatype type)Returns a list of all (nested)IDecisionVariables for the given type.java.util.Iterator<IDecisionVariable>Configuration. iterator()Returns an iterator for iterating over all storedIDecisionVariables.Methods in net.ssehub.easy.varModel.confModel with parameters of type IDecisionVariable Modifier and Type Method Description private voidConfiguration. addDecision(IDecisionVariable variable)Adda a decision.(package private) voidContainerVariable. addNestedElement(IDecisionVariable var)Adds a nestedIDecisionVariableto thisContainerVariable.private static voidConfigQuery. addVariableByType(IDecisionVariable variable, IDatatype type, boolean onlyToplevel, java.util.List<IDecisionVariable> variables)Recursive part ofConfigQuery.collectVariablesByType(Configuration, IDatatype, boolean), which searches for (nested) variables.private voidConfiguration. allInstancesVariableChanged(IDecisionVariable var)Changes the all instance cache ifvaror one of its nested elements changed.private voidAssignmentResolver.AssignBlockVisitor. assignAnnotationValuesToVariable(IDecisionVariable variable)Part ofAssignmentResolver.AssignBlockVisitor.visitDecisionVariableDeclaration(DecisionVariableDeclaration): Assigns all gathered annotation values to the givenIDecisionVariable.private voidDefaultValueHelper. assignDefaultValue(IDecisionVariable var)Assigns default value(s) to the given variablevar.private static ValueAssignmentResolver. augmentValue(Value value, IDecisionVariable variable, EvaluationVisitor evaluator, IConfiguration config, AssignmentResolver conflictHandler)If a value of a refined compound shall the first time be assigned to a variable of a super compound (polymorphic values), then also the default values of the refined compounds shall be taken into account and augment the value.private voidConfiguration. collectAllInstances(IDecisionVariable var, IDatatype type, java.util.Map<IDatatype,Reference> referenceTypes, java.util.Map<IDecisionVariable,ReferenceValue> instances)Collects all instances oftypestarting atvarand stores results intoreferenceTypesandinstances.protected ConstraintSyntaxTreeConfigurationSaver. createAssignmentConstraint(Project dstProject, AbstractVariable decl, IDecisionVariable var, Value value)Creates an assignment constraint.(package private) static VariableConfigProviderVariableConfigProviderFactory. createDelegate(IDecisionVariable relatedVariable)Returns the correctVariableConfigProviderdepending on the relatedIDecisionVariable.static IDecisionVariableConfiguration. dereference(IDecisionVariable var)Dereferences a variable.protected ConstraintSyntaxTreeConfigurationSaver. deriveOperand(AbstractVariable decl, IDecisionVariable var)Derives the operand expression for turning a configuration into a project.booleanDisplayNameProvider. enableNullValueInConfiguration(IDecisionVariable variable)Returns whether IMVL null values shall be visible in the configuration editor.static booleanConfiguration. equalsByInstanceName(IDecisionVariable var1, IDecisionVariable var2)Returns whether two decision variables are equal via their instance name.static voidDefaultValueHelper. fillDefaults(IDecisionVariable variable)Fills the value of the givenvariablewith defined default values.static IDecisionVariableConfiguration. findInParents(IDecisionVariable var, java.lang.String name)Finds a variable callednamein the decision variable parents ofvar, starting at the direct parent ofvar, thus, returning the variable withnameof the closest enclosing scope.private voidAssignmentResolver. findInstancesOfNestedVariavbles(IDecisionVariable variable)Recursive method to collect all nestedIDecisionVariable.private IDecisionVariableConfiguration. getDecision(IDecisionVariable var, java.lang.String varName, boolean dereference)Returns the decision variable for a potentially nested/qualified name from this configuration using withvaras current search context.java.lang.StringDisplayNameProvider. getDisplayName(IDecisionVariable variable)Returns the display name of a variable.static java.lang.StringConfiguration. getInstanceName(IDecisionVariable var)Returns the instance name of a decision variable.static java.lang.StringConfiguration. getInstanceName(IDecisionVariable var, boolean qualified)Returns the instance name of a decision variable.static IDecisionVariableConfiguration. getNestedElement(IDecisionVariable base, java.lang.String name)Returns an element forbasespecified by its name.java.lang.StringDisplayNameProvider. getNullName(IDecisionVariable variable)Returns the name to be used for an IVML null value, possibly dependent on the givenvariable.protected IResolutionPathElementCompoundVariable. getPathForNestedElement(IDecisionVariable nested)Returns the resolution path for a nested element.protected IResolutionPathElementDecisionVariable. getPathForNestedElement(IDecisionVariable nested)Returns the resolution path for a nested element.static IDecisionVariableConfiguration. getTopLevelDecision(IDecisionVariable var)Returns the top-level decision variable ofvar.intContainerVariable. indexOf(IDecisionVariable var)Returns the 0-based index ofvarin this container.voidDefaultValueHelper. initialize(IDecisionVariable variable)Initializes this instance.protected booleanConfigurationSaver. isSavingEnabled(Project destProject, IDecisionVariable var)Returns whether saving this variable (for the destination projectdestProject) is enabled.voidIConfigurationChangeListener. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.static IDecisionVariableConfiguration. mapVariable(IDecisionVariable var, Configuration cfg)Maps a variable to its configuration following nested elements up and down.private static voidConfiguration. printVariable(java.io.PrintStream out, IDecisionVariable var, java.lang.String indent)Prints a variable toout.private intConfigurationSaver. processAssignment(Project confProject, java.lang.StringBuilder errors, AbstractVariable decl, IDecisionVariable var, Value value)Processes an assignment.booleanConfiguration. removeDecision(IDecisionVariable variable)Remove a specific decision.private voidConfiguration. removeFromAllInstances(IDecisionVariable variable)Removesvariablefrom all instances.booleanContainerVariable. removeNestedElement(IDecisionVariable var)Removes a (configured) element (IDecisionVariable) of thisContainerVariable.static booleanAssignmentResolver. resolveDefaultValue(IDecisionVariable variable)Resolves default values of a particular variable.static booleanAssignmentResolver. resolveDefaultValue(IDecisionVariable variable, EvaluationVisitor evaluator)Resolves default values of a particular variable.booleanConfigurationInitializerRegistry.IConfigurationInitializer. resolveDefaultValue(IDecisionVariable variable)Resolves default values of a particular variable.protected booleanAssignmentResolver. resolveDefaultValueForDeclaration(AbstractVariable decl, IDecisionVariable variable)Resolves default values of a particular declaration.protected static booleanAssignmentResolver. resolveDefaultValueForDeclaration(AbstractVariable decl, IDecisionVariable variable, EvaluationVisitor evaluator, IConfiguration config, AssignmentResolver conflictHandler)Resolves default values of a particular declaration.booleanAllFreezeSelector. shallFreeze(IDecisionVariable variable)booleanIFreezeSelector. shallFreeze(IDecisionVariable variable)Returns whethervariableshall be frozen.booleanNoFreezeSelector. shallFreeze(IDecisionVariable variable)protected abstract voidAbstractConfigurationStatisticsVisitor. specialTreatment(IDecisionVariable variable)Optional hook to realize additional statistics for (nested) variables.protected voidDefaultConfigurationStatisticsVisitor. specialTreatment(IDecisionVariable variable)voidIConfigurationChangeListener. stateChanged(Configuration config, IDecisionVariable changedVariable)Notification that the state of aDecisionVariablehas been changed inside theConfiguration.static ConstraintSyntaxTreeConfigQuery. toCST(IDecisionVariable variable)Converts anIDecisionVariableof the configuration to aVariableexpression, so that it can be used for a value assignment, e.g.protected ValueConfigurationSaver. toSaveableValue(IDecisionVariable var, Value value)This method escapes special characters for saving them into a file.private voidConfiguration. unfreezeVariable(IDecisionVariable variable, IAssignmentState state)Unfreezes a variable and all its nested elements (if such exist).(package private) voidConfiguration. variableChanged(IDecisionVariable var, Value oldValue)Notifies all registeredIConfigurationChangeListeners that aIDecisionVariablechanged.(package private) voidConfiguration. variableChangedState(IDecisionVariable var)Notifies all registeredIConfigurationChangeListeners that aIDecisionVariablehas changed its state.voidAbstractConfigurationStatisticsVisitor. visitDecisionVariable(IDecisionVariable variable)voidIConfigurationVisitor. visitDecisionVariable(IDecisionVariable variable)Visits a decision variable.voidAbstractConfigurationStatisticsVisitor. visitVariable(IDecisionVariable variable, boolean nestedInContainer)Recursive part to visit all (nested) variables.Method parameters in net.ssehub.easy.varModel.confModel with type arguments of type IDecisionVariable Modifier and Type Method Description private static voidConfigQuery. addVariableByType(IDecisionVariable variable, IDatatype type, boolean onlyToplevel, java.util.List<IDecisionVariable> variables)Recursive part ofConfigQuery.collectVariablesByType(Configuration, IDatatype, boolean), which searches for (nested) variables.private voidAssignmentResolver. resolveAnnotationAssignments(AttributeAssignment assignBlock, java.util.Map<java.lang.String,Value> annotationAssignments, java.util.List<IDecisionVariable> parents)Recursive method for resolving annotation assignments (part ofAssignmentResolver.resolveAnnotationAssignments(Project).Constructors in net.ssehub.easy.varModel.confModel with parameters of type IDecisionVariable Constructor Description DefaultValueHelper(IDecisionVariable variable)Creates an initialized default value helper by callingDefaultValueHelper.initialize(IDecisionVariable).ToplevelVarConfigProvider(IDecisionVariable relatedVariable, Value value, IAssignmentState state)Sole constructor for creating aVariableConfigProviderfor a toplevelIDecisionVariable.Constructor parameters in net.ssehub.easy.varModel.confModel with type arguments of type IDecisionVariable Constructor Description AssignBlockVisitor(java.util.Map<java.lang.String,Value> annotationAssignments, java.util.List<IDecisionVariable> parents)Sole constructor of this class.CompoundValueSetter(OCLFeatureCall ocl, java.util.Map<AbstractVariable,IDecisionVariable> decisions)Sole constructor for this class. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.confModel.paths
Methods in net.ssehub.easy.varModel.confModel.paths that return IDecisionVariable Modifier and Type Method Description IDecisionVariableIndexAccessPathElement. resolve(IConfiguration config)IDecisionVariableIResolutionPathElement. resolve(IConfiguration config)Resolves this path forconfig.IDecisionVariableNameAccessPathElement. resolve(IConfiguration config)IDecisionVariableStartPathElement. resolve(IConfiguration config) -
Uses of IDecisionVariable in net.ssehub.easy.varModel.cst
Fields in net.ssehub.easy.varModel.cst declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableResolvedVariable. resolvedMethods in net.ssehub.easy.varModel.cst that return IDecisionVariable Modifier and Type Method Description IDecisionVariableResolvedVariable. getResolved()IDecisionVariableVariable. getResolved()Returns the resolved decision variable.Constructors in net.ssehub.easy.varModel.cst with parameters of type IDecisionVariable Constructor Description ResolvedVariable(IDecisionVariable resolved)Creates a resolved variable. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.cstEvaluation
Classes in net.ssehub.easy.varModel.cstEvaluation that implement IDecisionVariable Modifier and Type Class Description classLocalDecisionVariableA local decision variable representing a parameter or a local variable.Fields in net.ssehub.easy.varModel.cstEvaluation declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableEvaluationVisitor.ContainerIterationExecutor. containerVariableprivate IDecisionVariableContainerElementAccessor. elementVariableprivate IDecisionVariableLocalDecisionVariable. parentprivate IDecisionVariableCompoundSlotAccessor. slotVariableprivate IDecisionVariableVariableValueCopier.SourceBasedFreezeProvider. sourceprivate IDecisionVariableVariableValueCopier.SourceBasedFreezeProvider. targetprivate IDecisionVariableEvaluationVisitor.Message. varprivate IDecisionVariableAbstractDecisionVariableEvaluationAccessor. variableFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Map<AbstractVariable,IDecisionVariable>LocalConfiguration. mapprivate java.util.List<IDecisionVariable>EvaluationAccessor. nestedElementsprivate java.util.Map<AbstractVariable,IDecisionVariable>EvaluationVisitor. varMappingMethods in net.ssehub.easy.varModel.cstEvaluation that return IDecisionVariable Modifier and Type Method Description IDecisionVariableLocalConfiguration. addDecision(IDecisionVariable decision)Adds a (local) decision to this configuration.(package private) static IDecisionVariableVariableValueCopier. copy(IDecisionVariable variable, java.lang.String namePrefix)Copies the given variable.protected IDecisionVariableEvaluationAccessor. dereferenceIfNeeded(IDecisionVariable variable, Value value)Dereferencesvariableif of reference type andvalueis not of reference type.(package private) static IDecisionVariableEvaluationUtils. findAttribute(IDecisionVariable var, AbstractVariable decl, boolean byName)Finds an attribute decision variable for the given decision variable and attribute declaration.private IDecisionVariableVariableValueCopier.SourceBasedFreezeProvider. findCorrespondence(IDecisionVariable tVar)Finds the corresponding variable fortVar(assumed to be within the nesting hierarchy ofVariableValueCopier.SourceBasedFreezeProvider.target) within the nesting hierarchy ofVariableValueCopier.SourceBasedFreezeProvider.source.static IDecisionVariableVariableValueCopier. findVariable(IDecisionVariable base, java.lang.String qname)Finds a variable via its (qualified access) name.IDecisionVariableLocalDecisionVariable. getAttribute(int index)IDecisionVariableEvaluationAccessor. getBoundContainerElement(int index)Returns a container element.IDecisionVariableEvaluationVisitor.EvaluationContextImpl. getDecision(AbstractVariable variable)IDecisionVariableEvaluationVisitor.Message. getDecision()Returns the causing decision variable.IDecisionVariableLocalConfiguration. getDecision(AbstractVariable declaration)IDecisionVariableLocalDecisionVariable. getNestedElement(int index)IDecisionVariableLocalDecisionVariable. getNestedElement(java.lang.String name)IDecisionVariableLocalDecisionVariable. getNestedVariable(java.lang.String slotName)Returns the nested variable for the given slot name.IDecisionVariableEvaluationVisitor. getResultVariable()Returns the result variable.IDecisionVariableAbstractDecisionVariableEvaluationAccessor. getVariable()IDecisionVariableCompoundSlotAccessor. getVariable()IDecisionVariableConstantAccessor. getVariable()abstract IDecisionVariableEvaluationAccessor. getVariable()Returns the underlying variable.IDecisionVariableLocalDecisionVariable. getVariable()Returns the underlying variable.IDecisionVariableCollectionElementVariable. resolve(IConfiguration config)Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDecisionVariable Modifier and Type Method Description voidEvaluationAccessor. addBoundContainerElement(IDecisionVariable element)Addselementto the bound container elements.IDecisionVariableLocalConfiguration. addDecision(IDecisionVariable decision)Adds a (local) decision to this configuration.voidEvaluationContext. addErrorMessage(java.lang.String message, IDecisionVariable variable, int code)Adds an evaluation error message.(package private) voidEvaluationVisitor. addMapping(AbstractVariable decl, IDecisionVariable var)Adds an explicit mapping of a declaration to a decision variable taking precedence over the configuration.protected AbstractDecisionVariableEvaluationAccessorAbstractDecisionVariableEvaluationAccessor. bind(IDecisionVariable variable, EvaluationContext context)Binds this accessor.CompoundSlotAccessorCompoundSlotAccessor. bind(IDecisionVariable variable, java.lang.String slotName, EvaluationContext context)Binds the accessor to the given variable and context.ContainerElementAccessorContainerElementAccessor. bind(IDecisionVariable variable, int index, EvaluationContext context)Binds the accessor to the given variable and context.protected IndexAccessorIndexAccessor. bind(IDecisionVariable variable, EvaluationContext context, int index)Binds this accessor.VariableAccessorVariableAccessor. bind(IDecisionVariable variable, EvaluationContext context)Binds the accessor to the given (non-local) variable and context.VariableAccessorVariableAccessor. bind(IDecisionVariable variable, EvaluationContext context, boolean isLocal)Binds the accessor to the given (local or non-local) variable and context.voidEvaluationAccessor. bindContainer(IDecisionVariable container)Binds acontaineras provider for nested variables against this accessor in order to carry information about the underlying variables as long as possible through the evaluation.(package private) static IDecisionVariableVariableValueCopier. copy(IDecisionVariable variable, java.lang.String namePrefix)Copies the given variable.private ValueVariableValueCopier. copy(IDecisionVariable source, IDecisionVariable target, VariableValueCopier.IFreezeProvider freezeProvider)Copies the value ofsourcevariable to targetvariable.private ValueVariableValueCopier. copySingleVariable(IDecisionVariable source, IDecisionVariable target, VariableValueCopier.IFreezeProvider freezeProvider, boolean adding)Copies a single variable fromsourceto target and ensures in case of a reference target that a respective variable is created.protected IDecisionVariableEvaluationAccessor. dereferenceIfNeeded(IDecisionVariable variable, Value value)Dereferencesvariableif of reference type andvalueis not of reference type.private voidVariableValueCopier. doFreeze(VariableValueCopier.IFreezeProvider freezeProvider, Configuration cfg, IDecisionVariable var, IFreezable freezable)Tries to freezefreezable.private voidContextStack. ensureCapacity(IDecisionVariable var, ContextStack.StackFrame frame)Ensures the capacity of a container variable.private booleanEvaluationVisitor.ContainerIterationExecutor. evaluateIterator(int iter, Value iterVal, IDecisionVariable iterVar, int maxIter, boolean setSelf, EvaluationAccessor rVar)Evaluates an iterator.(package private) static IDecisionVariableEvaluationUtils. findAttribute(IDecisionVariable var, AbstractVariable decl, boolean byName)Finds an attribute decision variable for the given decision variable and attribute declaration.private IDecisionVariableVariableValueCopier.SourceBasedFreezeProvider. findCorrespondence(IDecisionVariable tVar)Finds the corresponding variable fortVar(assumed to be within the nesting hierarchy ofVariableValueCopier.SourceBasedFreezeProvider.target) within the nesting hierarchy ofVariableValueCopier.SourceBasedFreezeProvider.source.static IDecisionVariableVariableValueCopier. findVariable(IDecisionVariable base, java.lang.String qname)Finds a variable via its (qualified access) name.abstract IAssignmentStateEvaluationContext. getTargetState(IDecisionVariable variable)Returns the target state of the evaluation forvariable.IAssignmentStateEvaluationVisitor.EvaluationContextImpl. getTargetState(IDecisionVariable var)protected IAssignmentStateEvaluationVisitor. getTargetState(IDecisionVariable var)Returns the target state for a variable which is actually being assigned.ValueIEvaluationInterceptor. getValue(IDecisionVariable var)private voidVariableValueCopier. handleFurther(IDecisionVariable base, java.lang.String[] names, Value value)Assignsvalueto the further variables onbasegiven innamesat index positions larger than 0.voidVariableValueCopier.IAssignmentListener. notifyAssigned(IDecisionVariable target, Value value, boolean added)Notifies about assigned values.private voidVariableValueCopier. notifyAssigned(IDecisionVariable target, Value value, boolean added)Notifies about assigned values.voidIValueChangeListener. notifyChanged(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Called if the value of a variable has been modified.abstract voidEvaluationContext. notifyChangeListener(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Notifies the change listener, i.e., the value ofvariablehas changed.voidEvaluationVisitor.EvaluationContextImpl. notifyChangeListener(IDecisionVariable variable, Value value, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)voidVariableValueCopier.IAssignmentListener. notifyCreated(IDecisionVariable origin, IDecisionVariable target)Notifies the listener about a new variable created for a given origin variable.private voidVariableValueCopier. notifyCreated(IDecisionVariable origin, IDecisionVariable target)Notifies the listener about a new variable created for a given origin variable.voidIResolutionListener. notifyResolved(IDecisionVariable compound, java.lang.String slotName, IDecisionVariable resolved)Is called to notify about the resolution of the compound slotslotNameincompoundtovar.voidIResolutionListener. notifyResolved(AbstractVariable declaration, IDecisionVariable resolved)Is called to notify about the resolution of the declarationdeclto the actual variablevar.voidIValueChangeListener. notifyUnresolved(IDecisionVariable variable)Called if an assignment to the givenvariablefailed as the defining expression cannot be evaluated, e.g., due to an undefined variable.private voidVariableValueCopier. process(IDecisionVariable variable, IDecisionVariable base, java.lang.String prefix, java.util.Map<java.lang.String,VariableValueCopier.CopySpec> fieldSpecs, java.util.Set<IDecisionVariable> done)Processes a decision variable.booleanIEvaluationInterceptor. setValue(IDecisionVariable var, Value val, boolean asAssignment, EvaluationAccessor acc)voidLocalDecisionVariable. setVariable(IDecisionVariable variable)Changes the underlying variable taking precedence over the stored value.booleanFreezeEvaluator. shallFreeze(IDecisionVariable variable)booleanVariableValueCopier.SourceBasedFreezeProvider. shallFreeze(IDecisionVariable variable)Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type IDecisionVariable Modifier and Type Method Description private voidVariableValueCopier. process(IDecisionVariable variable, IDecisionVariable base, java.lang.String prefix, java.util.Map<java.lang.String,VariableValueCopier.CopySpec> fieldSpecs, java.util.Set<IDecisionVariable> done)Processes a decision variable.Constructors in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDecisionVariable Constructor Description LocalDecisionVariable(DecisionVariableDeclaration decl, IConfiguration conf, IDecisionVariable parent)Creates a local decision variable.Message(java.lang.String description, Status status, IDecisionVariable var, int code)Main constructor.SourceBasedFreezeProvider(IDecisionVariable source, IDecisionVariable target)Creates a freeze provider based on a given variable pair. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.model.filter
Fields in net.ssehub.easy.varModel.model.filter declared as IDecisionVariable Modifier and Type Field Description private IDecisionVariableIDecisionVariableInConstraintFinder. lastVariableFields in net.ssehub.easy.varModel.model.filter with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Deque<IDecisionVariable>IDecisionVariableInConstraintFinder. parentsprivate java.util.Set<IDecisionVariable>IDecisionVariableInConstraintFinder. variablesprivate java.util.Set<IDecisionVariable>VariablesInConstraintFinder. variablesMethods in net.ssehub.easy.varModel.model.filter that return types with arguments of type IDecisionVariable Modifier and Type Method Description java.util.Set<IDecisionVariable>IDecisionVariableInConstraintFinder. getVariables()Returns allAbstractVariable's inside the givenConstraintSyntaxTree.java.util.Set<IDecisionVariable>VariablesInConstraintFinder. getVariables()Returns allIDecisionVariable's inside the givenConstraintSyntaxTree.Methods in net.ssehub.easy.varModel.model.filter with parameters of type IDecisionVariable Modifier and Type Method Description protected abstract voidAbstractStateVariablesInConstraintFinder. addVariable(IDecisionVariable var)Adds the relatedIDecisionVariableand their state to the result.protected voidVariablesInConstraintFinder. addVariable(IDecisionVariable var) -
Uses of IDecisionVariable in net.ssehub.easy.varModel.model.filter.mandatoryVars
Methods in net.ssehub.easy.varModel.model.filter.mandatoryVars with parameters of type IDecisionVariable Modifier and Type Method Description booleanVariableContainer. isMandatory(IDecisionVariable variable)Checks whether the givenIDecisionVariableis mandatory.(package private) voidVariableContainer. setImportance(IDecisionVariable variable, Importance importance)Changes the importance of theIDecisionVariable. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite with type parameters of type IDecisionVariable Modifier and Type Field Description private java.util.Map<AbstractVariable,java.util.Set<IDecisionVariable>>VariableLookUpTable. instancesPerDeclarationList of instances for a given declaration.private java.util.Map<IDatatype,java.util.Set<IDecisionVariable>>VariableLookUpTable. instancesPerTypeList of instances for a givenIDatatype.Methods in net.ssehub.easy.varModel.model.rewrite that return types with arguments of type IDecisionVariable Modifier and Type Method Description java.util.Set<IDecisionVariable>RewriteContext. getInstancesForDeclaration(Configuration config, AbstractVariable declaration)Returns the set of instances of the givenAbstractVariabledeclaration.(package private) java.util.Set<IDecisionVariable>VariableLookUpTable. getInstancesForDeclaration(AbstractVariable declaration)Returns the set of instances of the givenAbstractVariabledeclaration.java.util.Set<IDecisionVariable>RewriteContext. getInstancesForType(Configuration config, IDatatype type)Returns the set of instances of the givenIDatatype.(package private) java.util.Set<IDecisionVariable>VariableLookUpTable. getInstancesForType(IDatatype type)Returns the set of instances of the givenIDatatype.Methods in net.ssehub.easy.varModel.model.rewrite with parameters of type IDecisionVariable Modifier and Type Method Description private voidVariableLookUpTable. addVariable(IDecisionVariable variable, IDatatype type)Adds anIDecisionVariableto theVariableLookUpTable.instancesPerType.private voidVariableLookUpTable. init(IDecisionVariable variable)Recursive part ofVariableLookUpTable.init(Configuration). -
Uses of IDecisionVariable in net.ssehub.easy.varModel.model.rewrite.modifier
Methods in net.ssehub.easy.varModel.model.rewrite.modifier that return IDecisionVariable Modifier and Type Method Description protected IDecisionVariableAbstractFrozenChecker. getVariable(AbstractVariable declaration)Returns the specifiedIDecisionVariable.
-