C# Class AIMA.Core.Environment.XYEnv.XYEnvironmentState

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

Méthodes publiques

Méthode Description
ToString ( ) : String
XYEnvironmentState ( int width, int height ) : System
getCurrentLocationFor ( EnvironmentObject eo ) : XYLocation
getObjectsAt ( XYLocation loc ) : HashSet
getObjectsNear ( Agent agent, int radius ) : HashSet
moveObjectToAbsoluteLocation ( EnvironmentObject eo, XYLocation loc ) : void

Private Methods

Méthode Description
withinRadius ( int radius, XYLocation agentLocation, XYLocation objectLocation ) : bool

Method Details

ToString() public méthode

public ToString ( ) : String
Résultat String

XYEnvironmentState() public méthode

public XYEnvironmentState ( int width, int height ) : System
width int
height int
Résultat System

getCurrentLocationFor() public méthode

public getCurrentLocationFor ( EnvironmentObject eo ) : XYLocation
eo EnvironmentObject
Résultat AIMA.Core.Util.DataStructure.XYLocation

getObjectsAt() public méthode

public getObjectsAt ( XYLocation loc ) : HashSet
loc AIMA.Core.Util.DataStructure.XYLocation
Résultat HashSet

getObjectsNear() public méthode

public getObjectsNear ( Agent agent, int radius ) : HashSet
agent Agent
radius int
Résultat HashSet

moveObjectToAbsoluteLocation() public méthode

public moveObjectToAbsoluteLocation ( EnvironmentObject eo, XYLocation loc ) : void
eo EnvironmentObject
loc AIMA.Core.Util.DataStructure.XYLocation
Résultat void