|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.parser.ExcludePairContainer
agg.parser.LayeredExcludePairContainer
public class LayeredExcludePairContainer
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 LayeredExcludePair |
layeredPair
|
protected LayeredSimpleExcludePair |
layeredSimplePair
|
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 | |
---|---|
LayeredExcludePairContainer(GraGra gragra)
Creates a new container for critical pairs. |
|
LayeredExcludePairContainer(GraGra gragra,
LayerFunction layer)
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 layer)
Sets a layer to compute. |
void |
setLayer(LayerFunction layer)
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 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 LayeredExcludePair layeredPair
protected LayeredSimpleExcludePair layeredSimplePair
Constructor Detail |
---|
public LayeredExcludePairContainer(GraGra gragra, LayerFunction layer)
gragra
- The graph grammar.layer
- The layer function.public LayeredExcludePairContainer(GraGra gragra)
gragra
- The graph grammar.Method Detail |
---|
protected void computeCritical(Rule r1, Rule r2)
computeCritical
in class ExcludePairContainer
r1
- The first rule.r2
- The second rule.protected void fillContainers()
ExcludePairContainer
fillContainers
in class ExcludePairContainer
public void setLayer(LayerFunction layer)
layer
- A specific layer function.public LayerFunction getLayer()
getLayer
in interface PairContainer
getLayer
in class ExcludePairContainer
PairContainer.getLayer()
public void setLayer(int layer)
layer
- public void XwriteObject(XMLHelper h)
XwriteObject
in interface XMLObject
XwriteObject
in class ExcludePairContainer
h
- A helper object for storing.public void XreadObject(XMLHelper h)
XreadObject
in interface XMLObject
XreadObject
in class ExcludePairContainer
h
- A helper object for loading.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |