cz.cuni.amis.pogamut.defcon.utils.closestpoints
Class ClosestPointsManager
java.lang.Object
cz.cuni.amis.pogamut.defcon.utils.closestpoints.ClosestPointsManager
public class ClosestPointsManager
- extends Object
Collects the reasonably good spawn points for fleet spawning and simplifies
access to them.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosestPointsManager
public ClosestPointsManager(SortedMap<Integer,SortedMap<Integer,List<ClosestPointsLookUp.ClosestPoints>>> closestPoints)
ClosestPointsManager
public ClosestPointsManager(SortedMap<Integer,SortedMap<Integer,List<ClosestPointsLookUp.ClosestPoints>>> closestPointsToEnemyTerritories,
Logger log)
getClosestPoints
public final SortedMap<Integer,SortedMap<Integer,List<ClosestPointsLookUp.ClosestPoints>>> getClosestPoints()
getClosestForSpecificTerritories
public List<ClosestPointsLookUp.ClosestPoints> getClosestForSpecificTerritories(int enemyTerritoryId,
int ownTerritoryId)
getClosestForEnemyTerritory
public SortedMap<Integer,List<ClosestPointsLookUp.ClosestPoints>> getClosestForEnemyTerritory(int enemyTerritoryId)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.