edu.duke.cs.banjo.bayesnet
Interface BayesNetChangeI

All Known Implementing Classes:
BayesNetChange

public interface BayesNetChangeI

Documents the interface for a BayesNetChange.

Details:

Change History:
Created on Apr 14, 2004

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

Method Summary
 int getChangeStatus()
           
 int getChangeType()
           
 int getCurrentNodeID()
           
 int getParentNodeID()
           
 int getParentNodeLag()
           
 void resetChange()
          Special case of update.
 void setChangeStatus(int changeStatus)
          The status of a BayesNetChange may change over the search process.
 void updateChange(int currentNodeID, int parentNodeID, int parentNodeLag, int changeType)
          Sets a BayesNetChange by assigning the currentNodeID, the parentNodeID, the parentNodeLag, and the changeType.
 

Method Detail

updateChange

public void updateChange(int currentNodeID,
                         int parentNodeID,
                         int parentNodeLag,
                         int changeType)
Sets a BayesNetChange by assigning the currentNodeID, the parentNodeID, the parentNodeLag, and the changeType. The individual values for these fields are always associated with a single BayesNetChange, and there is no use for setting them separately.

Parameters:
currentNodeID - The currentNodeID to set.
parentNodeID - The parentNodeID to set.
parentNodeLag - The parentNodeLag to set.
changeType - The changeType to set.

resetChange

public void resetChange()
Special case of update. From the point of process logic, we keep this method separate from the general assignment of a BayesNetChange.


setChangeStatus

public void setChangeStatus(int changeStatus)
The status of a BayesNetChange may change over the search process. We use this field as an internal check mechanism within the process flow.

Parameters:
changeStatus - The changeStatus to set.

getCurrentNodeID

public int getCurrentNodeID()
Returns:
Returns the currentNodeID.

getParentNodeID

public int getParentNodeID()
Returns:
Returns the parentNodeID.

getParentNodeLag

public int getParentNodeLag()
Returns:
Returns the parentNodeLag.

getChangeStatus

public int getChangeStatus()
Returns:
Returns the changeStatus.

getChangeType

public int getChangeType()
Returns:
Returns the changeType.