Virtual Belgium  2.0
A micro-simulation platform for the Belgian population
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
main.cpp File Reference

Main method and functions handling the launching of the simulation. More...

#include "repast_hpc/RepastProcess.h"
#include "repast_hpc/io.h"
#include "repast_hpc/logger.h"
#include "repast_hpc/Utilities.h"
#include "repast_hpc/initialize_random.h"
#include <boost/mpi.hpp>
#include <boost/serialization/export.hpp>
#include <boost/lexical_cast.hpp>
#include <vector>
#include <exception>
#include <time.h>
#include <iomanip>
#include "../include/Model.hpp"
#include "../include/Data.hpp"
#include "../include/Random.hpp"
#include "../include/Network.hpp"

Functions

void usage ()
 
void runSimulation (std::string propsFile, int argc, char **argv)
 Initialize and launch the simulation. More...
 
int main (int argc, char **argv)
 Main function. More...
 

Detailed Description

Main method and functions handling the launching of the simulation.

Function Documentation

int main ( int  argc,
char **  argv 
)

Main function.

Returns
EXIT_SUCCESS if the simulation's launching is successful, EXIT_FAILURE otherwise.
void runSimulation ( std::string  propsFile,
int  argc,
char **  argv 
)

Initialize and launch the simulation.

Parameters
propsFilethe file containing VirtualBelgium properties.
argcthe total number of arguments passed to the main function.
argvthe arguments passed to the main function.
void usage ( )

Print to the standard error output the required arguments to execute Virtual Belgium.