|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VertexEdgeKernel>
info.mrupp.isoak1.VertexEdgeKernel
public enum VertexEdgeKernel
Available vertex and edge subkernels.
Vertex and edge kernels implement the same interface IVertexEdgeKernel
.
This class provides information about all available vertex and edge kernels and acts
as a factory for them.
Enum Constant Summary | |
---|---|
DIRACE
Dirac kernel on edges. |
|
DIRACV
Dirac kernel on vertices. |
|
EXPE
Gaussian (sigmoid) kernel on edges. |
|
EXPV
Gaussian (sigmoid) kernel on vertices. |
|
NONE
No vertex/edge kernel. |
|
TOPOLOGY
Topological vertex subkernel. |
Method Summary | |
---|---|
java.lang.String |
argName()
Short name of vertex/edge kernel. |
abstract IVertexEdgeKernel |
create(float[] params)
Creates a new vertex/edge kernel with given parameters. |
java.lang.String |
description()
Human readable description of vertex/edge kernel. |
static VertexEdgeKernel |
fromString(java.lang.String str)
Retrieve vertex/edge kernel by short name. |
int |
numArgs()
Number of arguments needed for construction of vertex/edge kernel. |
static VertexEdgeKernel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VertexEdgeKernel[] |
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 |
---|
public static final VertexEdgeKernel DIRACE
public static final VertexEdgeKernel DIRACV
public static final VertexEdgeKernel EXPE
public static final VertexEdgeKernel EXPV
public static final VertexEdgeKernel NONE
public static final VertexEdgeKernel TOPOLOGY
Method Detail |
---|
public java.lang.String argName()
public abstract IVertexEdgeKernel create(float[] params)
public java.lang.String description()
public static VertexEdgeKernel fromString(java.lang.String str)
public int numArgs()
public static VertexEdgeKernel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static VertexEdgeKernel[] values()
for (VertexEdgeKernel c : VertexEdgeKernel.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |