public static class IGetCertainTransitions.FilterOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
nothingIfCut
If set to true and the current state dissatisfies the global constraints an empty list will be returned.
|
boolean |
nothingIfGoal
If set to true and the current state satisfies the hard objectives an empty list will be returned.
|
java.util.List<DSETransformationRule<?,?>> |
ruleFilter
Only transitions with rules referenced by this list will be retrieved.
|
boolean |
untraversedOnly
Already traversed transitions won't be returned.
|
Constructor and Description |
---|
IGetCertainTransitions.FilterOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsRule(DSETransformationRule<?,?> rule)
Checks if the given rule is already in the filter list.
|
IGetCertainTransitions.FilterOptions |
nothingIfCut()
Will return an empty list if the current state dissatisfies the global constraints.
|
IGetCertainTransitions.FilterOptions |
nothingIfGoal()
Will return an empty list if the current state satisfies the hard objectives.
|
IGetCertainTransitions.FilterOptions |
untraversedOnly()
Will return only untraversed transitions.
|
IGetCertainTransitions.FilterOptions |
withRuleFilter(DSETransformationRule<?,?> rule)
Will return transitions derived from the given rule.
|
public boolean nothingIfCut
public boolean nothingIfGoal
public boolean untraversedOnly
public java.util.List<DSETransformationRule<?,?>> ruleFilter
public IGetCertainTransitions.FilterOptions()
public IGetCertainTransitions.FilterOptions nothingIfCut()
public IGetCertainTransitions.FilterOptions nothingIfGoal()
public IGetCertainTransitions.FilterOptions untraversedOnly()
public IGetCertainTransitions.FilterOptions withRuleFilter(DSETransformationRule<?,?> rule)
rule
- of the transitions to returnpublic boolean containsRule(DSETransformationRule<?,?> rule)
rule
-