cz.cuni.amis.pogamut.sposh.executor
Class Fail
java.lang.Object
cz.cuni.amis.pogamut.sposh.executor.StateSense<Context,Boolean>
cz.cuni.amis.pogamut.sposh.executor.Fail
- All Implemented Interfaces:
- ISense<Boolean>
public class Fail
- extends StateSense<Context,Boolean>
Primitive sense that always fails (returns false) and does 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 |
Fail
public Fail(Context ctx)
query
public Boolean query(VariableContext params)
- Description copied from interface:
ISense
- 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.