|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ISimUICallback
Interface for callbacks to UI routines (drawing and other)
| Method Summary | |
|---|---|
boolean |
doCallback(double[] arrLfState,
IAgent agent,
StateBundle[] arrStates,
ISensor[] arrSensors,
IEnvironment env,
CommGraph graph,
double lfSimTime)
Callback function |
java.lang.Object |
getLastObject()
In case we need more info then true/false from doCallback |
| Method Detail |
|---|
boolean doCallback(double[] arrLfState,
IAgent agent,
StateBundle[] arrStates,
ISensor[] arrSensors,
IEnvironment env,
CommGraph graph,
double lfSimTime)
arrLfState - state vector (initially initial state,
overwritten with final state)agent - agent mapping (currently only support for homogenous swarms
)arrStates - non-position components of
state of each agent (logic vars and control
function)arrSensors - array of sensor interfaces.env - environmentgraph - new communication graph (if an update is needed
pass null otherwise)lfSimTime - current simulated time
java.lang.Object getLastObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||