public enum Format extends Enum<Format>
There is two ways to represent a set.
Consider the model:
parent * child 3
Suppose parent = {0,2,3}.
If child is in LowGroup, then it must choose the lowest 9 elements in its set. So child = {0,1,2,3,4,5,6,7,8}. This is good for many optimizations like skipCard and works for any case but it makes constant operations navigating down the tree more difficult because we don't know where the children lie during compile time. Abstract Clafers cannot have LowGroup.
If child is in ParentGroup, then each childSet is grouped together but there may be gaps between the childSets. A Clafer has ParentGroup ONLY IF it has exact cardinality, or it is Abstract, otherwise it isn't worthwhile. One reason why is that ParentGroup does not work with our symmetry breaking rules, but exact cardinalities do not need to be broken. Following the example, child = {0,1,2,6,7,8,9,10,11}.
Enum Constant and Description |
---|
LowGroup |
ParentGroup |
Modifier and Type | Method and Description |
---|---|
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format ParentGroup
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013. All Rights Reserved.