Module org.jgrapht.core
Enum BlossomVOptions.InitializationType
- java.lang.Object
-
- java.lang.Enum<BlossomVOptions.InitializationType>
-
- org.jgrapht.alg.matching.blossom.v5.BlossomVOptions.InitializationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlossomVOptions.InitializationType>
- Enclosing class:
- BlossomVOptions
public static enum BlossomVOptions.InitializationType extends java.lang.Enum<BlossomVOptions.InitializationType>
Enum for types of matching initialization
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FRACTIONAL
GREEDY
NONE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
toString()
Returns the name of the initialization typestatic BlossomVOptions.InitializationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlossomVOptions.InitializationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREEDY
public static final BlossomVOptions.InitializationType GREEDY
-
NONE
public static final BlossomVOptions.InitializationType NONE
-
FRACTIONAL
public static final BlossomVOptions.InitializationType FRACTIONAL
-
-
Method Detail
-
values
public static BlossomVOptions.InitializationType[] 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 (BlossomVOptions.InitializationType c : BlossomVOptions.InitializationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlossomVOptions.InitializationType 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
-
toString
public abstract java.lang.String toString()
Returns the name of the initialization type- Overrides:
toString
in classjava.lang.Enum<BlossomVOptions.InitializationType>
- Returns:
- the name of the initialization type
-
-