jInfer

cz.cuni.mff.ksi.jinfer.iss.experiments.data
Enum OfficialTestData

java.lang.Object
  extended by java.lang.Enum<OfficialTestData>
      extended by cz.cuni.mff.ksi.jinfer.iss.experiments.data.OfficialTestData
All Implemented Interfaces:
TestData, Serializable, Comparable<OfficialTestData>

public enum OfficialTestData
extends Enum<OfficialTestData>
implements TestData

Enum listing all the official test data files.


Enum Constant Summary
GRAPH_100_100
           
GRAPH_100_1000
           
GRAPH_100_200
           
MSH
           
NTH
           
OVA1
           
OVA2
           
OVA3
           
XMAc
           
XMAp
           
XMD
           
 
Method Summary
 int getEdges()
          Returns the number of edges in the graph representation of this file.
 InputFile getFile()
          Returns the input file represented.
 Double getKnownOptimum()
          Returns the known optimum for alpha = beta = 1, if available.
 int getVertices()
          Returns the number of vertices in the graph representation of this file.
static OfficialTestData valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OfficialTestData[] 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

OVA1

public static final OfficialTestData OVA1

OVA2

public static final OfficialTestData OVA2

OVA3

public static final OfficialTestData OVA3

XMAc

public static final OfficialTestData XMAc

XMAp

public static final OfficialTestData XMAp

XMD

public static final OfficialTestData XMD

MSH

public static final OfficialTestData MSH

NTH

public static final OfficialTestData NTH

GRAPH_100_100

public static final OfficialTestData GRAPH_100_100

GRAPH_100_200

public static final OfficialTestData GRAPH_100_200

GRAPH_100_1000

public static final OfficialTestData GRAPH_100_1000
Method Detail

values

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

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

valueOf

public static OfficialTestData 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

getFile

public InputFile getFile()
Description copied from interface: TestData
Returns the input file represented.

Specified by:
getFile in interface TestData
Returns:
Test data file.

getVertices

public int getVertices()
Description copied from interface: TestData
Returns the number of vertices in the graph representation of this file.

Specified by:
getVertices in interface TestData

getEdges

public int getEdges()
Description copied from interface: TestData
Returns the number of edges in the graph representation of this file.

Specified by:
getEdges in interface TestData

getKnownOptimum

public Double getKnownOptimum()
Description copied from interface: TestData
Returns the known optimum for alpha = beta = 1, if available.

Specified by:
getKnownOptimum in interface TestData
Returns:
Known optimum for this file or null if unknown.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011