tvaquero / itsimple

The Official itSIMPLE Project
Other
16 stars 2 forks source link

Keyword "duration" in the conditions and effects of durative-actions #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a durative-action and in its effect (using OCL expression in the 
statemachine diagram for instance) use the word "duration" as a keyword to 
refer to the duration of the action. For example:
uav.fuelLevel = uav.fuelLevel - (duration * uav.fuelConsumptionRate) and
totalFuelUsed = totalFuelUsed + (duration * uav.fuelConsumptionRate) and
visited(uav,w2)

2. When the PDDL domain is generated, itSIMPLE gives the following message: 
'"duration" is not a known expression'. Even using the keyword "?duration" 
as an attempt to reach a correct pddl the message is shown '"duration" is 
not a known expression'. In this case the resulting pddl is correct but the 
tool just perform a bypass in this situation.

What is the expected output? What do you see instead?
The tool should treat the keyword "duration" somehow and translate it correctly 
to PDDL. 

What version of the product are you using? On what operating system?
Version: 3.0.10
Operating system: linux (Ubuntu)

Original issue reported on code.google.com by tiago.va...@gmail.com on 12 Oct 2009 at 7:46

GoogleCodeExporter commented 9 years ago

Original comment by tiago.va...@gmail.com on 13 Oct 2009 at 2:03