nl.tudelft.goal.EIS2Java.util
Interface AllPerceptsProvider

Package class diagram package AllPerceptsProvider

public interface AllPerceptsProvider

Interface for agents that can not provide percepts one at a time. These objects agents prepare a batch of percepts ahead of time by analyzing their own annotations.

Author:
mpkorstanje

Method Summary
 Map<Method,Object> getAllPercepts()
          A batch of percepts should be returned as a map of the methods annotated with AsPercept and the results of their invocation.
 

Method Detail

getAllPercepts

Map<Method,Object> getAllPercepts()
                                  throws eis.exceptions.PerceiveException
A batch of percepts should be returned as a map of the methods annotated with AsPercept and the results of their invocation. Note that when AsPercept.event() is true for a percept, the implementation must store all results from that percept until this method is called.

Returns:
a previously prepared batch of percepts.
Throws:
eis.exceptions.EntityException
eis.exceptions.PerceiveException


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.