Class ContextStack.Context
java.lang.Object
net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.Context
- Enclosing class:
ContextStack
A linked stack entry. Stack is formed through
predecessor.- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanIndicates whether the mapping shall be (type) cached in this context.private booleanIndicates that only constraint variable constraints shall be translated/instantiated.private net.ssehub.easy.varModel.cst.ConstraintSyntaxTreeContainer accessor for incremental container quantification.private TypeCache.EntryA completed type cache entry to be used as fallback lookup for on-demand accessor instantiation.private TypeCache.EntryA type cache entry in construction during translation.private net.ssehub.easy.varModel.model.DecisionVariableDeclarationIterator variable for incremental container quantification.Secundary name-accessor mapping, consistent withvarMap.private ContextStack.ContextPredecessor context for stacked lookups.private Set<net.ssehub.easy.varModel.model.datatypes.IDatatype> The processed types.private booleanShall processed types be recorded.private net.ssehub.easy.varModel.model.AbstractVariableThe underlying variable being translated, used for fallback lookups in on-demand accessor instantiation throughfallback.private net.ssehub.easy.varModel.model.datatypes.IDatatypeStores the associated type.private Set<? extends net.ssehub.easy.varModel.model.datatypes.IDatatype> Stores type-excludes for constraint re-scheduling.private Map<net.ssehub.easy.varModel.model.AbstractVariable, net.ssehub.easy.varModel.cst.ConstraintSyntaxTree> Variable-accessor mapping. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
varMap
private Map<net.ssehub.easy.varModel.model.AbstractVariable,net.ssehub.easy.varModel.cst.ConstraintSyntaxTree> varMapVariable-accessor mapping. -
nameMap
Secundary name-accessor mapping, consistent withvarMap. -
iterator
private net.ssehub.easy.varModel.model.DecisionVariableDeclaration iteratorIterator variable for incremental container quantification. -
container
private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree containerContainer accessor for incremental container quantification. -
predecessor
Predecessor context for stacked lookups. -
recordProcessedTypes
private boolean recordProcessedTypesShall processed types be recorded. -
processedTypes
The processed types. -
typeExcludes
Stores type-excludes for constraint re-scheduling. -
type
private net.ssehub.easy.varModel.model.datatypes.IDatatype typeStores the associated type. -
inConstruction
A type cache entry in construction during translation. -
cashMapping
private boolean cashMappingIndicates whether the mapping shall be (type) cached in this context. -
constraintVarOnly
private boolean constraintVarOnlyIndicates that only constraint variable constraints shall be translated/instantiated. -
fallback
A completed type cache entry to be used as fallback lookup for on-demand accessor instantiation. -
self
private net.ssehub.easy.varModel.model.AbstractVariable selfThe underlying variable being translated, used for fallback lookups in on-demand accessor instantiation throughfallback. -
annotationAssignments
-
-
Constructor Details
-
Context
Context()
-
-
Method Details
-
clear
private void clear()Clears this context.
-