Class DefaultDetectThreatStrategy
- java.lang.Object
-
- FAtiMA.DeliberativeComponent.strategies.DefaultDetectThreatStrategy
-
- All Implemented Interfaces:
IDetectThreatStrategy,java.io.Serializable
public class DefaultDetectThreatStrategy extends java.lang.Object implements java.io.Serializable, IDetectThreatStrategy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultDetectThreatStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisThreat(FAtiMA.Core.conditions.Condition c1, FAtiMA.Core.conditions.Condition c2)Checks if a given condition c1 threatens another condition c2
-
-
-
Method Detail
-
isThreat
public boolean isThreat(FAtiMA.Core.conditions.Condition c1, FAtiMA.Core.conditions.Condition c2)Description copied from interface:IDetectThreatStrategyChecks if a given condition c1 threatens another condition c2- Specified by:
isThreatin interfaceIDetectThreatStrategy- Parameters:
c1- - the condition that we want to check for threatc2- - a possible threatened condition- Returns:
- true if condition c1 threatens condition c2
-
-