|
|||||||||
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 simplified user interface to choose local computation architectures.
Enum Constant Summary | |
---|---|
Binary_Shenoy_Shafer
The binary Shenoy-Shafer architecture. |
|
Dynamic_Programming
The dynamic programming architecture. |
|
Hugin
The Hugin architecture. |
|
Idempotent
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)
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 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 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
public static final Architecture Dynamic_Programming
Method Detail |
---|
public static 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 name
NullPointerException
- if the argument is nullpublic JoinTree getInstance(Knowledgebase kb, Collection<Domain> queries, Algorithm algo) throws ConstrException
kb
- The knowledgebase for the new jointree.queries
- The query list for the new jointree.algo
- The construction algorithm to build the jointree.
algo
.
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 |