Uses of Interface
net.ssehub.easy.varModel.confModel.IDecisionVariable
Packages that use IDecisionVariable
Package
Description
This package represents a specific variability model configuration.
Support for deferred resolution paths.
Package for elements of the constraint syntax tree.
Implements the evaluation of constraint syntax trees.
This package contains utility classes for filtering the model for specific model elements.
Filter for finding mandatory declarations.
Classes for creating an (adapted) copy of the
Project.Modifier for the
ProjectRewriteVisitor.-
Uses of IDecisionVariable in net.ssehub.easy.varModel.confModel
Classes in net.ssehub.easy.varModel.confModel that implement IDecisionVariableModifier and TypeClassDescription(package private) classClass for variables which do not bear nested variables.classClass for variables of Compounds.classVariableConfigProviderfor nested variables of aContainerVariable.(package private) classImplements a decision variable representing a specific decision.classDecision variable forSequencess.classDecision variable forSets.(package private) classAbstract super class for variables ofStructuredDatatype's.Fields in net.ssehub.easy.varModel.confModel declared as IDecisionVariableModifier and TypeFieldDescriptionprivate IDecisionVariable[]DecisionVariable.attributesprivate IDecisionVariableToplevelVarConfigProvider.relatedVariableprivate IDecisionVariableVariableCreator.variableFields in net.ssehub.easy.varModel.confModel with type parameters of type IDecisionVariableModifier and TypeFieldDescriptionprivate Map<IDatatype, Map<IDecisionVariable, ReferenceValue>> Configuration.allInstancesprivate Map<AbstractVariable, IDecisionVariable> CompoundValueSetter.decisionsConfiguration.decisionsprivate Map<IDatatype, List<IDecisionVariable>> AssignmentResolver.instancesPerTypeTemporary list of all instances per data type.private Map<String, IDecisionVariable> CompoundVariable.nestedElementsprivate List<IDecisionVariable> ContainerVariable.nestedElementsprivate List<IDecisionVariable> AssignmentResolver.AssignBlockVisitor.parentsprivate Map<String, IDecisionVariable> DecisionVariable.InitializationAnnotationVisitor.tmpprivate Stack<IDecisionVariable> DefaultValueHelper.variablesMethods in net.ssehub.easy.varModel.confModel that return IDecisionVariableModifier and TypeMethodDescriptionContainerVariable.addNestedElement()Adds a new nested element to this variable.ContainerVariable.addNestedElement(IDatatype type) Adds a new nested element to this variable.Configuration.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, 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.DecisionVariable.getAttribute(int index) Returns a specific attribute.IDecisionVariable.getAttribute(int index) Returns a specific attribute.Configuration.getDecision(String varName, boolean dereference) Returns the decision variable for a potentially nested/qualified name from this configuration.private IDecisionVariableConfiguration.getDecision(IDecisionVariable var, String varName, boolean dereference) Returns the decision variable for a potentially nested/qualified name from this configuration using withvaras current search context.Configuration.getDecision(AbstractVariable declaration) IConfiguration.getDecision(AbstractVariable declaration) Returns the specifiedIDecisionVariable.BasisVariable.getNestedElement(int index) CompoundVariable.getNestedElement(int index) CompoundVariable.getNestedElement(String name) static IDecisionVariableConfiguration.getNestedElement(IDecisionVariable base, String name) Returns an element forbasespecified by its name.ContainerVariable.getNestedElement(int index) DecisionVariable.getNestedElement(String name) IDecisionVariable.getNestedElement(int index) Returns the element specified byindex.IDecisionVariable.getNestedElement(String name) Returns an element specified by its name.CompoundVariable.getNestedVariable(String slotName) Returns a nestedIDecisionVariable.static IDecisionVariableConfiguration.getTopLevelDecision(IDecisionVariable var) Returns the top-level decision variable ofvar.VariableCreator.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.ICollectionElementVariable.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 IDecisionVariableModifier and TypeMethodDescriptionstatic List<IDecisionVariable> ConfigQuery.collectVariablesByType(Configuration config, IDatatype type, boolean onlyToplevel) Gathers allIDecisionVariables of the givenConfiguration, which match the specified type.(package private) Map<AbstractVariable, IDecisionVariable> Configuration.getConfiguredDecisions()Returns the saved (AbstractVariable,IDecisionVariable) mapping.protected List<IDecisionVariable> AssignmentResolver.getInstancesForType(IDatatype type) Returns a list of all (nested)IDecisionVariables for the given type.Configuration.iterator()Returns an iterator for iterating over all storedIDecisionVariables.Methods in net.ssehub.easy.varModel.confModel with parameters of type IDecisionVariableModifier and TypeMethodDescriptionprivate 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, 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, Map<IDatatype, Reference> referenceTypes, 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, 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, String varName, boolean dereference) Returns the decision variable for a potentially nested/qualified name from this configuration using withvaras current search context.DisplayNameProvider.getDisplayName(IDecisionVariable variable) Returns the display name of a variable.static StringConfiguration.getInstanceName(IDecisionVariable var) Returns the instance name of a decision variable.static StringConfiguration.getInstanceName(IDecisionVariable var, boolean qualified) Returns the instance name of a decision variable.static IDecisionVariableConfiguration.getNestedElement(IDecisionVariable base, String name) Returns an element forbasespecified by its name.DisplayNameProvider.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(PrintStream out, IDecisionVariable var, String indent) Prints a variable toout.private intConfigurationSaver.processAssignment(Project confProject, 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 IDecisionVariableModifier and TypeMethodDescriptionprivate static voidConfigQuery.addVariableByType(IDecisionVariable variable, IDatatype type, boolean onlyToplevel, List<IDecisionVariable> variables) Recursive part ofConfigQuery.collectVariablesByType(Configuration, IDatatype, boolean), which searches for (nested) variables.private voidAssignmentResolver.resolveAnnotationAssignments(AttributeAssignment assignBlock, Map<String, Value> annotationAssignments, List<IDecisionVariable> parents) Recursive method for resolving annotation assignments (part ofAssignmentResolver.resolveAnnotationAssignments(Project).Constructors in net.ssehub.easy.varModel.confModel with parameters of type IDecisionVariableModifierConstructorDescriptionDefaultValueHelper(IDecisionVariable variable) Creates an initialized default value helper by callingDefaultValueHelper.initialize(IDecisionVariable).protectedToplevelVarConfigProvider(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 IDecisionVariableModifierConstructorDescriptionprivateAssignBlockVisitor(Map<String, Value> annotationAssignments, List<IDecisionVariable> parents) Sole constructor of this class.CompoundValueSetter(OCLFeatureCall ocl, 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 IDecisionVariableModifier and TypeMethodDescriptionIndexAccessPathElement.resolve(IConfiguration config) IResolutionPathElement.resolve(IConfiguration config) Resolves this path forconfig.NameAccessPathElement.resolve(IConfiguration config) StartPathElement.resolve(IConfiguration config) -
Uses of IDecisionVariable in net.ssehub.easy.varModel.cst
Fields in net.ssehub.easy.varModel.cst declared as IDecisionVariableMethods in net.ssehub.easy.varModel.cst that return IDecisionVariableModifier and TypeMethodDescriptionResolvedVariable.getResolved()Variable.getResolved()Returns the resolved decision variable.Constructors in net.ssehub.easy.varModel.cst with parameters of type IDecisionVariableModifierConstructorDescriptionResolvedVariable(IDecisionVariable resolved) Creates a resolved variable. -
Uses of IDecisionVariable in net.ssehub.easy.varModel.cstEvaluation
Classes in net.ssehub.easy.varModel.cstEvaluation that implement IDecisionVariableModifier and TypeClassDescriptionclassA local decision variable representing a parameter or a local variable.Fields in net.ssehub.easy.varModel.cstEvaluation declared as IDecisionVariableModifier and TypeFieldDescriptionprivate 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 IDecisionVariableModifier and TypeFieldDescriptionprivate Map<AbstractVariable, IDecisionVariable> LocalConfiguration.mapprivate List<IDecisionVariable> EvaluationAccessor.nestedElementsprivate Map<AbstractVariable, IDecisionVariable> EvaluationVisitor.varMappingMethods in net.ssehub.easy.varModel.cstEvaluation that return IDecisionVariableModifier and TypeMethodDescriptionLocalConfiguration.addDecision(IDecisionVariable decision) Adds a (local) decision to this configuration.(package private) static IDecisionVariableVariableValueCopier.copy(IDecisionVariable variable, 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, String qname) Finds a variable via its (qualified access) name.LocalDecisionVariable.getAttribute(int index) EvaluationAccessor.getBoundContainerElement(int index) Returns a container element.EvaluationVisitor.EvaluationContextImpl.getDecision(AbstractVariable variable) EvaluationVisitor.Message.getDecision()Returns the causing decision variable.LocalConfiguration.getDecision(AbstractVariable declaration) LocalDecisionVariable.getNestedElement(int index) LocalDecisionVariable.getNestedElement(String name) LocalDecisionVariable.getNestedVariable(String slotName) Returns the nested variable for the given slot name.EvaluationVisitor.getResultVariable()Returns the result variable.AbstractDecisionVariableEvaluationAccessor.getVariable()CompoundSlotAccessor.getVariable()ConstantAccessor.getVariable()abstract IDecisionVariableEvaluationAccessor.getVariable()Returns the underlying variable.LocalDecisionVariable.getVariable()Returns the underlying variable.CollectionElementVariable.resolve(IConfiguration config) Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDecisionVariableModifier and TypeMethodDescriptionvoidEvaluationAccessor.addBoundContainerElement(IDecisionVariable element) Addselementto the bound container elements.LocalConfiguration.addDecision(IDecisionVariable decision) Adds a (local) decision to this configuration.voidEvaluationContext.addErrorMessage(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.AbstractDecisionVariableEvaluationAccessor.bind(IDecisionVariable variable, EvaluationContext context) Binds this accessor.CompoundSlotAccessor.bind(IDecisionVariable variable, String slotName, EvaluationContext context) Binds the accessor to the given variable and context.ContainerElementAccessor.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.VariableAccessor.bind(IDecisionVariable variable, EvaluationContext context) Binds the accessor to the given (non-local) variable and context.VariableAccessor.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, 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, String qname) Finds a variable via its (qualified access) name.abstract IAssignmentStateEvaluationContext.getTargetState(IDecisionVariable variable) Returns the target state of the evaluation forvariable.EvaluationVisitor.EvaluationContextImpl.getTargetState(IDecisionVariable var) protected IAssignmentStateEvaluationVisitor.getTargetState(IDecisionVariable var) Returns the target state for a variable which is actually being assigned.IEvaluationInterceptor.getValue(IDecisionVariable var) private voidVariableValueCopier.handleFurther(IDecisionVariable base, 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, 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, String prefix, Map<String, VariableValueCopier.CopySpec> fieldSpecs, 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 IDecisionVariableModifier and TypeMethodDescriptionprivate voidVariableValueCopier.process(IDecisionVariable variable, IDecisionVariable base, String prefix, Map<String, VariableValueCopier.CopySpec> fieldSpecs, Set<IDecisionVariable> done) Processes a decision variable.Constructors in net.ssehub.easy.varModel.cstEvaluation with parameters of type IDecisionVariableModifierConstructorDescriptionLocalDecisionVariable(DecisionVariableDeclaration decl, IConfiguration conf, IDecisionVariable parent) Creates a local decision variable.Message(String description, net.ssehub.easy.basics.messages.Status status, IDecisionVariable var, int code) Main constructor.privateSourceBasedFreezeProvider(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 IDecisionVariableModifier and TypeFieldDescriptionprivate IDecisionVariableIDecisionVariableInConstraintFinder.lastVariableFields in net.ssehub.easy.varModel.model.filter with type parameters of type IDecisionVariableModifier and TypeFieldDescriptionprivate Deque<IDecisionVariable> IDecisionVariableInConstraintFinder.parentsprivate Set<IDecisionVariable> IDecisionVariableInConstraintFinder.variablesprivate Set<IDecisionVariable> VariablesInConstraintFinder.variablesMethods in net.ssehub.easy.varModel.model.filter that return types with arguments of type IDecisionVariableModifier and TypeMethodDescriptionIDecisionVariableInConstraintFinder.getVariables()Returns allAbstractVariable's inside the givenConstraintSyntaxTree.VariablesInConstraintFinder.getVariables()Returns allIDecisionVariable's inside the givenConstraintSyntaxTree.Methods in net.ssehub.easy.varModel.model.filter with parameters of type IDecisionVariableModifier and TypeMethodDescriptionprotected 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 IDecisionVariableModifier and TypeMethodDescriptionbooleanVariableContainer.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 IDecisionVariableModifier and TypeFieldDescriptionprivate Map<AbstractVariable, Set<IDecisionVariable>> VariableLookUpTable.instancesPerDeclarationList of instances for a given declaration.private Map<IDatatype, Set<IDecisionVariable>> VariableLookUpTable.instancesPerTypeList of instances for a givenIDatatype.Methods in net.ssehub.easy.varModel.model.rewrite that return types with arguments of type IDecisionVariableModifier and TypeMethodDescriptionRewriteContext.getInstancesForDeclaration(Configuration config, AbstractVariable declaration) Returns the set of instances of the givenAbstractVariabledeclaration.(package private) Set<IDecisionVariable> VariableLookUpTable.getInstancesForDeclaration(AbstractVariable declaration) Returns the set of instances of the givenAbstractVariabledeclaration.RewriteContext.getInstancesForType(Configuration config, IDatatype type) Returns the set of instances of the givenIDatatype.(package private) 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 IDecisionVariableModifier and TypeMethodDescriptionprivate 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 IDecisionVariableModifier and TypeMethodDescriptionprotected IDecisionVariableAbstractFrozenChecker.getVariable(AbstractVariable declaration) Returns the specifiedIDecisionVariable.