Class Space2D.KdTreeProcess
- java.lang.Object
-
- jadex.commons.SimplePropertyObject
-
- jadex.extension.envsupport.environment.space2d.Space2D.KdTreeProcess
-
- All Implemented Interfaces:
IPropertyObject,ISpaceProcess
- Enclosing class:
- Space2D
protected class Space2D.KdTreeProcess extends SimplePropertyObject implements ISpaceProcess
-
-
Field Summary
Fields Modifier and Type Field Description protected KdTreekdtreeThe kd-tree-
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
-
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceProcess
ID
-
-
Constructor Summary
Constructors Constructor Description KdTreeProcess(KdTree kdTree)Creates a new update process for a kd-tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IClockService clock, IEnvironmentSpace space)Executes the environment processvoidshutdown(IEnvironmentSpace space)This method will be executed by the object before the process is removed from the execution queue.voidstart(IClockService clock, IEnvironmentSpace space)This method will be executed by the object before the process gets added to the execution queue.-
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
-
-
-
-
Field Detail
-
kdtree
protected KdTree kdtree
The kd-tree
-
-
Constructor Detail
-
KdTreeProcess
public KdTreeProcess(KdTree kdTree)
Creates a new update process for a kd-tree.- Parameters:
kdTree- The kd-tree.
-
-
Method Detail
-
execute
public void execute(IClockService clock, IEnvironmentSpace space)
Description copied from interface:ISpaceProcessExecutes the environment process- Specified by:
executein interfaceISpaceProcess- Parameters:
clock- The clock.space- The space this process is running in.
-
shutdown
public void shutdown(IEnvironmentSpace space)
Description copied from interface:ISpaceProcessThis method will be executed by the object before the process is removed from the execution queue.- Specified by:
shutdownin interfaceISpaceProcess- Parameters:
space- The space this process is running in.
-
start
public void start(IClockService clock, IEnvironmentSpace space)
Description copied from interface:ISpaceProcessThis method will be executed by the object before the process gets added to the execution queue.- Specified by:
startin interfaceISpaceProcess- Parameters:
clock- The clock.space- The space this process is running in.
-
-