A B C D E F G H I L M N O P R S T U V W

C

calcArea(double, double) - Static method in class crowdmodel.utils.MathUtils
Function calculates the area of a triangle Calculates the opposite, given the angle and Adjacent side opposite = tan(angle/2) * adjacent area = 2(opposite * adjacent)
calcDistanceIndicators() - Method in class crowdmodel.Cluster
Sets the distance indicators for this time-step - Mean of the distances between agents : sum(distances) / n - Variance of the distances between agents : sum((distances - mean)^2) / (n-1)
calcHeading(double, NdPoint, NdPoint) - Static method in class crowdmodel.utils.MathUtils
Calculates what the heading(angle) is given a position and the heading to the new heading should be, given a point it should be directed to In repast the coordinate system allows mixed ranges: - from 0 (top), 90 (right), 180/-180 (bottom), -90 (left)
calcNewPosition(double, double, double, double) - Static method in class crowdmodel.utils.MathUtils
Calculates a new position (NdPoint) on the continuous space Given the current position, heading and speed.
calcUtil(BehaviourRule) - Method in class crowdmodel.agents.CrowdAgent
Calculates a value (utility value) to compare two behaviours with each other.
CBidentity - Static variable in class crowdmodel.gui.UserPanelInitializer
 
CBsafety - Static variable in class crowdmodel.gui.UserPanelInitializer
 
CBsocial - Static variable in class crowdmodel.gui.UserPanelInitializer
 
CBsubsistence - Static variable in class crowdmodel.gui.UserPanelInitializer
 
CContextCreator - Class in crowdmodel
Context creator is one of the main classes of the model.
CContextCreator() - Constructor for class crowdmodel.CContextCreator
 
CellObject - Class in crowdmodel.environment
Describes environmental objects and their location on the grid An object is always situated on one gridCell.
CellObject(Context<CObject>, int, int, int) - Constructor for class crowdmodel.environment.CellObject
Constructor of CellObject Creates the cell object
CELLSIZE - Static variable in class crowdmodel.styles.AreaStyle2D
 
checkBarPOIs() - Method in class crowdmodel.test.PerceiveTest
Checks whether the agents currently standing on at a bar (on a bar patch) have their physiology settings correctly updated
checkPrimingPersonFacts() - Method in class crowdmodel.test.PerceiveTest
Function that checks whether the perception of other agents (that are supposed to be seen) have their correct impact on the personFacts in terms of being primed.
checkRange(Goal) - Method in class crowdmodel.agents.CrowdAgent
Function that checks and when necessary corrects the range of the satisfaction value of a goal to stay between [0,1]
checkStagePOI() - Method in class crowdmodel.test.PerceiveTest
Checks the effect of the stagePOI,
whether the vicinity of the stage has the proper effect on the id goal satisfaction level of the agent.
checkSurrounding(double) - Method in class crowdmodel.agents.LocomotionRule
braitenberg style surrounding check
checkToiletPOIs() - Method in class crowdmodel.test.PerceiveTest
Checks whether the agents currently at a toilet (are situated on a toilet patch) have their physiology settings correctly updated (empty bladder)
close2friend(Context<CObject>, Iterator<CrowdAgent>, CrowdAgent) - Static method in class crowdmodel.utils.Misc
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.
Cluster - Class in crowdmodel
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..
Cluster(int, int, int) - Constructor for class crowdmodel.Cluster
Constructor for cluster, initialises the vars
clusterIndex() - Method in class crowdmodel.agents.CrowdAgent
Function indicates the relative crowdedness around an agent.
CObject - Class in crowdmodel
The abstract class of all objects and classes in the CrowdModel An object is an environment object or an agent (individual)
CObject() - Constructor for class crowdmodel.CObject
 
CObject(int, Context) - Method in class crowdmodel.CObject
 
ComboIDDist - Static variable in class crowdmodel.gui.UserPanelInitializer
 
ComboSafeDist - Static variable in class crowdmodel.gui.UserPanelInitializer
 
ComboSocDist - Static variable in class crowdmodel.gui.UserPanelInitializer
 
ComboSubsDist - Static variable in class crowdmodel.gui.UserPanelInitializer
 
compare(BehaviourRule) - Method in class crowdmodel.agents.CrowdAgent
Compares the current behaviour ready for execution with the next behaviour.
compare(BehaviourRule, BehaviourRule) - Method in class crowdmodel.utils.Bcomparator
Compares the activation value of two BehaviourRules to design a hierarchical ordering
compareTo(Object) - Method in class crowdmodel.agents.BehaviourRule
 
Constants - Class in crowdmodel
The Constants class defines all the constants that are not necessarily belonging to another class but to the project.
Constants() - Constructor for class crowdmodel.Constants
 
contains(MemoryElement) - Method in class crowdmodel.agents.Memory
Function that checks whether a MemoryElement is stored in Memory This overloads the contains function of AbstractContext, which isn't suitable here as an abstractContext stores its objects in a Collections, whereas we do so in a Map.
contains(String) - Method in class crowdmodel.agents.Memory
Returns whether memory has this element This is an overloading function.
contextActivation() - Method in class crowdmodel.agents.MemoryElement
 
createBehaviours() - Method in class crowdmodel.agents.Memory
Creates the internal representation of a behaviour (= a behaviourRule) There are 3 general types of behaviour: locomotion, manipulation and communication
createFacts() - Method in class crowdmodel.agents.Memory
Creates the facts an individual has in its memory There are 3 types of facts: behaviour, person, (event) facts
createGoals() - Method in class crowdmodel.agents.Memory
Creates the goals an individual has in its memory.
createGroup(int[][], int, int, int) - Static method in class crowdmodel.utils.Misc
Function creates a matrix that represents a social structure.
createListeners() - Method in class crowdmodel.gui.UserPanelInitializer
Creates the listeners for the GUI-elements.
createPois() - Method in class crowdmodel.environment.Area
Creates a bar of points of interest This is used for the festival scenario for the stage
CrowdAgent - Class in crowdmodel.agents
Base class for a crowd agent (individual) An agent in this simulation refers to an computational individual in a crowd.
CrowdAgent(int, Context<CObject>, Context<CrowdAgent>) - Constructor for class crowdmodel.agents.CrowdAgent
This constructor creates and initialises an agent
CrowdAgentStyle2D - Class in crowdmodel.styles
Style for crowd members in 2D displays.
CrowdAgentStyle2D() - Constructor for class crowdmodel.styles.CrowdAgentStyle2D
 
crowded(ContinuousSpace, NdPoint, double) - Static method in class crowdmodel.utils.Misc
 
crowdedness(ContinuousSpace, NdPoint, double) - Static method in class crowdmodel.utils.Misc
 
crowdedOld(ContinuousSpace, NdPoint) - Static method in class crowdmodel.utils.Misc
Indicated whether a point is crowded based on the occupancy of the 8 surrounding patches (Moore's neighbourhood).
crowdmodel - package crowdmodel
 
crowdmodel.agents - package crowdmodel.agents
 
crowdmodel.environment - package crowdmodel.environment
 
crowdmodel.gui - package crowdmodel.gui
 
crowdmodel.styles - package crowdmodel.styles
 
crowdmodel.test - package crowdmodel.test
 
crowdmodel.utils - package crowdmodel.utils
 

A B C D E F G H I L M N O P R S T U V W