메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public addUnidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void | ||
fromLocation | String | |
toLocation | String | |
distance | Double | |
리턴 | void |
public getDistance ( String fromLocation, String toLocation ) : Double | ||
fromLocation | String | |
toLocation | String | |
리턴 | Double |
public getLocationsLinkedTo ( String fromLocation ) : List |
||
fromLocation | String | |
리턴 | List |
public getPosition ( String loc ) : |
||
loc | String | |
리턴 |
public removeBidirectionalLink ( String fromLocation, String toLocation ) : void | ||
fromLocation | String | |
toLocation | String | |
리턴 | void |
public removeUnidirectionalLink ( String fromLocation, String toLocation ) : void | ||
fromLocation | String | |
toLocation | String | |
리턴 | void |
public setDistAndDirToRefLocation ( String loc, double dist, int dir ) : void | ||
loc | String | |
dist | double | |
dir | int | |
리턴 | void |
public setPosition ( String loc, double x, double y ) : void | ||
loc | String | |
x | double | |
y | double | |
리턴 | void |