80 likes | 140 Views
"Explore the structure and role of RTSCup Agent class responsible for controlling units during simulation, with Memory class storing agent's world view. Learn abstract methods like init() and act(), and auxiliary methods like move(), collect(), and deliver(). Understand ActPolicy and Memory's entity search methods."
E N D
RTSCup - Aula Vicente Vieira Filho
RTSCup • Estrutura Agent Memory
RTSCup • Agent • Classe responsável por controlar uma unidade durante a simulação. • Memory • Classe que armazena todas a visão do agente sobre o mundo.
RTSCup • Agent • Métodos abstratos • void init() • void senseChange(Entity newEntity) • void senseObject(Entity oldEntity, Entity newEntity) • void act() • Agent clone()
RTSCup • Agent • Métodos auxiliares • final void move(...) • final void collect(...) • final void deliver(...) • ...
RTSCup • Agent
RTSCup • Agent • ActPolicy
RTSCup • Memory • Possui métodos para realizar buscas por entidades no mundo.