edu.duke.cs.banjo.learner.components
Class CycleCheckerBFS
java.lang.Object
edu.duke.cs.banjo.learner.components.CycleChecker
edu.duke.cs.banjo.learner.components.CycleCheckerBFS
- All Implemented Interfaces:
- CycleCheckerI
- public class CycleCheckerBFS
- extends CycleChecker
Checks for a cycle in the network by breadth first traversal.
Details:
Change History:
Created on Nov 23, 2004
- Author:
- Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CycleCheckerBFS
public CycleCheckerBFS(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