Git Product home page Git Product logo

Comments (9)

webbo89 avatar webbo89 commented on July 24, 2024

This sounds ideal to me - i've written a provisional wiki on the KyotoUI page of what we'd find useful and tried my best to closely match the functionality of AbstractCountry.

https://github.com/kyotoprotocol/KyotoUI/wiki/SimulationOutput

Thoughts/Suggestions welcome of course!

from kyoto.

farhanrahman avatar farhanrahman commented on July 24, 2024

I realised that Presage provides API for individual agents to store their data. It will appear in agents collection in the mongodb i think. So the way to solve this would be to add functions in AbstractCountry that sets properties every tick or year i.e. dumps the countries data into mongo. These values will be the true values that countries have every tick. I think this should be added after the behaviour() function is called.

from kyoto.

oliviervg1 avatar oliviervg1 commented on July 24, 2024

Sounds good to me. Do you have time to do it Farhan ? Otherwise, I don't mind doing it.

from kyoto.

farhanrahman avatar farhanrahman commented on July 24, 2024

Hey Olivier...i don't think I can do it now as in I can do it in the evening/at night. I can finish it by today though..

from kyoto.

oliviervg1 avatar oliviervg1 commented on July 24, 2024

Ok: here is some initial stuff adb59eb

I don't have time tonight to continue, so could you have a look at it Farhan?

Thanks

from kyoto.

farhanrahman avatar farhanrahman commented on July 24, 2024

Awesome man!! Mbut i was thinking if we could keep a history of data i.e. maps getting updated and so when we store we just do setproperty("dave",blah map)..should be good...because currently only stuff will get overwritten so we will only have the last tick's data..

from kyoto.

farhanrahman avatar farhanrahman commented on July 24, 2024

Cheers man..i will finish it off...

from kyoto.

oliviervg1 avatar oliviervg1 commented on July 24, 2024

Damn I didn't know it overwrote the data every tick. That doesn't make a lot of sense to be honest...

On 17 Jun 2012, at 19:29, "Farhan Rahman" [email protected] wrote:

Cheers man..i will finish it off...


Reply to this email directly or view it on GitHub:
#44 (comment)

from kyoto.

farhanrahman avatar farhanrahman commented on July 24, 2024

Added the dumping facility. However the onSimulationComplete() function is no longer called now. I am closing this issue as the functionality is there. Its just an issue with Presage i guess....

from kyoto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.