C# 클래스 VacuumCleaner.Agents.ModelAgentNoIdle

상속: IAgent
파일 보기 프로젝트 열기: Troilk/VacuumCleaner

공개 메소드들

메소드 설명
Perceive ( Environment env ) : void
Think ( ) : ActionType

비공개 메소드들

메소드 설명
GetPathToGrey ( ) : void

A* to generate path to nearest grey tile

GreyExists ( ) : bool

Check if map contains grey tiles

NearestGrey ( Point currentPos ) : int

Get nearest grey tile evaluated by Manhattan distance

Phase1Iteration ( ) : ActionType

Map discovery phase

Phase2Iteration ( ) : ActionType

Iteration on explored map

메소드 상세

Perceive() 공개 메소드

public Perceive ( Environment env ) : void
env VacuumCleaner.Env.Environment
리턴 void

Think() 공개 메소드

public Think ( ) : ActionType
리턴 ActionType