C# Класс VacuumCleaner.Agents.ModelAgentNoIdle

Наследование: IAgent
Показать файл Открыть проект

Открытые методы

Метод Описание
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