public interface IPFKnownMapView<NODE> extends IPFMapView<NODE>
Generally, you will use IPFKnownMap interface to define the map in general and then use this IPFKnownMapView interface
to specify a specific needs you need to impose over the map as is "forbidding" some nodes or "imposing additional costs
onto the nodes".
See also IPFMapView
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPFKnownMapView.DefaultView<NODE>
Default view does not impose any specific view on the map... all nodes/arcs are opened, no extra cost/nodes/arcs defined.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<NODE> |
getExtraNodes(Collection<NODE> mapNodes)
This method may return new nodes which are not present in standard 'map' (as returned by
IPFKnownMap.getNodes()). |
getArcExtraCost, getExtraNeighbors, getNodeExtraCost, isArcOpened, isNodeOpenedCollection<NODE> getExtraNodes(Collection<NODE> mapNodes)
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".
mapNodes - "nodes" of map as returned by IPFKnownMap.getNodes(), may return nullCopyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.