C# Class VacuumCleaner.Agents.ModelAgentNoIdle

Inheritance: IAgent
Afficher le fichier Open project: Troilk/VacuumCleaner

Méthodes publiques

Méthode Description
Perceive ( Environment env ) : void
Think ( ) : ActionType

Private Methods

Méthode Description
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

Method Details

Perceive() public méthode

public Perceive ( Environment env ) : void
env VacuumCleaner.Env.Environment
Résultat void

Think() public méthode

public Think ( ) : ActionType
Résultat ActionType