cz.cuni.amis.pogamut.ut2004.communication.worldview.map
Class UT2004Map

Package class diagram package UT2004Map
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.worldview.map.UT2004Map
All Implemented Interfaces:
IUnrealMap<MapInfo>

public class UT2004Map
extends Object
implements IUnrealMap<MapInfo>

Representation of map made from NavPOints and NavPointNeighbourLinks. Doesn't react on changes of worldview, data is copied in constructor.

Author:
Honza

Constructor Summary
UT2004Map(IWorldView worldView)
           
 
Method Summary
 void addInfo(MapInfo info)
           
 Set<Waylink> edgeSet()
           
 Box getBox()
          Get smallest box that contains all waypoints of map.
 MapInfo getInfo()
           
 String getName()
           
 void printInfo()
           
 void setName(String name)
           
 Collection<Waypoint> vertexSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004Map

public UT2004Map(IWorldView worldView)
Method Detail

addInfo

public void addInfo(MapInfo info)
Specified by:
addInfo in interface IUnrealMap<MapInfo>

getInfo

public MapInfo getInfo()
Specified by:
getInfo in interface IUnrealMap<MapInfo>

setName

public void setName(String name)
Specified by:
setName in interface IUnrealMap<MapInfo>

getName

public String getName()
Specified by:
getName in interface IUnrealMap<MapInfo>

vertexSet

public Collection<Waypoint> vertexSet()
Specified by:
vertexSet in interface IUnrealMap<MapInfo>

edgeSet

public Set<Waylink> edgeSet()
Specified by:
edgeSet in interface IUnrealMap<MapInfo>

printInfo

public void printInfo()
Specified by:
printInfo in interface IUnrealMap<MapInfo>

getBox

public Box getBox()
Get smallest box that contains all waypoints of map.

Specified by:
getBox in interface IUnrealMap<MapInfo>
Returns:


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.