jadex.micro.examples.heatbugs
Class DiffusionProcess

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.micro.examples.heatbugs.DiffusionProcess
All Implemented Interfaces:
ISpaceProcess, IPropertyObject

public class DiffusionProcess
extends SimplePropertyObject
implements ISpaceProcess

Diffusion process.


Field Summary
protected  double lasttick
          The last tick.
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Fields inherited from interface jadex.application.space.envsupport.environment.ISpaceProcess
ID
 
Constructor Summary
DiffusionProcess()
           
 
Method Summary
 void execute(IClockService clock, IEnvironmentSpace space)
          Executes the environment process
 void shutdown(IEnvironmentSpace space)
          This method will be executed by the object before the process is removed from the execution queue.
 void start(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
 

Field Detail

lasttick

protected double lasttick
The last tick.

Constructor Detail

DiffusionProcess

public DiffusionProcess()
Method Detail

start

public void start(IClockService clock,
                  IEnvironmentSpace space)
This method will be executed by the object before the process gets added to the execution queue.

Specified by:
start in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.

shutdown

public void shutdown(IEnvironmentSpace space)
This method will be executed by the object before the process is removed from the execution queue.

Specified by:
shutdown in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.

execute

public void execute(IClockService clock,
                    IEnvironmentSpace space)
Executes the environment process

Specified by:
execute in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.


Copyright © 2010. All Rights Reserved.