Package net.ssehub.easy.varModel.cstEvaluation
package net.ssehub.easy.varModel.cstEvaluation
Implements the evaluation of constraint syntax trees. Operations evaluators to
be considered shall be registered with the evaluator registry. Indeed, we will
repeat some code for implementing the operations, but we fear that the more
generic versions will be slower as they imply either repeated array creation
or polymorphic calls. Typically, one can rely on that the types passed into
an operation evaluator comply to the types of the operation as the compliance
is checked during the creation of the constraint syntax tree. To avoid index access
and type cast exceptions, we check for the argument number and types anyway and
return null in case of problems (that shall typically not occur).
-
ClassDescriptionAn accessor based on a decision variable.Basic (number) operations.Implements Boolean operations.Defines the interface for a binary boolean operation.Generically implements binary Boolean operations.A temporary variable representing a value of a container.Implements compound operations.Implements an accessor for decision variables.Implements an accessor for constant values.Implements a constant value resolution visitor.Implements constraint operations.Implements an accessor for decision variables.Implements the container iterators.Implements a basic closure iterator which can stop on a cycle.Implements an evaluator adaptor for collecting operations.Implements
Container.SELECTandContainer.REJECT.The default value comparator for any value based onStringProvider.A number aggregating iterator.Implements the default container operations.Implements a container calculation evaluator (just as needed for now).Defines a container/container operation.Implements a container/container operation generically.A combined container value / accessor.Defines a container/value operation.Implements a container/value operation generically.Implements the "includes"/"excludes" function.Implements the "flattens" operation.Implements the "includesAll"/"excludesAll" function.Implements the "isEmpty"/"notEmpty" function.Implements the typeSelection operation.Realizes a context stack for evaluating nested self expressions.Implements a poolable stack frame.Calculates the dynamic dispatch of a custom operation.Implements enum and ordered enum operations.Defines the evaluation of a binary enum (literal) operation.Implements the generic enum comparison operation based onEnumOperations.BinaryEnumComparisonOperation.ImplementsOrderedEnum.MIN.Defines a unified accessor to variables, constants, slots etc.Some basic functionality required by the evaluators without exposing theEvaluationVisitor.Some evaluation utility methods.Implements a variable replacer.Evaluation visitor for IVML expressions.Extended Message class for saving variables that fail in assignments.Allows to register, query and unregister evaluators for IVML operations.Implements a freeze selector based on expression evaluation.Implements the operations of the internal freeze variable type.Implements the operation evaluator for variable names.Generic Number (IntegerType,RealType) operations.Strategy for comparing two numbers.Generic operation implementation for the individual types.Interface to the constraint evaluator to avoid unnecessary access when passing along an evaluation visitor.An evaluation interceptor may step into the expression evaluation at certain points in time to modify setting/getting values.Provides an iterator aggregation function.Implements an accessor for index access.Implements integer operations.Evaluates an IVML operation.Informs interested parties about the resolution of a variable to a decision variable.Implements a specific expression for defining local variables with variable initialization expressions in iterator expressions.Is called when theEvaluationVisitorchanges a value in the configuration.Indicates the kind of the change.Special wrapper value for lists.Creates a local configuration instance.A local decision variable representing a parameter or a local variable.Implements the meta type operations.Implements real operations.Implements reference operations.Implements sequence operations.Implements set operations.Finds variables with static access in the given expression.Implements string operations.Implements the case change operations.Implements the string compare operations.Implements an accessor for decision variables.Copies specified variable values, i.e., single variables to a single variable or a compatible container or a container to a container.Defines a copy specification.A default freeze provider for but-expressions based on attributes of type enum.Optional listener interface to generically track primary value assignments.An interface providing information to create freeze blocks for new variables.A freeze provider based on known frozen assignment states.Implements version operations.A version evaluation result validator.Evaluates a version operation.