|
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<SizeTestData> cz.cuni.mff.ksi.jinfer.iss.experiments.data.SizeTestData
public enum SizeTestData
A set of artificial data, random graphs. They should have approximately the same density (~1/10 of all possible edges).
Enum Constant Summary | |
---|---|
GRAPH_0_0
|
|
GRAPH_10_5
|
|
GRAPH_100_500
|
|
GRAPH_20_20
|
|
GRAPH_30_45
|
|
GRAPH_40_80
|
|
GRAPH_50_125
|
|
GRAPH_60_180
|
|
GRAPH_70_245
|
|
GRAPH_80_320
|
|
GRAPH_90_405
|
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 SizeTestData |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SizeTestData[] |
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 SizeTestData GRAPH_0_0
public static final SizeTestData GRAPH_10_5
public static final SizeTestData GRAPH_20_20
public static final SizeTestData GRAPH_30_45
public static final SizeTestData GRAPH_40_80
public static final SizeTestData GRAPH_50_125
public static final SizeTestData GRAPH_60_180
public static final SizeTestData GRAPH_70_245
public static final SizeTestData GRAPH_80_320
public static final SizeTestData GRAPH_90_405
public static final SizeTestData GRAPH_100_500
Method Detail |
---|
public static SizeTestData[] values()
for (SizeTestData c : SizeTestData.values()) System.out.println(c);
public static SizeTestData 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 |