Interface DecisionMaker


public interface DecisionMaker
This interface defines methods, which define how a system should decide if certain criteria are fulfilled.
Version:
TweetyProject 1.23
Author:
Julian Sander
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    decide(boolean criteriaIsMetA, boolean criteriaIsMetB)
    Method to decide, whether in regard to the specified criteria the result should be TRUE or FALSE.
    boolean
     
    boolean
     
  • Method Details

    • decide

      boolean decide(boolean criteriaIsMetA, boolean criteriaIsMetB)
      Method to decide, whether in regard to the specified criteria the result should be TRUE or FALSE.
      Parameters:
      criteriaIsMetA - A criteria, which is taken into account for the decision.
      criteriaIsMetB - Another criteria, which is taken into account for the decision.
      Returns:
      TRUE if the decision is positive. FALSE if not.
    • getShallCriteriaBeTrueA

      boolean getShallCriteriaBeTrueA()
      Returns:
      TRUE if the criteria A should be true, in order to come to a positive decision
    • getShallCriteriaBeTrueB

      boolean getShallCriteriaBeTrueB()
      Returns:
      TRUE if the criteria B should be true, in order to come to a positive decision