Package fr.uga.pddl4j.problem.numeric
Class NumericFluent
java.lang.Object
fr.uga.pddl4j.problem.AbstractAtomicFormula
fr.uga.pddl4j.problem.numeric.NumericFluent
- All Implemented Interfaces:
AtomicFormula
,Serializable
This class implements a numeric fluent, i.e., a proposition whose numeric value changes during planning process.
- Since:
- 4.0
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionNumericFluent(int symbol, int[] arguments)
Creates a new numeric fluent with a specified symbol and list of arguments.NumericFluent(NumericFluent other)
Create a new numeric fluent from an other one. -
Method Summary
Methods inherited from class fr.uga.pddl4j.problem.AbstractAtomicFormula
arity, equals, getArguments, getSymbol, hashCode, setArguments, setSymbol, toString
-
Constructor Details
-
NumericFluent
Create a new numeric fluent from an other one. This constructor make a deep copy of the numeric fluent in parameter.- Parameters:
other
- the numeric fluent.
-
NumericFluent
public NumericFluent(int symbol, int[] arguments)Creates a new numeric fluent with a specified symbol and list of arguments.- Parameters:
symbol
- the symbol of the numeric fluent.arguments
- the list of arguments of the numeric fluent.
-