edu.duke.cs.banjo.learner.components
Class CycleCheckerCheckThenApply
java.lang.Object
edu.duke.cs.banjo.learner.components.CycleChecker
edu.duke.cs.banjo.learner.components.CycleCheckerCheckThenApply
- All Implemented Interfaces:
- CycleCheckerI
- public class CycleCheckerCheckThenApply
- extends CycleChecker
Checks for a cycle in the network by depth first traversal.
Details:
Change History:
Created on Nov 23, 2004
2/8/2005 (v2.0) hjs Rename to better reflect the core function of this class.
hjs (v2.1) Changes to update the use of FileUtil
- Author:
- Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CycleCheckerCheckThenApply
public CycleCheckerCheckThenApply(BayesNetManagerI initialBayesNet,
Settings processData)
throws java.lang.Exception
isChangeValid
public boolean isChangeValid(BayesNetManagerI _bayesNetManager,
BayesNetChangeI _bayesNetChange)
throws java.lang.Exception
- Description copied from interface:
CycleCheckerI
- Checks whether the proposed bayesNetChange results in a cycle
in the network described by the bayesNetManager.
- Specified by:
isChangeValid
in interface CycleCheckerI
- Specified by:
isChangeValid
in class CycleChecker
- Throws:
java.lang.Exception
isCyclic
protected boolean isCyclic()
throws java.lang.Exception
- Throws:
java.lang.Exception