Class ExploSoloBehaviour
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
eu.su.mas.dedale.mas.agent.behaviours.ExploSoloBehaviour
- All Implemented Interfaces:
jade.util.leap.Serializable
,java.io.Serializable
public class ExploSoloBehaviour
extends jade.core.behaviours.SimpleBehaviour
This behaviour allows an agent to explore the environment and learn the associated topological map.
The algorithm is a pseudo - DFS computationally consuming because its not optimised at all.
When all the nodes around him are visited, the agent randomly select an open node and go there to restart its dfs.
This (non optimal) behaviour is done until all nodes are explored.
Warning, this behaviour does not save the content of visited nodes, only the topology.
Warning, this behaviour is a solo exploration and does not take into account the presence of other agents (or well) and indefinitely tries to reach its target node
- Author:
- hc
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExploSoloBehaviour(AbstractDedaleAgent myagent, MapRepresentation myMap)
-
Method Summary