Package FAtiMA.Core.conditions
Class RecentEventCondition
java.lang.Object
FAtiMA.Core.conditions.Condition
FAtiMA.Core.conditions.PredicateCondition
FAtiMA.Core.conditions.PastEventCondition
FAtiMA.Core.conditions.RecentEventCondition
- All Implemented Interfaces:
IGroundable,Serializable,Cloneable
- Direct Known Subclasses:
NewEventCondition
- Author:
- Joao Dias
- See Also:
-
Field Summary
Fields inherited from class FAtiMA.Core.conditions.PastEventCondition
_action, _parameters, _status, _subject, _target, _type -
Constructor Summary
ConstructorsConstructorDescriptionRecentEventCondition(boolean occurred, short type, short status, Name event) RecentEventCondition(boolean occurred, short type, short status, Symbol subject, Symbol action, Symbol target, ArrayList<Symbol> parameters) RecentEventCondition(boolean occurred, Event e) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the EventCondition is verified in the agent's AutobiographicalMemoryclone()Clones this Predicate, returning an equal copy.protected ArrayList<ActionDetail>Methods inherited from class FAtiMA.Core.conditions.PastEventCondition
GetValidBindings, isGrounded, MakeGround, MakeGround, ParseEvent, ReplaceUnboundVariablesMethods inherited from class FAtiMA.Core.conditions.PredicateCondition
getPositive, GetValue, GetValueBindings, isPositive, ParsePredicate, setPositive, toStringMethods inherited from class FAtiMA.Core.conditions.Condition
CheckActivation, getName, getToM, hasChangedVerifiability, isVerifiable, setName, setToM, setVerifiable
-
Constructor Details
-
RecentEventCondition
-
RecentEventCondition
-
RecentEventCondition
-
RecentEventCondition
-
-
Method Details
-
clone
Description copied from class:PredicateConditionClones this Predicate, returning an equal copy. If this clone is changed afterwards, the original object remains the same.- Overrides:
clonein classPastEventCondition- Returns:
- The Predicates's copy.
-
CheckCondition
Checks if the EventCondition is verified in the agent's AutobiographicalMemory- Overrides:
CheckConditionin classPastEventCondition- Returns:
- true if the EventPredicate is verified, false otherwise
- See Also:
-
GetPossibleBindings
- Overrides:
GetPossibleBindingsin classPastEventCondition
-
GetSearchKeys
- Overrides:
GetSearchKeysin classPastEventCondition
-