Package org.ssclab.pl.milp
Enum EPSILON
- java.lang.Object
-
- java.lang.Enum<EPSILON>
-
- org.ssclab.pl.milp.EPSILON
-
- All Implemented Interfaces:
Serializable
,Comparable<EPSILON>
public enum EPSILON extends Enum<EPSILON>
Enumeration for epsilon values ranging from 1E-16 to 1E-4.- Version:
- 1.0
- Author:
- Stefano Scarioli
- See Also:
- SSC Software www.sscLab.org
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue()
static EPSILON
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPSILON[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_ZERO
public static final EPSILON _ZERO
-
_1E_M16
public static final EPSILON _1E_M16
-
_1E_M15
public static final EPSILON _1E_M15
-
_1E_M14
public static final EPSILON _1E_M14
-
_1E_M13
public static final EPSILON _1E_M13
-
_1E_M12
public static final EPSILON _1E_M12
-
_1E_M11
public static final EPSILON _1E_M11
-
_1E_M10
public static final EPSILON _1E_M10
-
_1E_M9
public static final EPSILON _1E_M9
-
_1E_M8
public static final EPSILON _1E_M8
-
_1E_M7
public static final EPSILON _1E_M7
-
_1E_M6
public static final EPSILON _1E_M6
-
_1E_M5
public static final EPSILON _1E_M5
-
_1E_M4
public static final EPSILON _1E_M4
-
-
Method Detail
-
values
public static EPSILON[] 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 (EPSILON c : EPSILON.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPSILON valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public double getValue()
-
-