Writing Data to a Text File


Sometimes,  I want to load the same set of turtles and data to my model. To keep it handy for me, I created the writeData procedure which takes the who number of all turtles, locations and the who number of its linked neighbors. 

I find this very helpful whenever I need to select from the random networks generated. The content of the text file may need some processing though if it should be used as an input to a model.


Share on Google Plus

About SSabal

:)
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment