|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.parser.CriticalPairOption
public class CriticalPairOption
This option configures the algorithm of the critical pairs.
Field Summary | |
---|---|
static java.lang.String |
COMPLETE
|
static java.lang.String |
CONSISTENT
|
static int |
DEPENDONLY
Deprecated. replaced by TRIGGER_DEPEND |
static java.lang.String |
ESSENTIAL
|
static int |
EXCLUDEONLY
The algorithm of the critical pairs. |
static java.lang.String |
IGNORE_SAME_MATCH
|
static java.lang.String |
IGNORE_SAME_RULE
|
static java.lang.String |
STRONG_ATTR_CHECK
|
static int |
TRIGGER_DEPEND
The additional algorithm of the critical pairs. |
static int |
TRIGGER_SWITCH_DEPEND
|
Constructor Summary | |
---|---|
CriticalPairOption()
Creates new option with default settings. |
Method Summary | |
---|---|
void |
addOptionListener(OptionEventListener l)
Adds an option listener. |
boolean |
completeEnabled()
|
boolean |
consistentEnabled()
|
void |
enableComplete(boolean enable)
|
void |
enableConsistent(boolean enable)
|
void |
enableEqualVariableNameOfAttrMapping(boolean enable)
|
void |
enableIgnoreIdenticalRules(boolean enable)
|
void |
enableLayered(boolean enable)
Enable if layered graph grammar is used. |
void |
enableNacs(boolean enable)
|
void |
enablePacs(boolean enable)
|
void |
enablePriority(boolean enable)
|
void |
enableReduce(boolean enable)
|
void |
enableReduceSameMatch(boolean enable)
|
void |
enableStrongAttrCheck(boolean enable)
|
void |
enableSwitchDependency(boolean enable)
|
boolean |
equalVariableNameOfAttrMappingEnabled()
|
int |
getCriticalPairAlgorithm()
Returns the algorithm of the critical pair analysis. |
int |
getLayer()
|
boolean |
ignoreIdenticalRulesEnabled()
|
boolean |
layeredEnabled()
Checks if the graph grammar is layered. |
boolean |
nacsEnabled()
|
boolean |
pacsEnabled()
|
boolean |
priorityEnabled()
|
boolean |
reduceEnabled()
|
boolean |
reduceSameMatchEnabled()
|
void |
removeOptionListener(OptionEventListener l)
Removes an option listener |
void |
setCriticalPairAlgorithm(int algorithm)
Sets the algorithm of the critical pair algorithm. |
void |
setLayer(int l)
|
void |
setOptionsFromList(java.util.List<Pair<java.lang.String,java.lang.String>> optionList)
|
boolean |
strongAttrCheckEnabled()
|
boolean |
switchDependencyEnabled()
|
java.lang.String |
toString()
Returns the option in human readable way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPLETE
public static final java.lang.String CONSISTENT
public static final java.lang.String STRONG_ATTR_CHECK
public static final java.lang.String IGNORE_SAME_MATCH
public static final java.lang.String IGNORE_SAME_RULE
public static final java.lang.String ESSENTIAL
public static final int EXCLUDEONLY
public static final int TRIGGER_DEPEND
public static final int TRIGGER_SWITCH_DEPEND
public static final int DEPENDONLY
Constructor Detail |
---|
public CriticalPairOption()
Method Detail |
---|
public int getCriticalPairAlgorithm()
public void setCriticalPairAlgorithm(int algorithm)
algorithm
- The algorithm.public boolean switchDependencyEnabled()
public void enableSwitchDependency(boolean enable)
public boolean priorityEnabled()
public void enablePriority(boolean enable)
public boolean layeredEnabled()
public void enableLayered(boolean enable)
enable
- true for layered graph grammarpublic void setLayer(int l)
public int getLayer()
public void setOptionsFromList(java.util.List<Pair<java.lang.String,java.lang.String>> optionList)
public boolean completeEnabled()
public void enableComplete(boolean enable)
public boolean reduceEnabled()
public void enableReduce(boolean enable)
public boolean reduceSameMatchEnabled()
public void enableReduceSameMatch(boolean enable)
public void enableNacs(boolean enable)
public boolean nacsEnabled()
public void enablePacs(boolean enable)
public boolean pacsEnabled()
public boolean consistentEnabled()
public void enableConsistent(boolean enable)
public boolean strongAttrCheckEnabled()
public void enableStrongAttrCheck(boolean enable)
public boolean equalVariableNameOfAttrMappingEnabled()
public void enableEqualVariableNameOfAttrMapping(boolean enable)
public boolean ignoreIdenticalRulesEnabled()
public void enableIgnoreIdenticalRules(boolean enable)
public void addOptionListener(OptionEventListener l)
l
- The listener.public void removeOptionListener(OptionEventListener l)
l
- The listener.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |