Class DefaultDetectThreatStrategy

java.lang.Object
FAtiMA.DeliberativeComponent.strategies.DefaultDetectThreatStrategy
All Implemented Interfaces:
IDetectThreatStrategy, Serializable

public class DefaultDetectThreatStrategy extends Object implements Serializable, IDetectThreatStrategy
See Also:
  • Constructor Details

    • DefaultDetectThreatStrategy

      public DefaultDetectThreatStrategy()
  • Method Details

    • isThreat

      public boolean isThreat(FAtiMA.Core.conditions.Condition c1, FAtiMA.Core.conditions.Condition c2)
      Description copied from interface: IDetectThreatStrategy
      Checks if a given condition c1 threatens another condition c2
      Specified by:
      isThreat in interface IDetectThreatStrategy
      Parameters:
      c1 - - the condition that we want to check for threat
      c2 - - a possible threatened condition
      Returns:
      true if condition c1 threatens condition c2