Package cz.cuni.mff.abacs.burglar.logics

Examples of cz.cuni.mff.abacs.burglar.logics.DataMap


      PlanningThread thread
  ) {
    if(thread != this._planningThread)
      return;
   
    DataMap map = (DataMap)this._map;
   
    List<List<Integer>> components = map.breakToComponents(trapRooms);
    for(List<Integer> component : components){
      if(component.size() > 1){
        ((ExecutingMap)map).addGuardPatrol(component);
      }else{
        map.addCameraToRoom(component.get(0));
      }
    }
   
    for(Agent agent : this._map.getAgents())
        this._map.addAgentToReplan(agent);
View Full Code Here


  @Override
  public void selectingTrapRoomsFinished(
      List<Integer> trapRooms,
      PlanningThread thread
  ) {
    DataMap map = (DataMap)this._map;
   
    List<List<Integer>> components = map.breakToComponents(trapRooms);
   
    for(List<Integer> component : components){
      if(component.size() > 1){
        ((ExecutingMap)map).addGuardPatrol(component);
      }else{
        map.addCameraToRoom(component.get(0));
      }
    }
   
    // invalidates the planning thread pointer to show that
    // the planning has finished
View Full Code Here

TOP

Related Classes of cz.cuni.mff.abacs.burglar.logics.DataMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.