|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.duke.cs.banjo.utility.PostProcessor
Contains the (optional) post-processing actions.
Computation of a dot-compliant file for generating a graphical representation.
Computation of the consensus graph from a set of high-scoring networks.
Details:
Change History:
Created on Mar 29, 2005
10/10/2005 (v2.0) hjs Add method for computing a consensus graph from a set of high-scoring networks.
2008 (v2.1) hjs Changes to update the use of FileUtil
4/14/2009 hjs (v2.2.1) Modify the handling of return values from externally executed apps.
Field Summary | |
protected int |
maxMarkovLag
|
protected int |
minMarkovLag
|
protected Settings |
settings
|
protected int |
varCount
|
protected java.lang.String[] |
variableNames
|
Constructor Summary | |
PostProcessor(Settings _processData)
|
Method Summary | |
java.lang.StringBuffer |
composeDotGraph(EdgesI _bayesNetStructure,
java.lang.String _networkLabel,
double _networkScore)
|
EdgesI |
computeConsensusGraph(java.util.TreeSet nBestStructures)
|
(package private) void |
createDotGraphic(java.lang.String _fullPathToDotExecutable,
java.lang.String _dotFile,
java.lang.String _graphicsFile,
java.lang.String _graphicsFormat)
|
java.lang.String |
createLabel(EdgesI _bayesNetStructure,
java.lang.String _networkLabel,
double _networkScore)
|
boolean |
execute()
|
private java.lang.StringBuffer |
executeExternalProgram(java.lang.String cmdline)
|
void |
updateVariableNames()
|
private boolean |
validateRequiredData()
Validates the settings values required for the post-processing. |
java.lang.Object |
validChoices()
Provides the valid choices for this class, here: the available searchers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Settings settings
protected final int varCount
protected final int minMarkovLag
protected final int maxMarkovLag
protected java.lang.String[] variableNames
Constructor Detail |
public PostProcessor(Settings _processData) throws java.lang.Exception
Method Detail |
private boolean validateRequiredData() throws java.lang.Exception
java.lang.Exception
public void updateVariableNames()
public java.lang.StringBuffer composeDotGraph(EdgesI _bayesNetStructure, java.lang.String _networkLabel, double _networkScore) throws java.lang.Exception
_bayesNetStructure
- The bayesNet for which to compute the dot graph
java.lang.Exception
public EdgesI computeConsensusGraph(java.util.TreeSet nBestStructures) throws java.lang.Exception
nBestStructures
- The set of bayesnets (usually a set of n-best networks)
for which to compute the consensus graph.
java.lang.Exception
void createDotGraphic(java.lang.String _fullPathToDotExecutable, java.lang.String _dotFile, java.lang.String _graphicsFile, java.lang.String _graphicsFormat) throws java.lang.Exception
java.lang.Exception
private java.lang.StringBuffer executeExternalProgram(java.lang.String cmdline) throws java.lang.Exception
java.lang.Exception
public java.lang.String createLabel(EdgesI _bayesNetStructure, java.lang.String _networkLabel, double _networkScore)
public java.lang.Object validChoices()
public boolean execute() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |