cz.cuni.amis.pathfinding.map
Class IPFKnownMapView.DefaultView<NODE>
java.lang.Object
cz.cuni.amis.pathfinding.map.IPFMapView.DefaultView<NODE>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPFKnownMapView.DefaultView
public IPFKnownMapView.DefaultView()
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.