# robot simulation(repast suite)2

ROBOT WORLD SIMULATION

Charaacteristic: (check the Repast manual distributed to you and the web page:

-Continuous Vectoral space (agents do not fall from edges)

Generate a vector of 300x300. Generate 100 agents with the following characteristics:

[url removed, login to view] agent is actually a tiny robot that movies in one 12 [url removed, login to view] are calculated simply by dividing 360 degrees by [url removed, login to view] a robot might be travelling in 30 degrees to [url removed, login to view] might be travelling 240 degrees South-east and so [url removed, login to view] may need some trigonometry to calculate next x and y [url removed, login to view] speed is 1 per similation step.

[url removed, login to view] each step Agents(robots) earn strength that is equal to their [url removed, login to view] at the beginning each agent earns strength of 1.

[url removed, login to view] give asexual birth to new off springs with the probability linearyly related to their [url removed, login to view] strong agents give birth with higher [url removed, login to view] order agents from strongest to weakest and generate an agent identical to the strongest one in a random unoccupied coordinate.

[url removed, login to view] each turn order agent from strongest to weakest and kill the weakest agent.

[url removed, login to view] it gets [url removed, login to view] have a fascinating property:they can interlock with each [url removed, login to view] watch [url removed, login to view] . Nice isn’t it?Now here are the rules that govern interlocking:

[url removed, login to view] robots interlock if they are both moving in the same direction anda re close enough to each other (in a distance of 5).So at each step look around to interlock.

[url removed, login to view] they interlock agent with the small x coordinate is beamed to 1 plus of the x coordinate of the other agent and the same y [url removed, login to view] 1 is in (34,50) and Agent 2 is in (37,49) and they are moving in the same [url removed, login to view] 1 looks around and interlocks with Agent 2 so his new coordinates becomes(38,49) instantly (Check #2,he will gain enormous strength). From now on Agent 1 is the tail.

c. When interlocked robots share they strength.

[url removed, login to view] robots travel with the speed proportional to the square root of their [url removed, login to view] two robots are interlocked they move with speed equals to &amp;#8730;2,if three robots are interlocked they move with speed &amp;#8730;3 and so on.

[url removed, login to view] an agent is not a tail he cannot [url removed, login to view] every single agent is a [url removed, login to view] if another agent interlocks to him he loses this property.

requirements: need a screen shots while project is running and need a video record with repast suite application(!)project must be written in eclipse!

Færdigheder: Java

Om arbejdsgiveren:
( 1 bedømmelse ) Karsiyaka, Turkey

Projekt-ID: #933248

## Tildelt til:

Nzay

As discussed.

\$150 USD in 5 dage
(14 bedømmelser)
4.6