|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Architecture>
nenok.Architecture
public enum Architecture
This class serves as a more comfortable user interface to choose local computation architectures.
Enum Constant Summary | |
---|---|
Binary_Shenoy_Shafer
The binary Shenoy-Shafer architecture. |
|
Hugin
The Hugin architecture. |
|
Idempotent_Architecture
The idempotent architecture. |
|
Lauritzen_Spiegelhalter
The Lauritzen-Spiegelhalter architecture. |
|
Shenoy_Shafer
The n-ary Shenoy-Shafer architecture. |
Method Summary | |
---|---|
JoinTree |
getInstance(Knowledgebase kb,
Collection<Domain> queries,
Algorithm algo,
Processor proc)
This method maps enum types on new jointree instances. |
String |
getName()
|
static Architecture |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Architecture[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Architecture Shenoy_Shafer
public static final Architecture Binary_Shenoy_Shafer
public static final Architecture Lauritzen_Spiegelhalter
public static final Architecture Hugin
public static final Architecture Idempotent_Architecture
Method Detail |
---|
public static final Architecture[] values()
for(Architecture c : Architecture.values()) System.out.println(c);
public static Architecture valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic JoinTree getInstance(Knowledgebase kb, Collection<Domain> queries, Algorithm algo, Processor proc) throws RemoteException, ConstrException
kb
- The knoelwedgebase for the new jointree.queries
- The query list for the new jointree.algo
- The construction algorithm to build the jointree.proc
- The processor assigned to query nodes.
RemoteException
- Exceptions caused by communication problems when the query processor is accessed.
ConstrException
- Exceptions thrown by the jointree construction process.public String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |