Agent Based Modeling, Programming, Cpp, Object Oriented, Stochastic Modelling.
declared the functions in our header file we can add some logic to our agent class, to do this we have to open up our cpp file. #include Agent.h void Agent::update_location(int x_Loc, int y_Loc) { m_x = x_Loc; m_y = y_Loc; } void Agent::update_infec_stat(infection_status stage) { m_stage = stage; }