Giter Site home page Giter Site logo

Changes to Logical classes about ariadne HOT 5 OPEN

ariadne-cps avatar ariadne-cps commented on May 26, 2024
Changes to Logical classes

from ariadne.

Comments (5)

lgeretti avatar lgeretti commented on May 26, 2024

Original comment by Pieter Collins (Bitbucket: pietercollins, GitHub: pietercollins)


I've updated the docs; hope this answers your questions.

from ariadne.

lgeretti avatar lgeretti commented on May 26, 2024

Original comment by Luca Geretti (Bitbucket: lgeretti, GitHub: lgeretti)


Some questions:

  1. The relationship between Approximate and Naive is not so clear from the doc. Does for example ApproximateKleenean relate to NaiveKleenean as ValidatedKleenean does to Kleenean?

  2. I do not understand when a method should return an Effective type rather than a Validated one.

  3. When can we neglect to specify the Effort, if we return a Validated type?

from ariadne.

lgeretti avatar lgeretti commented on May 26, 2024

Original comment by Pieter Collins (Bitbucket: pietercollins, GitHub: pietercollins)


I've made a first implementation (in working-logical) including documentation; please let me know what you think.

The implementation uses custom classes at the user level rather than templates and typedefs. However, there are some generic constructs in use here, and it may be worth seeing to what extent these can be exploited:

  • Kleenean is OrderCompletion, just as Real is an Order/MetricCompletion.
  • We have Lower/Upper classes, just as Lower/Upper, and a Negated.
  • We have a relationship between Effective, Validated and Approximate classes.

from ariadne.

lgeretti avatar lgeretti commented on May 26, 2024

Original comment by Luca Geretti (Bitbucket: lgeretti, GitHub: lgeretti)


I am favorable to a more detailed definition of the logical classes and their enforcement throughout the library. So every development towards it is welcome. In general I am against typedefs, so custom classes are ok with me. Could you use this chance to write down a strong definition of their semantics in the API docs, when you write the classes? I am still at a loss regarding their specific role within the library, and a good hint on their proper usage would be nice.

from ariadne.

lgeretti avatar lgeretti commented on May 26, 2024

What is the status of this issue?

from ariadne.

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.