Skip navigation links

Package cz.cuni.amis.pogamut.sposh

Classes and interfaces used with behavior class.

See: Description

Package cz.cuni.amis.pogamut.sposh Description

Classes and interfaces used with behavior class. Behavior class is an obsolete method of implementing primitives, i.e. actions and senses, for *POSH plans. The idea is that user will create a special behavior class, where some methods will be actions or senses.

When engine would request to call an action, the IWorkExecutor would take the behavior class and it would try to find a method annotated with @SPOSHAction and that method would be called.

The methods of senses would have annotation @SPOSHSense.

This way of specifying has several problems, e.g. names of actions/senses can be same as names of java methods, so action with dash like pick-iteam are not possible.

Even bigger problem is execution of actions, there is no cleanup code for actions, so when another action is executed after e.g. move, it has no idea if agent is actually moving or not.

Skip navigation links

Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.