Module org.jgrapht.core
Package org.jgrapht.alg.spanning
Enum AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType
- java.lang.Object
-
- java.lang.Enum<AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType>
-
- org.jgrapht.alg.spanning.AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType>
- Enclosing class:
- AhujaOrlinSharmaCapacitatedMinimumSpanningTree<V,E>
private static enum AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType extends java.lang.Enum<AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType>
This enums contains the vertex types of the improvement graph.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ImprovementGraphVertexType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType SINGLE
-
SUBTREE
public static final AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType SUBTREE
-
PSEUDO
public static final AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType PSEUDO
-
ORIGIN
public static final AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType ORIGIN
-
-
Method Detail
-
values
public static AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType c : AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AhujaOrlinSharmaCapacitatedMinimumSpanningTree.ImprovementGraphVertexType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-