{"action":"created","issue":{"url":"https://api.github.com/repos/garykl/human-noise/issues/12","labels_url":"https://api.github.com/repos/garykl/human-noise/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/garykl/human-noise/issues/12/comments","events_url":"https://api.github.com/repos/garykl/human-noise/issues/12/events","html_url":"https://github.com/garykl/human-noise/issues/12","id":68505721,"number":12,"title":"saving data format","user":{"login":"garykl","id":1265616,"avatar_url":"https://avatars.githubusercontent.com/u/1265616?v=3","gravatar_id":"","url":"https://api.github.com/users/garykl","html_url":"https://github.com/garykl","followers_url":"https://api.github.com/users/garykl/followers","following_url":"https://api.github.com/users/garykl/following{/other_user}","gists_url":"https://api.github.com/users/garykl/gists{/gist_id}","starred_url":"https://api.github.com/users/garykl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garykl/subscriptions","organizations_url":"https://api.github.com/users/garykl/orgs","repos_url":"https://api.github.com/users/garykl/repos","events_url":"https://api.github.com/users/garykl/events{/privacy}","received_events_url":"https://api.github.com/users/garykl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/garykl/human-noise/labels/enhancement","name":"enhancement","color":"006b75"},{"url":"https://api.github.com/repos/garykl/human-noise/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-14T21:42:39Z","updated_at":"2015-04-14T22:04:53Z","closed_at":null,"body":"I would handle the data saving part in the following way.\r\nA reasonable time interval is chosen: this will be about the time, an agent needs to go half through its environment of perception. (cutoff radius).\r\nFor each such time step, a new file is created, that contains N lines, where N is the number of agents, and four columns. The first column is the id that is saved by the server, column two and three are the position in cartesian coordinates, and the fourth column contains the orientation angle. Alternativly, the coordinates of the velocity may be saved, if we want to have different velocities, later. Actually, I'd like to have different velocities. There may be some predators for example."},"comment":{"url":"https://api.github.com/repos/garykl/human-noise/issues/comments/93084720","html_url":"https://github.com/garykl/human-noise/issues/12#issuecomment-93084720","issue_url":"https://api.github.com/repos/garykl/human-noise/issues/12","id":93084720,"user":{"login":"garykl","id":1265616,"avatar_url":"https://avatars.githubusercontent.com/u/1265616?v=3","gravatar_id":"","url":"https://api.github.com/users/garykl","html_url":"https://github.com/garykl","followers_url":"https://api.github.com/users/garykl/followers","following_url":"https://api.github.com/users/garykl/following{/other_user}","gists_url":"https://api.github.com/users/garykl/gists{/gist_id}","starred_url":"https://api.github.com/users/garykl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garykl/subscriptions","organizations_url":"https://api.github.com/users/garykl/orgs","repos_url":"https://api.github.com/users/garykl/repos","events_url":"https://api.github.com/users/garykl/events{/privacy}","received_events_url":"https://api.github.com/users/garykl/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T22:04:53Z","updated_at":"2015-04-14T22:04:53Z","body":"@protection: You may be right. The reason for this is, that the number of players may change during the game/simulation. One could also have one file per player, but then, we would also need to save the time step.\r\n@Manfred: yes, we shouldn't save it on github. But I don't really know yet how to handle that gracefully."}}