C# 클래스 AIMA.Core.Environment.XYEnv.XYEnvironmentState

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

공개 메소드들

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

비공개 메소드들

메소드 설명
withinRadius ( int radius, XYLocation agentLocation, XYLocation objectLocation ) : bool

메소드 상세

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

XYEnvironmentState() 공개 메소드

public XYEnvironmentState ( int width, int height ) : System
width int
height int
리턴 System

getCurrentLocationFor() 공개 메소드

public getCurrentLocationFor ( EnvironmentObject eo ) : XYLocation
eo EnvironmentObject
리턴 AIMA.Core.Util.DataStructure.XYLocation

getObjectsAt() 공개 메소드

public getObjectsAt ( XYLocation loc ) : HashSet
loc AIMA.Core.Util.DataStructure.XYLocation
리턴 HashSet

getObjectsNear() 공개 메소드

public getObjectsNear ( Agent agent, int radius ) : HashSet
agent Agent
radius int
리턴 HashSet

moveObjectToAbsoluteLocation() 공개 메소드

public moveObjectToAbsoluteLocation ( EnvironmentObject eo, XYLocation loc ) : void
eo EnvironmentObject
loc AIMA.Core.Util.DataStructure.XYLocation
리턴 void