cz.cuni.amis.pogamut.sposh.executor
Class Succeed
java.lang.Object
cz.cuni.amis.pogamut.sposh.executor.StateSense<Context,Boolean>
cz.cuni.amis.pogamut.sposh.executor.Succeed
- All Implemented Interfaces:
- ISense<Boolean>
public class Succeed
- extends StateSense<Context,Boolean>
Primitive sense, always succeed (return true) and do nothing else.
- Author:
- Honza
| Fields inherited from class cz.cuni.amis.pogamut.sposh.executor.StateSense |
ctx |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Succeed
public Succeed(Context ctx)
query
public Boolean query(VariableContext ctx)
- Description copied from interface:
ISense
- Query current value of sense.
- Parameters:
ctx - 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.