|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OfficialTestData> cz.cuni.mff.ksi.jinfer.iss.experiments.data.OfficialTestData
public enum OfficialTestData
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 |
---|
public static final OfficialTestData OVA1
public static final OfficialTestData OVA2
public static final OfficialTestData OVA3
public static final OfficialTestData XMAc
public static final OfficialTestData XMAp
public static final OfficialTestData XMD
public static final OfficialTestData MSH
public static final OfficialTestData NTH
public static final OfficialTestData GRAPH_100_100
public static final OfficialTestData GRAPH_100_200
public static final OfficialTestData GRAPH_100_1000
Method Detail |
---|
public static OfficialTestData[] values()
for (OfficialTestData c : OfficialTestData.values()) System.out.println(c);
public static OfficialTestData valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic InputFile getFile()
TestData
getFile
in interface TestData
public int getVertices()
TestData
getVertices
in interface TestData
public int getEdges()
TestData
getEdges
in interface TestData
public Double getKnownOptimum()
TestData
getKnownOptimum
in interface TestData
null
if unknown.
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |