edu.ucla.belief
Class CPTParameter

Object
  extended by CPTParameter
All Implemented Interfaces:
Comparable

public class CPTParameter
extends Object
implements Comparable

Modified by Hei Chan 20030610


Constructor Summary
CPTParameter(CPTShell shell, int[] mindex)
           
CPTParameter(CPTShell shell, int weightIndex, int index, VariableInstance parentInstance)
           
CPTParameter(FiniteVariable var, int index)
           
 
Method Summary
 StringBuffer append(StringBuffer buff, VariableStringifier stringifier)
           
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 CPTShell getCPTShell()
           
 int getIndexOfCondition()
           
 int getIndexWithinCondition()
           
 int[] getIndices()
           
 VariableInstance getJointInstance()
           
 int getLinearIndex()
           
 VariableInstance[] getParentInstances()
           
 double getValue()
           
 FiniteVariable getVariable()
           
 int hashCode()
           
 String toString()
           
 String toString(VariableStringifier stringifier)
           
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPTParameter

public CPTParameter(CPTShell shell,
                    int[] mindex)

CPTParameter

public CPTParameter(CPTShell shell,
                    int weightIndex,
                    int index,
                    VariableInstance parentInstance)

CPTParameter

public CPTParameter(FiniteVariable var,
                    int index)
Since:
20060208
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object
Since:
20060208

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Since:
20060208

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getValue

public double getValue()
Since:
20060208

getIndexOfCondition

public int getIndexOfCondition()
Since:
20060208

getIndexWithinCondition

public int getIndexWithinCondition()
Since:
20060227

getLinearIndex

public int getLinearIndex()
Since:
20060208

getCPTShell

public CPTShell getCPTShell()

getIndices

public int[] getIndices()

getVariable

public FiniteVariable getVariable()

getJointInstance

public VariableInstance getJointInstance()
Since:
20031008

getParentInstances

public VariableInstance[] getParentInstances()
Since:
20031008

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(VariableStringifier stringifier)
Since:
20060209

append

public StringBuffer append(StringBuffer buff,
                           VariableStringifier stringifier)
Since:
20060209


Copyright 2010 UCLA Automated Reasoning Group