C# 클래스 AIMA.Core.Environment.Map.ExtendableMap

상속: Map
파일 보기 프로젝트 열기: PaulMineau/AIMA.Net 1 사용 예제들

공개 메소드들

메소드 설명
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 ) : Point2D
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

메소드 상세

ExtendableMap() 공개 메소드

public ExtendableMap ( ) : System
리턴 System

addBidirectionalLink() 공개 메소드

public addBidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void
fromLocation String
toLocation String
distance Double
리턴 void

addUnidirectionalLink() 공개 메소드

public addUnidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void
fromLocation String
toLocation String
distance Double
리턴 void

clear() 공개 메소드

public clear ( ) : void
리턴 void

clearLinks() 공개 메소드

public clearLinks ( ) : void
리턴 void

getDistance() 공개 메소드

public getDistance ( String fromLocation, String toLocation ) : Double
fromLocation String
toLocation String
리턴 Double

getLocations() 공개 메소드

public getLocations ( ) : List
리턴 List

getLocationsLinkedTo() 공개 메소드

public getLocationsLinkedTo ( String fromLocation ) : List
fromLocation String
리턴 List

getPosition() 공개 메소드

public getPosition ( String loc ) : Point2D
loc String
리턴 AIMA.Core.Util.DataStructure.Point2D

isLocation() 공개 메소드

public isLocation ( String str ) : bool
str String
리턴 bool

randomlyGenerateDestination() 공개 메소드

public randomlyGenerateDestination ( ) : String
리턴 String

removeBidirectionalLink() 공개 메소드

public removeBidirectionalLink ( String fromLocation, String toLocation ) : void
fromLocation String
toLocation String
리턴 void

removeUnidirectionalLink() 공개 메소드

public removeUnidirectionalLink ( String fromLocation, String toLocation ) : void
fromLocation String
toLocation String
리턴 void

setDistAndDirToRefLocation() 공개 메소드

public setDistAndDirToRefLocation ( String loc, double dist, int dir ) : void
loc String
dist double
dir int
리턴 void

setPosition() 공개 메소드

public setPosition ( String loc, double x, double y ) : void
loc String
x double
y double
리턴 void