edu.ucla.util
Class CSITypeProperty

Object
  extended by AbstractEnumProperty
      extended by CSITypeProperty
All Implemented Interfaces:
EnumProperty

public class CSITypeProperty
extends AbstractEnumProperty

Represents the category of a variable's context-specific independence.

Since:
20060127
Author:
keith cascio

Nested Class Summary
 class CSITypeProperty.CSIType
           
 
Field Summary
 CSITypeProperty.CSIType AND
           
 EnumValue[] myArray
           
 List myList
           
 CSITypeProperty.CSIType OR
           
static CSITypeProperty PROPERTY
           
 CSITypeProperty.CSIType UNKNOWN
           
 
Method Summary
 boolean contains(EnumValue val)
           
 EnumValue forIndex(int index)
           
 EnumValue forString(String str)
           
 EnumValue getDefault()
           
 String getID()
           
 String getName()
           
 int indexOf(EnumValue value)
           
 boolean isTransient()
           
 boolean isUserEditable()
           
 Iterator iterator()
           
static void setAllValues(Collection vars, BeliefNetwork bn)
           
static void setValue(Variable var, BeliefNetwork bn)
           
 int size()
           
 boolean toBoolean(EnumValue value)
           
static CSITypeProperty.CSIType valueFor(Variable var, BeliefNetwork bn)
           
 EnumValue valueOf(boolean flag)
           
 EnumValue[] valuesAsArray()
           
 
Methods inherited from class AbstractEnumProperty
isFlag, isModified, rotate, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY

public static final CSITypeProperty PROPERTY

UNKNOWN

public final CSITypeProperty.CSIType UNKNOWN

OR

public final CSITypeProperty.CSIType OR

AND

public final CSITypeProperty.CSIType AND

myArray

public final EnumValue[] myArray

myList

public final List myList
Method Detail

getName

public String getName()

getDefault

public EnumValue getDefault()

getID

public String getID()

isUserEditable

public boolean isUserEditable()
Specified by:
isUserEditable in interface EnumProperty
Overrides:
isUserEditable in class AbstractEnumProperty

isTransient

public boolean isTransient()
Specified by:
isTransient in interface EnumProperty
Overrides:
isTransient in class AbstractEnumProperty

contains

public boolean contains(EnumValue val)

forString

public EnumValue forString(String str)

iterator

public Iterator iterator()

valuesAsArray

public EnumValue[] valuesAsArray()

size

public int size()

toBoolean

public boolean toBoolean(EnumValue value)
Specified by:
toBoolean in interface EnumProperty
Overrides:
toBoolean in class AbstractEnumProperty

valueOf

public EnumValue valueOf(boolean flag)

valueFor

public static CSITypeProperty.CSIType valueFor(Variable var,
                                               BeliefNetwork bn)

setValue

public static void setValue(Variable var,
                            BeliefNetwork bn)

setAllValues

public static void setAllValues(Collection vars,
                                BeliefNetwork bn)

indexOf

public int indexOf(EnumValue value)

forIndex

public EnumValue forIndex(int index)


Copyright 2010 UCLA Automated Reasoning Group