edu.ucla.belief.io.dsl
Class DSLNodeType

Object
  extended by DSLNodeType
All Implemented Interfaces:
EnumValue

public class DSLNodeType
extends Object
implements EnumValue

A class that represents an enumerated type over the kinds of Genie nodes that inflib/samiam will currently support.

Since:
20020304
Author:
keith cascio

Field Summary
static DSLNodeType CPT
           
static DSLNodeType DECISIONTREE
           
static boolean FLAG_ENABLE_DECISIONTREE
           
static DSLNodeType NOISY_OR
           
static EnumProperty PROPERTY
           
static DSLNodeType TRUTHTABLE
           
 
Method Summary
static EnumValue forIndex(int index)
           
static DSLNodeType forString(String code)
           
static DSLNodeType[] getArrayInterconvertibleTypes(DSLNodeType type)
           
static int indexOf(EnumValue value)
           
 boolean isTableType()
           
static Iterator iterator()
           
 EnumProperty property()
           
 String toString()
          Call this method to get the standardized string representation of a DSLNodeType.
static DSLNodeType[] valuesAsArray()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CPT

public static final DSLNodeType CPT

NOISY_OR

public static final DSLNodeType NOISY_OR

TRUTHTABLE

public static final DSLNodeType TRUTHTABLE

DECISIONTREE

public static final DSLNodeType DECISIONTREE
Since:
010905

FLAG_ENABLE_DECISIONTREE

public static boolean FLAG_ENABLE_DECISIONTREE
Since:
041305

PROPERTY

public static EnumProperty PROPERTY
Since:
081903
Method Detail

getArrayInterconvertibleTypes

public static DSLNodeType[] getArrayInterconvertibleTypes(DSLNodeType type)
Since:
010905

toString

public String toString()
Call this method to get the standardized string representation of a DSLNodeType.

Specified by:
toString in interface EnumValue
Overrides:
toString in class Object

property

public EnumProperty property()
Specified by:
property in interface EnumValue
Since:
20070420

isTableType

public boolean isTableType()
Since:
20060215

valuesAsArray

public static DSLNodeType[] valuesAsArray()

iterator

public static Iterator iterator()

forString

public static DSLNodeType forString(String code)

indexOf

public static int indexOf(EnumValue value)
Since:
20050823

forIndex

public static EnumValue forIndex(int index)
Since:
20050823


Copyright 2010 UCLA Automated Reasoning Group