xbneditor
Class CountGraphErrors
java.lang.Object
|
+--xbneditor.CountGraphErrors
- public class CountGraphErrors
- extends java.lang.Object
This is a class that takes in a generated Bayesian network and a gold
standard bayesian network and will look for different graph error
calculations that have been found within them.
|
Constructor Summary |
CountGraphErrors(java.util.LinkedList currentbn,
java.lang.String filename)
This takes in the current Bayesian network and the filename of
the gold standard network so that the generated network can be
compared to the gold standard network for errors. |
CountGraphErrors(java.lang.String fncurrent,
java.lang.String filename)
This function takes in two file names. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountGraphErrors
public CountGraphErrors(java.util.LinkedList currentbn,
java.lang.String filename)
- This takes in the current Bayesian network and the filename of
the gold standard network so that the generated network can be
compared to the gold standard network for errors.
- Parameters:
currentbn - the Bayesian Network that was generatedfilename - the name of the file in which the gold standard
network is stored
CountGraphErrors
public CountGraphErrors(java.lang.String fncurrent,
java.lang.String filename)
- This function takes in two file names. One is the generated
bayesian network and the other is the gold standard bayesian
network.
- Parameters:
fncurrent - the generated bayesian networkfilename - the gold standard bayesian network
countErrorAddition
public java.lang.String countErrorAddition()
countErrorDeletion
public java.lang.String countErrorDeletion()
countErrorReversal
public java.lang.String countErrorReversal()