Git Product home page Git Product logo

Comments (6)

azyzio avatar azyzio commented on July 4, 2024

How did you find it out? Through simulation or JUnitTesting?
I guess the reason for it is that Time Service is not registered for Event Bus (I don't really understand how it works), but I would like to debug it to make sure. The thing is that I haven't played with running simulations yet.

from kyoto.

Sergeus avatar Sergeus commented on July 4, 2024

Simulation. I'm working on fixing this now.

from kyoto.

Sergeus avatar Sergeus commented on July 4, 2024

I've got a temporary fix working for now that basically uses SimTime to give tick values. But the event stuff isn't cooperating, so I've sent Sam Macbeth an email asking him about it. If anyone is well-versed in event-related setup stuff and can take a look at TimeService on the testing branch, then let me know because I cannot get it to subscribe to the event bus. (I've done the stuff on the presage2.info Q&A forum, the injected setter literally just never runs for no reason whatsoever.)

from kyoto.

Sergeus avatar Sergeus commented on July 4, 2024

Interesting development with this bug. Participant environment services (like TimeService) cannot, in this version of presage2, interact with the event bus. (Explains why it was so frustratingly not working.) I'm gonna create a new TimeService that's a global environment service so it can generate events, and change our current timeService so it can relate information to agents.

from kyoto.

azyzio avatar azyzio commented on July 4, 2024

Eh... Presage...

from kyoto.

Sergeus avatar Sergeus commented on July 4, 2024

I have fixed time. See commits 1ff20b4 and e93aed5.

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.