edu.ksu.cis.bnj.bbn.prm
Class PRMK2_handCoded
java.lang.Object
edu.ksu.cis.bnj.bbn.prm.PRMK2_handCoded
- public class PRMK2_handCoded
- extends java.lang.Object
- Author:
- Prashanth Boddhireddy (pbo8844@ksu.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mBBNGraph
public BBNGraph mBBNGraph
con
public java.sql.Connection con
stmt
public java.sql.Statement stmt
PRMK2_handCoded
public PRMK2_handCoded()
displayTable
public void displayTable(java.util.LinkedList[] listArray)
getScore
public double getScore(int nodeIndex,
int candidateParents,
java.util.LinkedList parentTable)
getScorefromDatabase
public double getScorefromDatabase(int nodeIndex,
int currentParentNodeIndex,
java.util.LinkedList parentSet)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
- Throws:
java.sql.SQLException
java.lang.ClassNotFoundException
displayList
public void displayList(java.util.LinkedList list)
getQueryAttributeNames
public java.lang.String[] getQueryAttributeNames(int nodeIndex,
int currentNodeIndex,
java.util.LinkedList parentSet)
getQueryTableNames
public java.lang.String[] getQueryTableNames(int nodeIndex,
int currentNodeIndex,
java.util.LinkedList parentSet)
preprocessArrayToString
public java.lang.String preprocessArrayToString(java.lang.String[] attributesNames)
main
public static void main(java.lang.String[] args)
getBBNGraph
protected BBNGraph getBBNGraph()
getDatabaseConnection
public void getDatabaseConnection()
throws java.sql.SQLException,
java.lang.ClassNotFoundException
- Throws:
java.sql.SQLException
java.lang.ClassNotFoundException