Hi,
Everything seems absolutely sensible.
The team leader election procedure (if you want to address it in a fully decentralized way) is not trivial. You can see something similar in the LeadershipManager class included in the jade.misc package of the Miscellaneous (misc) add-on. In that case the criterion to elect the leader is based on the "age" of the agent (i.e. System.currentTimeMillis() - agentStartupTime), but, a part from that, the problem to solve appears quite similar.
OF COURSE you can do things in a much simpler way by taking a centralized approach: one of your agents (or an external dedicated agent) acts as coordinator, collects the 3 elements required for deciding who the leader is from all agents in the team, identifies the leader and then communicate it to all team agents.
Bye,
Giovanni
-----Messaggio originale-----
Da: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di quangmuop
Inviato: gioved? 13 febbraio 2014 11:18
A: jade-develop at avalon.tilab.com
Oggetto: Re: [jade-develop] Forest fire detection system
The subject is design and build application of multi agents system to detect forestfire in a simulate forest.
Types of agents are: temperature, humidity, pressure, wind. Each kind of agent have:
+ order number in group.
+ operate radius (2 agents outside of radius can not communicate, agents can communicate call neighbors) + number indicate power (this number decrease over time, when it equals 0, the agent will die).
The subject which suggests that, divide the forest by 4 ranges.
Each range is a group of agents, each group maybe have from 4 - 6 agents.
For each group (team), it have a team leader, and we have to oganize by voting the *team leader* to make the /best effectively/. (/this is the 1st main problem/) Team leader is the agent that receive the data from other agents in group and then process to predict fire or not in their range. (/this is the 2nd main problem/) I intend to vote the team leader by 3 elements:
1. agent that have most neighbors agents.
2. agent that have the highest indicator of power.
3. agent that have the largest order number.
This is how I intend to organize the project. Could you give me some comments or evaluations about that?
Thank you.
--
View this message in context: http://jade.17737.x6.nabble.com/Forest-fire-detection-system-tp5002423p5002426.html
Sent from the JADE - Dev mailing list archive at Nabble.com.
_______________________________________________
jade-develop mailing list
jade-develop at avalon.tilab.com
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm