edu.ksu.cis.bnj.bbn.learning.scorebased.gradient
Class SimAnnealSL
java.lang.Object
edu.ksu.cis.bnj.bbn.learning.Learner
edu.ksu.cis.bnj.bbn.learning.ScoreBasedLearner
edu.ksu.cis.bnj.bbn.learning.scorebased.gradient.SimAnnealSL
- All Implemented Interfaces:
- Optionable
- public class SimAnnealSL
- extends ScoreBasedLearner
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 |
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
SimAnnealSL
public SimAnnealSL()
SimAnnealSL
public SimAnnealSL(Data t)
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)