cz.cuni.amis.pogamut.sposh.executor
Interface ISense<RETURN>

Package class diagram package ISense
Type Parameters:
RETURN - Class of object that this sense returns every time it is queried.
All Known Implementing Classes:
Fail, ParamsSense, StateSense, Succeed

public interface ISense<RETURN>

Interface for sense in state paradigma.

Sense should NEVER EVER do any action. It is different from IAction. Think of it as constant method of C++ class.

Examples:

Author:
Honza
See Also:
IPrimitive, StateWorkExecutor

Method Summary
 RETURN query(VariableContext params)
          Query current value of sense.
 

Method Detail

query

RETURN query(VariableContext params)
Query current value of sense.

Parameters:
params - Variable context passed from posh plan to sense. Could be used for things like threshold and so on.
Returns:
what is sense currently sensing, e.g. number of friends in FOV


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