org.graphstream.algorithm.measure
Enum AbstractCentrality.NormalizationMode

java.lang.Object
  extended by java.lang.Enum<AbstractCentrality.NormalizationMode>
      extended by org.graphstream.algorithm.measure.AbstractCentrality.NormalizationMode
All Implemented Interfaces:
Serializable, Comparable<AbstractCentrality.NormalizationMode>
Enclosing class:
AbstractCentrality

public static enum AbstractCentrality.NormalizationMode
extends Enum<AbstractCentrality.NormalizationMode>


Enum Constant Summary
MAX_1_MIN_0
           
NONE
           
SUM_IS_1
           
 
Method Summary
static AbstractCentrality.NormalizationMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractCentrality.NormalizationMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final AbstractCentrality.NormalizationMode NONE

SUM_IS_1

public static final AbstractCentrality.NormalizationMode SUM_IS_1

MAX_1_MIN_0

public static final AbstractCentrality.NormalizationMode MAX_1_MIN_0
Method Detail

values

public static AbstractCentrality.NormalizationMode[] 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 (AbstractCentrality.NormalizationMode c : AbstractCentrality.NormalizationMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AbstractCentrality.NormalizationMode 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 name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.