de.hpi.fgis.voidgen.hadoop.closure
Enum ClosureCounter

java.lang.Object
  extended by java.lang.Enum<ClosureCounter>
      extended by de.hpi.fgis.voidgen.hadoop.closure.ClosureCounter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClosureCounter>

public enum ClosureCounter
extends java.lang.Enum<ClosureCounter>

Contains counter variables necessary for running the transitive closure job.

Author:
Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Enum Constant Summary
CLUSTERS
          The number of clusters generated within a single iteration.
MERGED
          The number of merge operations executed while merging clusters.
NODES
          The sum of the number of nodes of all clusters.
 
Method Summary
static ClosureCounter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClosureCounter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLUSTERS

public static final ClosureCounter CLUSTERS
The number of clusters generated within a single iteration.


MERGED

public static final ClosureCounter MERGED
The number of merge operations executed while merging clusters.


NODES

public static final ClosureCounter NODES
The sum of the number of nodes of all clusters.

Method Detail

values

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

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

valueOf

public static ClosureCounter 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 name
java.lang.NullPointerException - if the argument is null