cz.cuni.amis.pathfinding.map
Class IPFKnownMapView.DefaultView<NODE>

Package class diagram package IPFKnownMapView.DefaultView
java.lang.Object
  extended by cz.cuni.amis.pathfinding.map.IPFMapView.DefaultView<NODE>
      extended by cz.cuni.amis.pathfinding.map.IPFKnownMapView.DefaultView<NODE>
All Implemented Interfaces:
IPFKnownMapView<NODE>, IPFMapView<NODE>
Enclosing interface:
IPFKnownMapView<NODE>

public static class IPFKnownMapView.DefaultView<NODE>
extends IPFMapView.DefaultView<NODE>
implements IPFKnownMapView<NODE>

Default view does not impose any specific view on the map... all nodes/arcs are opened, no extra cost/nodes/arcs defined.

Author:
Jimmy

Nested Class Summary
 
Nested classes/interfaces inherited from interface cz.cuni.amis.pathfinding.map.IPFKnownMapView
IPFKnownMapView.DefaultView<NODE>
 
Constructor Summary
IPFKnownMapView.DefaultView()
           
 
Method Summary
 Collection<NODE> getExtraNodes(Collection<NODE> mapNodes)
          This method may return new nodes which are not present in standard 'map' (as returned by IPFKnownMap.getNodes()).
 
Methods inherited from class cz.cuni.amis.pathfinding.map.IPFMapView.DefaultView
getArcExtraCost, getExtraNeighbors, getNodeExtraCost, isArcOpened, isNodeOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pathfinding.map.IPFMapView
getArcExtraCost, getExtraNeighbors, getNodeExtraCost, isArcOpened, isNodeOpened
 

Constructor Detail

IPFKnownMapView.DefaultView

public IPFKnownMapView.DefaultView()
Method Detail

getExtraNodes

public Collection<NODE> getExtraNodes(Collection<NODE> mapNodes)
Description copied from interface: IPFKnownMapView
This method may return new nodes which are not present in standard 'map' (as returned by IPFKnownMap.getNodes()). Such nodes are then exclusively accessible to your particular agent, that is, this methods is adding nodes that can be accessed by the agent but are not part of your general map description.

Returned collection must not contain multiple references to a single node.

Returned collection must not contain any node from "mapNodes".

Specified by:
getExtraNodes in interface IPFKnownMapView<NODE>
Parameters:
mapNodes - "nodes" of map as returned by IPFKnownMap.getNodes(), may return null


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