edu.udo.cs.ie.cowbots.bdi.brf
Interface MapOperator

Package class diagram package MapOperator
All Known Implementing Classes:
exMapOperator, MapUpdate

public interface MapOperator

the MapOperator models the interface for any knowledge operator that intends to operate on environmental information based upon the gridmap data structure.


Method Summary
 void assignMap(GridMap map)
          initialization routine, any operator has to accept the map instance provided as the first parameter
 java.util.List<ELPLiteral> getExploredCells()
          returns the explorations an agent made at the current turn. respecting the massim scenario, an operator implementing this interface is expected to provide any cow seen the current turn, too.
 GridMap getGridMap()
          returns the gridmap associated with the knowledge operator implementing this interface
 

Method Detail

assignMap

void assignMap(GridMap map)
initialization routine, any operator has to accept the map instance provided as the first parameter

Parameters:
map - environment instance

getExploredCells

java.util.List<ELPLiteral> getExploredCells()
returns the explorations an agent made at the current turn. respecting the massim scenario, an operator implementing this interface is expected to provide any cow seen the current turn, too.

Returns:
list of new perceptions

getGridMap

GridMap getGridMap()
returns the gridmap associated with the knowledge operator implementing this interface

Returns:
operator's gridmap instance