C# Class AIMA.Core.Environment.Map.ExtendableMap

Inheritance: Map
Afficher le fichier Open project: PaulMineau/AIMA.Net Class Usage Examples

Méthodes publiques

Méthode 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 ) : 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

Method Details

ExtendableMap() public méthode

public ExtendableMap ( ) : System
Résultat System

addBidirectionalLink() public méthode

public addBidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void
fromLocation String
toLocation String
distance Double
Résultat void

addUnidirectionalLink() public méthode

public addUnidirectionalLink ( String fromLocation, String toLocation, Double distance ) : void
fromLocation String
toLocation String
distance Double
Résultat void

clear() public méthode

public clear ( ) : void
Résultat void

clearLinks() public méthode

public clearLinks ( ) : void
Résultat void

getDistance() public méthode

public getDistance ( String fromLocation, String toLocation ) : Double
fromLocation String
toLocation String
Résultat Double

getLocations() public méthode

public getLocations ( ) : List
Résultat List

getLocationsLinkedTo() public méthode

public getLocationsLinkedTo ( String fromLocation ) : List
fromLocation String
Résultat List

getPosition() public méthode

public getPosition ( String loc ) : Point2D
loc String
Résultat AIMA.Core.Util.DataStructure.Point2D

isLocation() public méthode

public isLocation ( String str ) : bool
str String
Résultat bool

randomlyGenerateDestination() public méthode

public randomlyGenerateDestination ( ) : String
Résultat String

removeBidirectionalLink() public méthode

public removeBidirectionalLink ( String fromLocation, String toLocation ) : void
fromLocation String
toLocation String
Résultat void

removeUnidirectionalLink() public méthode

public removeUnidirectionalLink ( String fromLocation, String toLocation ) : void
fromLocation String
toLocation String
Résultat void

setDistAndDirToRefLocation() public méthode

public setDistAndDirToRefLocation ( String loc, double dist, int dir ) : void
loc String
dist double
dir int
Résultat void

setPosition() public méthode

public setPosition ( String loc, double x, double y ) : void
loc String
x double
y double
Résultat void