|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcrowdmodel.CObject
public abstract class CObject
The abstract class of all objects and classes in the CrowdModel An object is an environment object or an agent (individual)
| Field Summary | |
|---|---|
int |
d_id
|
repast.simphony.context.Context<CObject> |
d_world_context
|
| Constructor Summary | |
|---|---|
CObject()
|
|
| Method Summary | |
|---|---|
void |
CObject(int id,
repast.simphony.context.Context worldContext)
|
void |
delete()
Delete the CObject In repast terms this means removing the Object from the context |
int |
getID()
Returns the id of the CObject. |
void |
step()
Step method describes what this object will do in the given time step This is to be defined in every class that is implementing this abstract class The @scheduleMethod indicates to the Scheduler (Repast) that the step method needs is to be scheduled starting at tick 1 with an interval of 1 tick. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int d_id
public repast.simphony.context.Context<CObject> d_world_context
| Constructor Detail |
|---|
public CObject()
| Method Detail |
|---|
public void CObject(int id,
repast.simphony.context.Context worldContext)
public void step()
public void delete()
public int getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||