⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 epoliceforce.java

📁 2004年robotcup世界冠军源代码
💻 JAVA
字号:
package MRL.Police;import yab.agent.object.*;import yab.agent.*;import yab.io.object.BasePoliceForce;import java.util.*;import MRL.Utilities.Partitioning.Partition;public class EPoliceForce extends PoliceForce {    public EPoliceForce(int id, DisasterSpace world)    {        super(id, world);    }    public final List reportedBlockades = new ArrayList();    public final List reportedBlockadesIP = new ArrayList();    public final List reportedRoads = new ArrayList();    public final Set totalReportedRoads = new HashSet();    public final Set totalReportedPaths = new HashSet();    public final Set totalReportedPathsIP = new HashSet();    public boolean toReport = false;    public final Map polPartMap = new HashMap();    public Partition prevWorkingPartition = null;    public final Collection openPathBuildings = new HashSet();    public final List freePolices = new ArrayList();    public final BlockData blockData = new BlockData(this);    public final TaskHandler taskHandler = new TaskHandler(this);    public int task() {        return taskHandler.myCurrentTask();    }    public int taskStartTime(){        return taskHandler.myCurrentTaskTime();    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -