Package org.nlpub.watset.graph
Enum NodeWeightings.WeightingMode
- java.lang.Object
-
- java.lang.Enum<NodeWeightings.WeightingMode>
-
- org.nlpub.watset.graph.NodeWeightings.WeightingMode
-
- All Implemented Interfaces:
Serializable,Comparable<NodeWeightings.WeightingMode>
- Enclosing class:
- NodeWeightings
public static enum NodeWeightings.WeightingMode extends Enum<NodeWeightings.WeightingMode>
Weighting modes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeWeightings.WeightingModevalueOf(String name)Returns the enum constant of this type with the specified name.static NodeWeightings.WeightingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LABEL
public static final NodeWeightings.WeightingMode LABEL
Weighting modelabel.- See Also:
NodeWeightings.LabelNodeWeighting
-
TOP
public static final NodeWeightings.WeightingMode TOP
Weighting modetop.- See Also:
NodeWeightings.TopNodeWeighting
-
LOG
public static final NodeWeightings.WeightingMode LOG
Weighting modelog.- See Also:
NodeWeightings.LogNodeWeighting
-
NOLOG
@Deprecated public static final NodeWeightings.WeightingMode NOLOG
Deprecated.Replaced withLINWeighting modelin.- See Also:
NodeWeightings.LinearNodeWeighting
-
LIN
public static final NodeWeightings.WeightingMode LIN
Weighting modelin.- See Also:
NodeWeightings.LinearNodeWeighting
-
-
Method Detail
-
values
public static NodeWeightings.WeightingMode[] 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 (NodeWeightings.WeightingMode c : NodeWeightings.WeightingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeWeightings.WeightingMode 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
-
-