پروژه اکلیپس / ( 65027 )
سلام salam va vaghat bekheyr mikhastam bebinam in pt´roje ro mitonid baram anjam bedid Task (ant colony) For this task, you are free to experiment with object-oriented modelling. In particular, familiarise yourself with the syntax of package and class diagrams. Use the Valkyrie tool provided in the iLearn course and presented in the lecture f o r modelling and especially for Java code generation. The task is based on the following textual description of the requirements: 1. We want to simulate an ant colony. Several different types of ants can coexist in our ant colony. There are queens, males and workers. The workers can also be categorised as follows The following categories are available: Nursemaid, Sentry, Fighter, Explorer and Carrier. Nursemaids and sentinels always stay in the nest. The ants are distinguished by their type and a monotonically increasing number for this type. Depending on their type, they can perform the following actions: move, mate, reproduce, ght, eat and deposit pheromones. An ant decides independently what it wants to do as soon as the doAction method is executed. is conducted. 2. All ants belong to exactly one colony. Each colony has exactly one queen. A colony with no living ants will disappear. There should be a map with a Cartesian grid of variable size (starting with 10x10 fields). Each colony and each ant should be localised on this map. Colonies cannot move, but ants of the right type can. The simulation is turn-based. In each round, each ant has the opportunity to p e rf o r m exactly one action with the help of doAction (including moving). 3. The queen has different states. After birth, she can move (on the ground, or by flying in the air), still mate but not reproduce. After executing mate, she immediately founds a colony (on the same field). It no longer lies or moves, but begins to reproduce. It produces all types of workers (one per turn, the exact type of distribution is up to you). With a probability of 1% she produces another queen instead of a worker. There is a 3% probability that men will be created. Newly produced workers have food for 100 turns in their stomachs, queens for 50 turns and queens for 2500 turns. Flying costs 3x as much food as crawling. An ant that has no food left at the end of a round dies.4. Males and queens can either fl y or crawl away. Workers cannot c l imb . As soon as a male or queen crawls onto a field occupied by a colony, he/she dies immediately. When crawling over Nothing happens when they lie down. If a queen and a male a r e on the same field and in the same state (lying or crawling), they mate. 5. The ( nal) simulation starts with 1 queen and 5 males randomly distributed on the fields. A new queen is added every 10 rounds as long as no colony has been created. 6. Explorers move straight ahead with a probability of 80%, to the left or right with a probability of 10%. If they encounter a colony other than their own, they immediately turn 180 degrees (e.g. instead of moving, they turn around if they realise that the colony on the hex they are about to enter is not their own). Combatants work together. If a fighter enters a square with a fighter from the same colony, they move forwards together from this point onwards (with a probability of 60% straight ahead, 20% to the left or right). 7. The rest of the design of the simulation is up to you, e.g. the implementation of the scouting of foreign colonies by fighters, explorers who leave traces of pheromones to lead carriers to food, etc. lotfan gheymat va time begid mamnun برای رشته انفورماتیک تجاری درس توسعه ی نرم افزار بر اساس مدل با نرم افزار Eclipse
امتیاز : 0/5
فایل ضمیمه
هیچ فایلی ضمیمه نشده است
تایم لاین پروژه
درخواست پشتیبانی-
در انتظار پرداخت
پرداخت تعرفه ثبت پروژه های غیر رایگان
-
در حال بررسی
برسی و تایید پروژه از طرف مدیرت سایت
-
آماده دریافت پیشنهادها
تایید پروژه و نمایش برای مجریان
-
در انتظار پرداخت هزینه پروژه
پرداخت هزینه اجرای پروژه توسط کارفرما
-
در انتظار پرداخت ضمانت اجرا
پرداخت مبلغ ضمانت اجرا توسط مجری
-
در حال انجام
پروژه شما درحال انجام می باشد
-
انجام شد
اتمام اجرای پروژه
لیست پیشنهادها
هیچ پیشنهادی ارسال نشده است
- اطلاعات پروژه
- 7299کد پروژه
-
کمک آموزشی
دسته بندی - 24 آبان 1402تاریخ ثبت
- 5 روزمهلت اجرا
- 100,000 تومانحداقل بودجه
- 300,000 تومانحداکثر بودجه
- 5 درصد ضمانت اجرا
- آماده دریافت پیشنهادها وضعیت