|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.parser.ExcludePairContainer
agg.parser.DependencyPairContainer
agg.parser.LayeredDependencyPairContainer
public class LayeredDependencyPairContainer
This class provides a container for critical pairs. The critical pairs uses the exclude algorithm. Further on the used graph grammar is layered.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class agg.parser.ExcludePairContainer |
---|
ExcludePairContainer.Entry |
Field Summary | |
---|---|
protected LayeredDependencyPair |
layeredPair
|
protected LayeredSimpleDependencyPair |
layeredSimplePair
|
Fields inherited from class agg.parser.DependencyPairContainer |
---|
completeConcurrency, concurrentRules, makeConcurrentRules, switchDependency |
Fields inherited from class agg.parser.ExcludePairContainer |
---|
asymmetrically, calculateParallel, commonContainer, complete, conflictFreeContainer, conflictKind, consistent, equalVariableNameOfAttrMapping, excludeContainer, excludeContainerForTestGraph, excludePair, grammar, ignoreIdenticalRules, isAlive, isComputed, isComputedLocal, isEmpty, listener, reduce, reduceSameMatch, rules, stop, strategy, strongAttrCheck, testGraph, useHostGraph, withNACs, withPACs |
Constructor Summary | |
---|---|
LayeredDependencyPairContainer(GraGra gragra)
Creates a new container for critical pairs. |
|
LayeredDependencyPairContainer(GraGra gragra,
LayerFunction layerFunc)
Deprecated. |
Method Summary | |
---|---|
protected void |
computeCritical(Rule r1,
Rule r2)
Computes if the first rule exclude the second rule. |
protected void |
fillContainers()
Fills all containers with the critical pairs. |
LayerFunction |
getLayer()
Deprecated. not more used |
void |
setLayer(int l)
Sets a layer to compute. |
void |
setLayer(LayerFunction lf)
Deprecated. not more used |
void |
XreadObject(XMLHelper h)
Reads the contents of a xml file to restore this object. |
void |
XwriteObject(XMLHelper h)
Writes the contents of this object to a file in a xml format. |
Methods inherited from class agg.parser.DependencyPairContainer |
---|
enableProduceConcurrentRule, enableSwitchDependency, getConcurrentRules, getCurrentDependencyPair, getDependencyContainer, readOldOverlappingMorphisms, setCompleteConcurrency, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface agg.parser.PairContainer |
---|
addPairEventListener, clear, enableUseHostGraph, getActiveExcludePair, getContainer, getCritical, getCriticalPair, getCriticalPair, getCriticalSet, getGrammar, getKindOfConflict, getMorphCompletionStrategy, getNumberOfContainers, getRules, initAllContainer, isAlive, isComputed, isEmpty, setComputeAsymetrically, setGrammar, setMorphCompletionStrategy, setRules, setStop, stop, useHostGraphEnabled, wasStopped |
Field Detail |
---|
protected LayeredDependencyPair layeredPair
protected LayeredSimpleDependencyPair layeredSimplePair
Constructor Detail |
---|
public LayeredDependencyPairContainer(GraGra gragra, LayerFunction layerFunc)
gragra
- The graph grammar.layerFunc
- The layer function.public LayeredDependencyPairContainer(GraGra gragra)
gragra
- The graph grammar.Method Detail |
---|
protected void computeCritical(Rule r1, Rule r2)
computeCritical
in class DependencyPairContainer
r1
- The first rule.r2
- The second rule.protected void fillContainers()
ExcludePairContainer
fillContainers
in class ExcludePairContainer
public void setLayer(LayerFunction lf)
lf
- A specific layer function.public LayerFunction getLayer()
getLayer
in interface PairContainer
getLayer
in class ExcludePairContainer
PairContainer.getLayer()
public void setLayer(int l)
l
- public void XwriteObject(XMLHelper h)
XwriteObject
in interface XMLObject
XwriteObject
in class DependencyPairContainer
h
- A helper object for storing.public void XreadObject(XMLHelper h)
XreadObject
in interface XMLObject
XreadObject
in class DependencyPairContainer
h
- A helper object for loading.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |