aima.search.map
Class SimplifiedRoadMapOfPartOfRomania

java.lang.Object
  extended by aima.search.map.ExtendableMap
      extended by aima.search.map.SimplifiedRoadMapOfPartOfRomania
All Implemented Interfaces:
Map

public class SimplifiedRoadMapOfPartOfRomania
extends ExtendableMap

Represents a simplified road map of Romania. The initialization method is declared static. So it can also be used to initialize other specialized subclasses of ExtendableMap with road map data from Romania. Location names, road distances and directions have been extracted from Artificial Intelligence A Modern Approach (2nd Edition), Figure 3.2, page 63. The straight-line distances to Bucharest have been taken from Artificial Intelligence A Modern Approach (2nd Edition), Figure 4.1, page 95.


Field Summary
static java.lang.String ARAD
           
static java.lang.String BUCHAREST
           
static java.lang.String CRAIOVA
           
static java.lang.String DOBRETA
           
static java.lang.String EFORIE
           
static java.lang.String FAGARAS
           
static java.lang.String GIURGIU
           
static java.lang.String HIRSOVA
           
static java.lang.String IASI
           
static java.lang.String LUGOJ
           
static java.lang.String MEHADIA
           
static java.lang.String NEAMT
           
static java.lang.String ORADEA
           
static java.lang.String PITESTI
           
static java.lang.String RIMNICU_VILCEA
           
static java.lang.String SIBIU
           
static java.lang.String TIMISOARA
           
static java.lang.String URZICENI
           
static java.lang.String VASLUI
           
static java.lang.String ZERIND
           
 
Constructor Summary
SimplifiedRoadMapOfPartOfRomania()
           
 
Method Summary
static void initMap(ExtendableMap map)
          Initializes a map with a simplified road map of Romania.
 
Methods inherited from class aima.search.map.ExtendableMap
addBidirectionalLink, addUnidirectionalLink, clear, clearLinks, getDistance, getLocations, getLocationsLinkedTo, getPosition, isLocation, randomlyGenerateDestination, removeBidirectionalLink, removeUnidirectionalLink, setDistAndDirToRefLocation, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORADEA

public static final java.lang.String ORADEA
See Also:
Constant Field Values

ZERIND

public static final java.lang.String ZERIND
See Also:
Constant Field Values

ARAD

public static final java.lang.String ARAD
See Also:
Constant Field Values

TIMISOARA

public static final java.lang.String TIMISOARA
See Also:
Constant Field Values

LUGOJ

public static final java.lang.String LUGOJ
See Also:
Constant Field Values

MEHADIA

public static final java.lang.String MEHADIA
See Also:
Constant Field Values

DOBRETA

public static final java.lang.String DOBRETA
See Also:
Constant Field Values

SIBIU

public static final java.lang.String SIBIU
See Also:
Constant Field Values

RIMNICU_VILCEA

public static final java.lang.String RIMNICU_VILCEA
See Also:
Constant Field Values

CRAIOVA

public static final java.lang.String CRAIOVA
See Also:
Constant Field Values

FAGARAS

public static final java.lang.String FAGARAS
See Also:
Constant Field Values

PITESTI

public static final java.lang.String PITESTI
See Also:
Constant Field Values

GIURGIU

public static final java.lang.String GIURGIU
See Also:
Constant Field Values

BUCHAREST

public static final java.lang.String BUCHAREST
See Also:
Constant Field Values

NEAMT

public static final java.lang.String NEAMT
See Also:
Constant Field Values

URZICENI

public static final java.lang.String URZICENI
See Also:
Constant Field Values

IASI

public static final java.lang.String IASI
See Also:
Constant Field Values

VASLUI

public static final java.lang.String VASLUI
See Also:
Constant Field Values

HIRSOVA

public static final java.lang.String HIRSOVA
See Also:
Constant Field Values

EFORIE

public static final java.lang.String EFORIE
See Also:
Constant Field Values
Constructor Detail

SimplifiedRoadMapOfPartOfRomania

public SimplifiedRoadMapOfPartOfRomania()
Method Detail

initMap

public static void initMap(ExtendableMap map)
Initializes a map with a simplified road map of Romania.