Package FAtiMA.Core.conditions
Class PropertyGreaterEqual
java.lang.Object
FAtiMA.Core.conditions.Condition
FAtiMA.Core.conditions.PropertyCondition
FAtiMA.Core.conditions.PropertyGreaterEqual
- All Implemented Interfaces:
IGroundable,Serializable,Cloneable
Test that compares if a property is bigger than a given value. Only works
with numeric values.
- Author:
- Joao Dias
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyGreaterEqual(Name name, Name value, Symbol ToM) Creates a new PropertyTest of Type GreaterEqual -
Method Summary
Methods inherited from class FAtiMA.Core.conditions.PropertyCondition
GetBindings, GetValue, GetValueBindings, isGrounded, MakeGround, MakeGround, ParseProperty, ReplaceUnboundVariablesMethods inherited from class FAtiMA.Core.conditions.Condition
CheckActivation, getName, getToM, GetValidBindings, hasChangedVerifiability, isVerifiable, setName, setToM, setVerifiable
-
Constructor Details
-
PropertyGreaterEqual
Creates a new PropertyTest of Type GreaterEqual- Parameters:
name- - the PropertyTest's namevalue- - the PropertyTest's value
-
PropertyGreaterEqual
-
-
Method Details
-
clone
Clones this PropertyTest, returning an equal copy. If this clone is changed afterwards, the original object remains the same.- Overrides:
clonein classPropertyCondition- Returns:
- The PropertyTest's copy.
-
CheckCondition
Checks if the Property Condition is verified in the agent's memory (KB + AM)- Overrides:
CheckConditionin classPropertyCondition- Returns:
- true if the condition is verified, false otherwise
- See Also:
-
Print
public void Print()Prints the PropertyTest to the Standard Output- Overrides:
Printin classPropertyCondition
-
toString
Converts the PropertyTest to a String
-