|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MSTData.MSTBuilderType>
org.peace_tools.workspace.MSTData.MSTBuilderType
public static enum MSTData.MSTBuilderType
Different enumerations defining the different approaches that PEACE currently supports for building a MST.
Enum Constant Summary | |
---|---|
MST
This is the default and standard MST building algorithm that is based on Prim's algorithm. |
|
PMST
This method builds an approximately close MST -- it is not the MST but is a tree that is close enough to MST. |
|
TMST
This approach uses the concept of transitivity to build a MST. |
Method Summary | |
---|---|
static MSTData.MSTBuilderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MSTData.MSTBuilderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MSTData.MSTBuilderType MST
public static final MSTData.MSTBuilderType PMST
public static final MSTData.MSTBuilderType TMST
Method Detail |
---|
public static MSTData.MSTBuilderType[] values()
for (MSTData.MSTBuilderType c : MSTData.MSTBuilderType.values()) System.out.println(c);
public static MSTData.MSTBuilderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |