acsicuib / YAFS

Yet Another Fog Simulator (YAFS)
MIT License
98 stars 72 forks source link

Output the data of the latest tutorial_scenarios #46

Closed subwayi closed 3 years ago

subwayi commented 3 years ago

Hi @wisaaco ,

I can successfully process the tutorial_scenarios which is the latest version. I would like to output the data within .csv file. (there is no data in .cvs file now) Could I change ONLY the parameter in .json file? ( allocDefinition.json / appDefinition.json / usersDefinition.json ) Or anything else can I do?
Can you give me some advice for this?

Thank you.

wisaaco commented 3 years ago

If the simulation finishes right, you should get the network and computation traces in two CSV files. Please check that the simulation finishes right. The jsons allow you to modify the topology, the initial deployment of applications and users, but you can also do it by code. If you need more complex modelling then the json are not enough. Best

subwayi commented 3 years ago

Hi @wisaaco ,

Thanks for the your detailed and clear information. Since there are four CSV files in the folder, I thought that I might miss something before. There are data within those two traces CSV files, the simulation was finished pretty good. The json format could present the parameter in good order, I like that.

Thank you!