100
X-Machines for Agent-Based Modeling: FLAME Perspectives
sugar_location
int sugar_id
double x
double y
eaten
int citizen_id
double x
double y
my_sugar
int citizen_id
int sugars
//Library file contains the global values used by the C
functions
#define citizen_view_length 200.0
#define citizen_eat_length 5.0
#define citizen_run_length 5.5
#define CitizenBoardSize 10
#define LENGTH 4
#define THRESHOLD 10.0
#define LANDSCAPE 200
double handle_boundary(double position);
//Library functions file contains common functions used by
agents
#include "header.h"
#include "my_library_header.h"
double handle_boundary(double position)
X-Machines for Agent-Based Modeling: FLAME Perspectives
//Library file contains the global values used by the C
functions
#define citizen_view_length 200.0
#define citizen_eat_length 5.0
#define citizen_run_length 5.5
#define CitizenBoardSize 10
#define LENGTH 4
#define THRESHOLD 10.0
#define LANDSCAPE 200
double handle_boundary(double position);
//Library functions file contains common functions used by
agents
#include "header.h"
#include "my_library_header.h"
double handle_boundary(double position)
