|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CObject | |
---|---|
crowdmodel | |
crowdmodel.agents | |
crowdmodel.environment | |
crowdmodel.test | |
crowdmodel.utils |
Uses of CObject in crowdmodel |
---|
Subclasses of CObject in crowdmodel | |
---|---|
class |
Cluster
Cluster is a class that contains the functions to update the output measure: clusters A cluster is defined as a network structure that indicates a set of agents that either 1) perform the same behaviour 2) perform a specific behaviour 3) whatever way you would like to define a cluster.. |
Fields in crowdmodel with type parameters of type CObject | |
---|---|
repast.simphony.context.Context<CObject> |
CObject.d_world_context
|
Methods in crowdmodel that return types with arguments of type CObject | |
---|---|
repast.simphony.context.Context<CObject> |
CContextCreator.build(repast.simphony.context.Context<CObject> context)
Builds and returns a context. |
Method parameters in crowdmodel with type arguments of type CObject | |
---|---|
repast.simphony.context.Context<CObject> |
CContextCreator.build(repast.simphony.context.Context<CObject> context)
Builds and returns a context. |
Uses of CObject in crowdmodel.agents |
---|
Subclasses of CObject in crowdmodel.agents | |
---|---|
class |
CrowdAgent
Base class for a crowd agent (individual) An agent in this simulation refers to an computational individual in a crowd. |
Constructor parameters in crowdmodel.agents with type arguments of type CObject | |
---|---|
CrowdAgent(int agentID,
repast.simphony.context.Context<CObject> worldContext,
repast.simphony.context.Context<CrowdAgent> agentContext)
This constructor creates and initialises an agent |
Uses of CObject in crowdmodel.environment |
---|
Subclasses of CObject in crowdmodel.environment | |
---|---|
class |
CellObject
Describes environmental objects and their location on the grid An object is always situated on one gridCell. |
Method parameters in crowdmodel.environment with type arguments of type CObject | |
---|---|
void |
CellObject.setValue(repast.simphony.context.Context<CObject> worldcontext)
Sets the value of the cellObject in the valueLayer Where this value corresponds with the environment Object it belongs to as the valueLayer uses this value to visualise these objects on the display. |
Constructor parameters in crowdmodel.environment with type arguments of type CObject | |
---|---|
CellObject(repast.simphony.context.Context<CObject> worldcontext,
int x,
int y,
int id)
Constructor of CellObject Creates the cell object |
Uses of CObject in crowdmodel.test |
---|
Subclasses of CObject in crowdmodel.test | |
---|---|
class |
BehaveTest
|
class |
PerceiveTest
This class describes a test of the function of the implemented CrowdModel It concerns one of the major processes: perception By checking this process, the functioning of the structure components is also tested. |
class |
Test
|
Uses of CObject in crowdmodel.utils |
---|
Method parameters in crowdmodel.utils with type arguments of type CObject | |
---|---|
static boolean |
Misc.close2friend(repast.simphony.context.Context<CObject> context,
java.util.Iterator<CrowdAgent> friends,
CrowdAgent me)
This function returns whether an agent is standing close to one of its friends This is done by checking the distance between the agent and all of its friends. |
static repast.simphony.space.grid.GridPoint |
Misc.findWalkableNeighborPatch(repast.simphony.context.Context<CObject> context,
repast.simphony.space.grid.GridPoint pos)
|
static repast.simphony.space.continuous.NdPoint |
Misc.posClose2pos(repast.simphony.context.Context<CObject> context,
repast.simphony.space.continuous.NdPoint posFriend,
CrowdAgent me)
Function returns a position close a given position (here the position of a friend is used) It searches for a position in the Moore's neighbourhood (the eight surrounding patches) When no position can be found in the neighbourhood that is available for an agent to stand on (depending on walkablility: occupiedness (other objects/agents) and positioned within the world) the function returns null. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |