public class GeneralMaterializationStrategy extends Object implements MaterializationStrategy
| Constructor and Description |
|---|
GeneralMaterializationStrategy(MaterializationRuleManager ruleManager,
GrammarResponseApplier ruleApplier)
Creates a new GeneralMaterializationStrategy using ruleManager to determine
which rules to apply to resolve a violationPoint and ruleApplier to apply
those rules to the graph.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<HeapConfiguration> |
materialize(HeapConfiguration heapConfiguration,
ViolationPoints potentialViolationPoints)
Attempts to materialize a given program states such that the provided
|
public GeneralMaterializationStrategy(MaterializationRuleManager ruleManager, GrammarResponseApplier ruleApplier)
ruleManager - a MaterializationRuleManager providing the rules to apply
to a given violationPointruleApplier - the GrammarResponseApplier applying the rules to the graph
(e.g. performing materialization of stacks, replacing the nonterminal by the rule
graph)public Collection<HeapConfiguration> materialize(HeapConfiguration heapConfiguration, ViolationPoints potentialViolationPoints)
MaterializationStrategymaterialize in interface MaterializationStrategyheapConfiguration - The program state that should be materialized.potentialViolationPoints - A specification of points in the program state that prevent the
concrete semantics from being executed.Copyright © 2019. All rights reserved.