Method | Description | |
---|---|---|
ExtendableMap ( ) : System | ||
addBidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void | ||
addUnidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void | ||
clear ( ) : void | ||
clearLinks ( ) : void | ||
getDistance ( String fromLocation, String toLocation ) : Double | ||
getLocations ( ) : List |
||
getLocationsLinkedTo ( String fromLocation ) : List |
||
getPosition ( String loc ) : |
||
isLocation ( String str ) : bool | ||
randomlyGenerateDestination ( ) : String | ||
removeBidirectionalLink ( String fromLocation, String toLocation ) : void | ||
removeUnidirectionalLink ( String fromLocation, String toLocation ) : void | ||
setDistAndDirToRefLocation ( String loc, double dist, int dir ) : void | ||
setPosition ( String loc, double x, double y ) : void |
public addBidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void | ||
fromLocation | String | |
toLocation | String | |
distance | Double | |
return | void |
public addUnidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void | ||
fromLocation | String | |
toLocation | String | |
distance | Double | |
return | void |
public getDistance ( String fromLocation, String toLocation ) : Double | ||
fromLocation | String | |
toLocation | String | |
return | Double |
public getLocationsLinkedTo ( String fromLocation ) : List |
||
fromLocation | String | |
return | List |
public getPosition ( String loc ) : |
||
loc | String | |
return |
public randomlyGenerateDestination ( ) : String | ||
return | String |
public removeBidirectionalLink ( String fromLocation, String toLocation ) : void | ||
fromLocation | String | |
toLocation | String | |
return | void |
public removeUnidirectionalLink ( String fromLocation, String toLocation ) : void | ||
fromLocation | String | |
toLocation | String | |
return | void |
public setDistAndDirToRefLocation ( String loc, double dist, int dir ) : void | ||
loc | String | |
dist | double | |
dir | int | |
return | void |
public setPosition ( String loc, double x, double y ) : void | ||
loc | String | |
x | double | |
y | double | |
return | void |