|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.ksu.cis.bnj.bbn.inference.Inference
Abstract Inference class
| Field Summary | |
protected BBNGraph |
graph
|
static java.lang.String |
inferenceClassName
|
static int |
MAP
|
static int |
MARGINALS
|
protected InferenceResult |
marginalsResult
|
static int |
MPE
|
static java.lang.String |
OPT_RUN_TYPE
|
protected java.util.Hashtable |
options
|
| Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable |
OPT_OUTPUT_FILE |
| Constructor Summary | |
Inference()
|
|
Inference(BBNGraph g)
|
|
| Method Summary | |
void |
execute()
|
java.util.Hashtable |
getCurrentOptions()
|
java.util.Hashtable |
getDefaultOptions()
|
BBNGraph |
getGraph()
Returns the graph. |
java.util.Hashtable |
getMAP()
Get the Maximum Aposteriori Probabilities (MAP) |
abstract InferenceResult |
getMarginals()
Getting the result of the marginals (i.e. the belief revision) |
InferenceResult |
getMarginalsResult()
|
java.util.Hashtable |
getMPE()
Get the Most Probable Explanation (MPE) values for each nodes. |
abstract java.lang.String |
getName()
|
OptionGUI |
getOptionsDialog()
|
java.lang.String |
getOutputFile()
|
int |
getRunType()
|
static Inference |
load(java.lang.String className,
BBNGraph g)
|
void |
setGraph(BBNGraph graph)
Sets the graph. |
void |
setOption(java.lang.String key,
java.lang.Object val)
|
void |
setOptions(java.util.Hashtable optionTable)
|
void |
setOutputFile(java.lang.String fn)
|
void |
setRunType(int type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String inferenceClassName
public static final java.lang.String OPT_RUN_TYPE
public static final int MAP
public static final int MPE
public static final int MARGINALS
protected java.util.Hashtable options
protected InferenceResult marginalsResult
protected BBNGraph graph
| Constructor Detail |
public Inference()
public Inference(BBNGraph g)
| Method Detail |
public BBNGraph getGraph()
public void setGraph(BBNGraph graph)
graph - The graph to setpublic abstract InferenceResult getMarginals()
public abstract java.lang.String getName()
public java.util.Hashtable getMPE()
public java.util.Hashtable getMAP()
public OptionGUI getOptionsDialog()
getOptionsDialog in interface Optionablepublic void setOptions(java.util.Hashtable optionTable)
setOptions in interface Optionable
public void setOption(java.lang.String key,
java.lang.Object val)
setOption in interface Optionablepublic java.util.Hashtable getDefaultOptions()
getDefaultOptions in interface Optionablepublic java.util.Hashtable getCurrentOptions()
getCurrentOptions in interface Optionablepublic void setRunType(int type)
public int getRunType()
public void setOutputFile(java.lang.String fn)
public java.lang.String getOutputFile()
public void execute()
public InferenceResult getMarginalsResult()
public static Inference load(java.lang.String className,
BBNGraph g)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||