Git Product home page Git Product logo

rsbdd's Introduction

Hi there ๐Ÿ‘‹

I'm Tim, an embedded software engineer from the Netherlands.

rsbdd's People

Contributors

timbeurskens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rsbdd's Issues

Error on truth-table / true-vars

When evaluating the following formula:

if exists a # a <=> b then b <=> c else false | c

The symbol.id index does not match the free_vars range.
This could be resolved by implementing a remapping function from symbol.id to an index in free_vars.
Runtime does not matter as long as the number of unique variables does not exceed the number of nodes in a BDD. The number of nodes in a BDD given n variables ranges between 2 and 2^n. This means a sub-exponential runtime for the lookup table is acceptable.

Parse-errors

Parser errors are currently formatted as debug prints of error structs.
It would be preferable to have

  1. A clear, textural representation of the parse error;
  2. The location at which the error occurred;

Hash optimization

In the current implementation, the hash (and equivalence) of a node depends on the hash of all child-nodes, making the hash computation more expensive than needed. By storing the hash (and liveliness flags) of all child nodes in the parent node, we can optimize the hash computation significantly.

Model checking

BDDs can be quite efficient in solving the model checking problem. By translating a kripke-structure to a boolean formula we can verify LTL/CTL properties on the model. The RsBDD DSL can be used as an intermediate output.

Variable ordering

Currently variable ordering is determined automatically which sometimes yields sub-optimal results.
The CLI should provide an option for customized variable ordering (e.g. by providing an ordered, comma-separated list of variables).

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.