It consists of visualizing a population of susceptible individuals using an undirected graph. In the example above the individuals are represented with the alphabet letters and every individual is a node, where the starting node "A" is the patient zero and "Z" is the "target". There is a target because the simulation is based on the Dijkstra Algorithm: every node has at least an edge (or link, connection) with another node and this connection has a value ranging from 1 to 5. Value of 1 represents the strongest connection, where an individual has strong, periodic, contacts with the other individual. Value of 5 is the lowest value, the individual has a very weak connection, which can be seen as an occasional contact with the other node. Dijkstra Algorithm is a virus spreading between those individuals. It's an algorithm to find the shortest path between two nodes. Starting from "A" the virus tries to reach "Z" using the shortest path possible. This means that the virus is more prone to follow paths (connections) with the smallest value, or the strongest contact in real life. The connection value also represents the ETA of the process: every unit is a day.
This is meant to underline the importance of social distancing to slow down the epidemic. Stay safe!
The project is structured as follows:
The "core" folder contains the most important files: the two data structures implementations in JavaScript, the Dijkstra Algorithm, the main file where everything is executed and the convert_data file; this is just a utility function that converts the generated JSON data in a more polished format used for plotting. This is due to the fact that I've implemented the weighted graph in a way that looked to me more intuitive and more easy to manipulate. You can see the differences between "social-net.json" and "[PLOT]social-net.json".
The "data" folder is where the final product, the net of individuals, is stored in a JSON format. A csv file with the results from the simulations is also present.
The "public" folder cointains the files accessible to everybody that wants to visit the NodeJS server, place there the files that you want to be served to clients.
Finally the server.js file. This is a super simple Express web server. I could have simply started a simple HTTP server with Python but I wanted to test my newly learned abilities in backend web development.
As you may have noticed I've already run a simple simulation using the alphabet as population. The graph plotted above is the actual result. Unfortunately I'm still working on a visualization of the spreading process with Dijkstra. What you are seeing it's just the JSON data of the population. In the meanwhile here the result I got by running the simulation:
As you can see, even if it's not possible to view the full object, the Dijkstra Algorithm found the shortest path from A to Z. The sum of the paths is the ETA of the virus spreading. It took 25 days to infect all nodes that you see at the bottom. The connections are randomly generated and the starting node can't be directly connected with the last one. You can modify the value of the maximum connections for each node. More connections means a higher possibility that the shortest path will be really short. If you actually modify the range of values for the connections, say from 4 to 5 instead of 1 to 5, you will see that it will take the "virus" a longer time to reach the target.
Check the section down below to find the path where you can find a chart of the simulations results. If you want to plot your own simulation you just need to place the "results.csv" file located in the "data" folder inside the "charts" folder (subfolder of the public one).


This is the auto-generated documentation page for the
Wordsmith RPG. This game is written in C and compiled
under -std=gnu99
using
Allegro5.
List of all documented files included in the project.
By standard, only header files are documented and included
in this webpage.
List of all the data structures defined in the files.


\begin{tikzpicture} \begin{axis}[ ybar, enlargelimits=0.15, legend style={at={(0.5,-0.15)}, anchor=north,legend columns=-1}, ylabel={avarage time (ms)}, xtick=data, nodes near coords, nodes near coords align={vertical},


{% extends 'aiohttp_login/bootstrap-3/base.html' %} {% block auth_title %}Account activation{% endblock %} {% block auth_content %}
You are registered successfully! To activate your account, please, click on the verification link in the email we sent you.
{% endblock %}


Using this screen the user can select any of the operations like track the packages (Tracking) and Analytics (Reports).
Figure 2.1
The Above figure (Figure 2.1) is the first page in the Ship Console Main Module. This page lists links to all other web pages upon selection.
Tracking |
It navigates to the Ship Console Tracking page. For more information, Please refer to Tracking Page |
Change Password |
It navigates to the Change Password. For more information, Please refer toChange Password |
Sign Out |
It navigates to the Ship Console login page. |


{% extends "global/Page.html" %} {% load staticfiles otree_tags %} {% block title %} Comments {% endblock %} {% block content %}
A burglar who has just robbed a shop is making his getaway. As he is running home, a policeman walking past sees the man drop his glove. He doesn’t know the man is a burglar, but he just wants to tell him he dropped his glove. But when the policeman shouts out to the burglar, “Hey, you! Stop!”, the burglar turns around, see the policeman and gives himself up. He puts up his hands and admits that he did the break-in at the local shop.
{% formfield player.burglar %}We would like to know your thinking process for how made your decision in the Task Game. Please briefly describe how you made your choices in the box below
{% formfield player.process %}Finally, if you have any other comments or suggestions you can write them in the box below.
{% formfield player.comments %} {% next_button %} {% endblock %}