Package FAtiMA.Core.conditions
Class NewEventCondition
- java.lang.Object
-
- FAtiMA.Core.conditions.Condition
-
- FAtiMA.Core.conditions.PredicateCondition
-
- FAtiMA.Core.conditions.PastEventCondition
-
- FAtiMA.Core.conditions.RecentEventCondition
-
- FAtiMA.Core.conditions.NewEventCondition
-
- All Implemented Interfaces:
IGroundable,java.io.Serializable,java.lang.Cloneable
public class NewEventCondition extends RecentEventCondition
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class FAtiMA.Core.conditions.PastEventCondition
_action, _parameters, _status, _subject, _target, _type
-
-
Constructor Summary
Constructors Constructor Description NewEventCondition(boolean occurred, short type, short status, Name event)NewEventCondition(PastEventCondition cond)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanCheckCondition(AgentModel am)Checks if the EventCondition is verified in the agent's AutobiographicalMemoryjava.lang.Objectclone()Clones this Predicate, returning an equal copy.protected java.util.ArrayList<SearchKey>GetSearchKeys()-
Methods inherited from class FAtiMA.Core.conditions.RecentEventCondition
GetPossibleBindings
-
Methods inherited from class FAtiMA.Core.conditions.PastEventCondition
GetValidBindings, isGrounded, MakeGround, MakeGround, ParseEvent, ReplaceUnboundVariables
-
Methods inherited from class FAtiMA.Core.conditions.PredicateCondition
getPositive, GetValue, GetValueBindings, isPositive, ParsePredicate, setPositive, toString
-
Methods inherited from class FAtiMA.Core.conditions.Condition
CheckActivation, getName, getToM, hasChangedVerifiability, isVerifiable, setName, setToM, setVerifiable
-
-
-
-
Constructor Detail
-
NewEventCondition
public NewEventCondition(boolean occurred, short type, short status, Name event)
-
NewEventCondition
public NewEventCondition(PastEventCondition cond)
-
-
Method Detail
-
clone
public java.lang.Object 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 classRecentEventCondition- Returns:
- The Predicates's copy.
-
CheckCondition
public boolean CheckCondition(AgentModel am)
Description copied from class:RecentEventConditionChecks if the EventCondition is verified in the agent's AutobiographicalMemory- Overrides:
CheckConditionin classRecentEventCondition- Returns:
- true if the EventPredicate is verified, false otherwise
- See Also:
AutobiographicalMemory
-
GetSearchKeys
protected java.util.ArrayList<SearchKey> GetSearchKeys()
- Overrides:
GetSearchKeysin classRecentEventCondition
-
-