Coder Social home page Coder Social logo

fdh's Introduction

FDH - FDQ Health package

This package contains only the integration/e2e tests for both fdo and fdp.

See fdq for details.

FDO

fdo is a brute force finite domain constraint solver.

FDP

fdp is a finite domain constraint problem reduction system.

Shared tests

Since FDP should be sound when reducing a problem, it must mean FDO should have the same result with and without FDP. So we can run the same test suite on both packages. In theory FDP should be slightly faster though that won't likely be the case on small or even medium problems (but the performance cliff is steep and wild).

The tests have cultivated in two separated repositories for a long time before being merged. Work is still done to merge and dedupe these.

Unit tests or tests for a specific package should still go in their respectful packages test dirs.

FDV - FD Verifier

The tests mostly rely on a basic verifier which takes an input problem and line-by-line asserts the constraint in each line to the result of the test. This verifier is limited in that it it's (currently) incapable of asserting "complex" constraints. This would be constraints that use grouping, nesting, or anything beyond a single constraint per line in the A @ B, R = A @ B, R = call?(args), R = call(args), and call(args) forms. You can have the verifier skip the actual assertion part so it should be fine.

Usage

See the fdo and fdp packages for details.

DSL

The constraint language is custom and described in the docs of fdq.

fdh's People

Contributors

pvdz avatar

Watchers

James Cloos avatar

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.