edu.ksu.cis.bnj.bbn.learning.scorebased.gradient
Class SimAnnealSL

java.lang.Object
  extended byedu.ksu.cis.bnj.bbn.learning.Learner
      extended byedu.ksu.cis.bnj.bbn.learning.ScoreBasedLearner
          extended byedu.ksu.cis.bnj.bbn.learning.scorebased.gradient.SimAnnealSL
All Implemented Interfaces:
Optionable

public class SimAnnealSL
extends ScoreBasedLearner


Field Summary
static int ADDED
           
protected  BBNGraph bbnGraph
           
 boolean containsCycle
           
static boolean CYCLE
           
 java.lang.String errorType
           
 java.lang.String inputFile
           
protected  double maxScore
           
static int NA
           
protected  int numOfChanges
           
protected  int numOfNodes
           
protected  java.util.Set[] parentTable
           
protected  boolean[][] path
           
protected  double previousScore
           
protected  int recentChange
           
static int REMOVED
           
static int REVERSED
           
protected  double tempScore
           
protected  int totalNumOfChanges
           
 
Fields inherited from class edu.ksu.cis.bnj.bbn.learning.ScoreBasedLearner
candidateScorer, defaultParentLimit, parentLimit, structureScorer
 
Fields inherited from class edu.ksu.cis.bnj.bbn.learning.Learner
bbnNodes, calculateCPT, data, indexTable, learnerClassName, OPT_CALCULATE_RMSE, options
 
Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable
OPT_OUTPUT_FILE
 
Constructor Summary
SimAnnealSL()
           
SimAnnealSL(Data t)
           
 
Method Summary
 BBNGraph getGraph()
          The learning algorithm is here
 double getNetworkScore()
           
protected  void learnGraph()
           
static void main(java.lang.String[] args)
           
 void resetCPT()
           
 
Methods inherited from class edu.ksu.cis.bnj.bbn.learning.ScoreBasedLearner
computeCPT, getParentLimit, iterateUniqueInstantiation, setCandidateScorer, setParentLimit, setStructureScorer, setTable
 
Methods inherited from class edu.ksu.cis.bnj.bbn.learning.Learner
getCalculateRMSE, getCurrentOptions, getData, getDefaultOptions, getName, getOptionsDialog, getOutputFile, initialize, isCalculateCPT, load, populateNodes, processParameters, setCalculateCPT, setCalculateRMSE, setData, setOption, setOptions, setOutputFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bbnGraph

protected BBNGraph bbnGraph

inputFile

public java.lang.String inputFile

parentTable

protected java.util.Set[] parentTable

path

protected boolean[][] path

numOfNodes

protected int numOfNodes

numOfChanges

protected int numOfChanges

totalNumOfChanges

protected int totalNumOfChanges

tempScore

protected double tempScore

previousScore

protected double previousScore

maxScore

protected double maxScore

recentChange

protected int recentChange

CYCLE

public static final boolean CYCLE
See Also:
Constant Field Values

containsCycle

public boolean containsCycle

REVERSED

public static final int REVERSED
See Also:
Constant Field Values

REMOVED

public static final int REMOVED
See Also:
Constant Field Values

ADDED

public static final int ADDED
See Also:
Constant Field Values

NA

public static final int NA
See Also:
Constant Field Values

errorType

public java.lang.String errorType
Constructor Detail

SimAnnealSL

public SimAnnealSL()

SimAnnealSL

public SimAnnealSL(Data t)
Method Detail

getGraph

public BBNGraph getGraph()
Description copied from class: Learner
The learning algorithm is here

Specified by:
getGraph in class Learner
Returns:
BBNGraph

learnGraph

protected void learnGraph()

getNetworkScore

public double getNetworkScore()

resetCPT

public void resetCPT()

main

public static void main(java.lang.String[] args)