edu.duke.cs.banjo.learner.components
Interface CycleCheckerI

All Known Implementing Classes:
CycleChecker

public interface CycleCheckerI

Documents the interface for creating a cycle checker implementation.

Details:

Change History:
Created on Nov 23, 2004

Author:
Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.

Method Summary
 boolean isChangeValid(BayesNetManagerI bayesNetManager, BayesNetChangeI bayesNetChange)
          Checks whether the proposed bayesNetChange results in a cycle in the network described by the bayesNetManager.
 java.lang.StringBuffer provideCollectedStatistics()
           
 void updateProcessData(Settings processData)
          For future use.
 

Method Detail

isChangeValid

public boolean isChangeValid(BayesNetManagerI bayesNetManager,
                             BayesNetChangeI bayesNetChange)
                      throws java.lang.Exception
Checks whether the proposed bayesNetChange results in a cycle in the network described by the bayesNetManager.

Parameters:
bayesNetManager - The current underlying network.
bayesNetChange - The proposed change to the network.
Returns:
Returns the boolean that indicates whether the change can be applied.
Throws:
java.lang.Exception

updateProcessData

public void updateProcessData(Settings processData)
                       throws java.lang.Exception
For future use. Updates whatever setting within processData that is being changed in the particular cycleChecker implementation.

Parameters:
processData - The data to be exchanged.
Throws:
java.lang.Exception

provideCollectedStatistics

public java.lang.StringBuffer provideCollectedStatistics()
                                                  throws java.lang.Exception
Returns:
Returns the statistics about the particular cyclechecker implementation.
Throws:
java.lang.Exception