public interface CanonicalizationHelper
| Modifier and Type | Method and Description |
|---|---|
HeapConfiguration |
prepareHeapForCanonicalization(HeapConfiguration toAbstract)
If the grammar type requires a modification of the graph before it can be abstracted,
it is done with this method.
|
HeapConfiguration |
tryReplaceMatching(HeapConfiguration toAbstract,
CollapsedHeapConfiguration rhs,
Nonterminal lhs)
If an embedding of rhs in toAbstract can be found it computes it
and replaces it with a nonterminal edge labeled with lhs.
|
HeapConfiguration |
tryReplaceMatching(HeapConfiguration toAbstract,
HeapConfiguration rhs,
Nonterminal lhs)
If an embedding of rhs in toAbstract can be found it computes it
and replaces it with a nonterminal edge labeled with lhs.
|
HeapConfiguration tryReplaceMatching(HeapConfiguration toAbstract, HeapConfiguration rhs, Nonterminal lhs)
toAbstract - the target graphrhs - the pattern graphlhs - the label of the replacing nonterminal edgeHeapConfiguration prepareHeapForCanonicalization(HeapConfiguration toAbstract)
toAbstract - the graph which shall be abstractedHeapConfiguration tryReplaceMatching(HeapConfiguration toAbstract, CollapsedHeapConfiguration rhs, Nonterminal lhs)
toAbstract - the target graphrhs - the pattern graphlhs - the label of the replacing nonterminal edgeCopyright © 2018. All rights reserved.