godisreal / group-social-force

Multi-Agent Simulation of Collective Behavior (Pedestrian Crowd)
24 stars 6 forks source link

About Data Input File #8

Open godisreal opened 4 years ago

godisreal commented 4 years ago

What is the proper data input file? This program uses .csv (Comma-Separated Values), and some others use .xml or json. Any suggestions?
I choose .csv because it is easy to edit .csv in Excel or other similar softwares. This is useful to input various data of pedestrain agents, especially when the number of agents is large.
For building geometry data such as walls and doors, I think .xml or .csv are both good.
Suggestion and comment are much welcome.

godisreal commented 4 years ago

Now multiple .csv files have been integrated into a single .csv file. I take a look at the .fds and .xml input files. I think they are suitable to describe building structures such as walls or exits, but not for pedestrian agents. It is better to input pedestrian data in a table sheet.
The empty line is used to separate different table sheets.