Git Product home page Git Product logo

Comments (3)

doganulus avatar doganulus commented on July 29, 2024

The parser needs -pthread option when linking on some platforms including Ubuntu.

Otherwise unittests are working for me. Could you run them with make test and report the outcome in any case?

from reelay.

clementber avatar clementber commented on July 29, 2024

I run the unittests and they works fine. So I got through them and looked at the one about the quantifiers operators and it seems a data_manager need to be set in the monitor's options to be able to parse the formula. I don't think it's told in the documentation, but I might have missed it... ^^'

The code of my first message can be fixed by adding :

  auto manager = std::make_shared<reelay::binding_manager>();
  auto options = reelay::dense_timed<time_t>::monitor<
      input_type, output_type>::options().with_data_manager(manager);

I haven't check if the generated monitor run fine yet. But, I would advise to check in the methods make_monitor of monitor.hpp if there is a data_manager set in opt when references are detected. If not, then print an error message advising to set it with the method with_data_manager(). This might help other people that forgot to set it to understand what is happening.

To solve it in ryjson1, a simple (naive?) way might simply be to always set a data_manager in the option of the monitor. However, I guess that it might have drawback on the performances when it's not needed. If so, maybe add a flag option to trigger it when needed or detect in the formula if a data_manager is needed with a first parsing step.

Sorry to have bother you with this, and thanks for your quick answer :-)

from reelay.

clementber avatar clementber commented on July 29, 2024

After further tests, the monitor seems to work correctly. I noticed that the method update of monitor using a quantifier operator return null instead of [ ] when the truth value remain the same. It should maybe be unified to avoid unexpected errors.

from reelay.

Related Issues (13)

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.