crowdmodel.utils
Class DataSets

java.lang.Object
  extended by crowdmodel.utils.DataSets

public class DataSets
extends java.lang.Object

This class contains all variables that are used for plotting, measuring, manipulation, etc. In this model we hava a multi-level approach, which means that we measure on multiple levels: - inter-group : between groups (this is not included yet) - intra-group : within groups - inter-individual: between individuals - intra-individual: within an individual In Repast data sets are build based upon them, so that one can easily include or exclude variables/functions for plotting or output means

Author:
Nanda Wijermans

Field Summary
(package private)  int d_HlocalDens
           
(package private)  int d_identity_dominance
           
(package private)  int d_LlocalDens
           
(package private)  int d_MlocalDens
           
(package private)  int d_move_id
           
(package private)  int d_move_safety
           
(package private)  int d_move_social
           
(package private)  int d_move_subs
           
(package private)  int d_safety_dominance
           
(package private)  int d_social_dominance
           
(package private)  int d_subsistence_dominance
           
(package private)  boolean gArousal_custo
           
(package private)  int gCrowdsize
           
(package private)  int gDensity
           
(package private)  int gHighArousal
           
(package private)  double gIdentity_pref_custo
           
(package private)  java.lang.String gIdentity_pref_dist
           
(package private)  double gIdentity_satis_custo
           
(package private)  java.lang.String gIdentity_satis_dist
           
(package private)  int gLowArousal
           
(package private)  int gMediumArousal
           
(package private)  int gNrLeaders
           
(package private)  int gPeaceLeaders
           
(package private)  boolean gPref_custo
           
(package private)  double gSafety_pref_custo
           
(package private)  java.lang.String gSafety_pref_dist
           
(package private)  double gSafety_satis_custo
           
(package private)  java.lang.String gSafety_satis_dist
           
(package private)  boolean gSatis_custo
           
(package private)  double gSocial_pref_custo
           
(package private)  java.lang.String gSocial_pref_dist
           
(package private)  double gSocial_satis_custo
           
(package private)  java.lang.String gSocial_satis_dist
           
(package private)  double gSubsistence_pref_custo
           
(package private)  java.lang.String gSubsistence_pref_dist
           
(package private)  double gSubsistence_satis_custo
           
(package private)  java.lang.String gSubsistence_satis_dist
           
(package private)  int gWarLeaders
           
 
Constructor Summary
DataSets(repast.simphony.parameter.Parameters p)
          Constructor for a dataSet Depending on the user-input the values are initialised with a default or user-defined value
 
Method Summary
 void d_moveSubs()
           
private  void defaultInit()
          Default values for initialisation of the agents These are described in group-level terms, to be translated to individual/agent values when an agent is created
 void incIdentityDom()
           
 void incMoveID()
           
 void incMoveSafe()
           
 void incMoveSoc()
           
 void incSafetyDom()
           
 void incSocialDom()
           
 void incSubsistenceDom()
           
 void resetCounters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gCrowdsize

int gCrowdsize

gDensity

int gDensity

gNrLeaders

int gNrLeaders

gPeaceLeaders

int gPeaceLeaders

gWarLeaders

int gWarLeaders

gPref_custo

boolean gPref_custo

gIdentity_pref_custo

double gIdentity_pref_custo

gSocial_pref_custo

double gSocial_pref_custo

gSafety_pref_custo

double gSafety_pref_custo

gSubsistence_pref_custo

double gSubsistence_pref_custo

gIdentity_pref_dist

java.lang.String gIdentity_pref_dist

gSocial_pref_dist

java.lang.String gSocial_pref_dist

gSafety_pref_dist

java.lang.String gSafety_pref_dist

gSubsistence_pref_dist

java.lang.String gSubsistence_pref_dist

gSatis_custo

boolean gSatis_custo

gIdentity_satis_custo

double gIdentity_satis_custo

gSocial_satis_custo

double gSocial_satis_custo

gSafety_satis_custo

double gSafety_satis_custo

gSubsistence_satis_custo

double gSubsistence_satis_custo

gIdentity_satis_dist

java.lang.String gIdentity_satis_dist

gSocial_satis_dist

java.lang.String gSocial_satis_dist

gSafety_satis_dist

java.lang.String gSafety_satis_dist

gSubsistence_satis_dist

java.lang.String gSubsistence_satis_dist

gArousal_custo

boolean gArousal_custo

gLowArousal

int gLowArousal

gMediumArousal

int gMediumArousal

gHighArousal

int gHighArousal

d_identity_dominance

int d_identity_dominance

d_social_dominance

int d_social_dominance

d_safety_dominance

int d_safety_dominance

d_subsistence_dominance

int d_subsistence_dominance

d_move_id

int d_move_id

d_move_social

int d_move_social

d_move_safety

int d_move_safety

d_move_subs

int d_move_subs

d_HlocalDens

int d_HlocalDens

d_MlocalDens

int d_MlocalDens

d_LlocalDens

int d_LlocalDens
Constructor Detail

DataSets

public DataSets(repast.simphony.parameter.Parameters p)
Constructor for a dataSet Depending on the user-input the values are initialised with a default or user-defined value

Parameters:
p - (the user defined parameters)
Method Detail

defaultInit

private void defaultInit()
Default values for initialisation of the agents These are described in group-level terms, to be translated to individual/agent values when an agent is created


resetCounters

public void resetCounters()

incIdentityDom

public void incIdentityDom()

incSocialDom

public void incSocialDom()

incSafetyDom

public void incSafetyDom()

incSubsistenceDom

public void incSubsistenceDom()

incMoveID

public void incMoveID()

incMoveSoc

public void incMoveSoc()

incMoveSafe

public void incMoveSafe()

d_moveSubs

public void d_moveSubs()