edu.duke.cs.banjo.bayesnet
Interface BayesNetStructureI
- All Known Implementing Classes:
- BayesNetStructure
- public interface BayesNetStructureI
Documents the interface for creating a BayesNetStructure implementation.
Details:
Change History:
Created on Feb 21, 2005
- Author:
- hjs
For the latest info, please visit www.cs.duke.edu.
assignBayesNetStructure
public void assignBayesNetStructure(EdgesI networkStructure,
double networkScore,
long searchLoopIndex)
throws java.lang.Exception
- Parameters:
networkStructure
- The networkStructure (as set of edges) to assign.networkScore
- The score of the network.searchLoopIndex
- The search loop where the network was discovered.
- Throws:
java.lang.Exception
assignBayesNetStructure
public void assignBayesNetStructure(EdgesWithCachedStatisticsI networkStructure,
double networkScore,
long searchLoopIndex)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNetworkStructure
public EdgesI getNetworkStructure()
- Returns:
- Returns the networkStructure.
compareTo
public int compareTo(java.lang.Object structureToCompareTo)
- Parameters:
structureToCompareTo
- The network structure to compare to.
- Returns:
- Returns the result of the comparison (where 1=greater score,
0=equal score, -1=lower score).
toString
public java.lang.String toString()
- Returns:
- The network structure in string representation.
setNetworkStructure
public void setNetworkStructure(EdgesI networkStructure)
throws java.lang.Exception
- Parameters:
networkStructure
- The networkStructure to set.
- Throws:
java.lang.Exception
getNetworkScore
public double getNetworkScore()
- Returns:
- Returns the networkScore.
setNetworkScore
public void setNetworkScore(double networkScore)
- Parameters:
networkScore
- The network score to set to.
getSearchLoopIndex
public long getSearchLoopIndex()
- Returns:
- Returns the search iteration where the score was found.