public interface GrammarResponseApplier
GrammarResponse to a
graph.| Modifier and Type | Method and Description |
|---|---|
Collection<HeapConfiguration> |
applyGrammarResponseTo(HeapConfiguration inputGraph,
int edgeId,
GrammarResponse grammarResponse)
Materializes the given edge in the inputGraph with each rule in the
grammarResponse yielding a collection of materialized graphs.
|
Collection<HeapConfiguration> applyGrammarResponseTo(HeapConfiguration inputGraph, int edgeId, GrammarResponse grammarResponse) throws WrongResponseTypeException
inputGraph - the graph which will be materializededgeId - the id of the nonterminal edge which will be materializedgrammarResponse - a DefaultGrammarResponse holding all the rules
which will be appliedWrongResponseTypeException - if the grammarResponse is not a DefaultGrammarResponseCopyright © 2019. All rights reserved.