|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.igis.omtab.ra.JessEncounterAction
public class JessEncounterAction
Reference realisation of Repeat Action interface Periodically check encounter between two object See Jess documentation
Constructor Summary | |
---|---|
JessEncounterAction(MapOb o1,
MapOb o2,
float r,
java.lang.String auf,
jess.Rete engine)
Creates a new instance of JessRepeatTest |
Method Summary | |
---|---|
java.lang.String |
getName()
Every RepeatAction must return a string name to search it in Second, Hour or Day Action lists |
void |
repeat(long time)
Periodically check distance between objects or jerky change of bearings from first object on second and call user function passing to it 3 parameters: - First Map Object - Second Map Object - Current distance between them |
void |
setName(java.lang.String name)
You can set name for this RepeatAction with a help of this method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JessEncounterAction(MapOb o1, MapOb o2, float r, java.lang.String auf, jess.Rete engine) throws jess.JessException
o1
- - Map Object oneo2
- - Map Object twor
- - radius between object when they considered encounteredauf
- - Jess userfunction with 3 parameters to call when they encounteredengine
- - Rete engine
jess.JessException
- -Method Detail |
---|
public void repeat(long time)
repeat
in interface RepeatAction
time
- - elapsed time in corresponding tome unitspublic java.lang.String getName()
RepeatAction
getName
in interface RepeatAction
public void setName(java.lang.String name)
RepeatAction
setName
in interface RepeatAction
name
- new name for RA
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |