Giter VIP home page Giter VIP logo

sharpasp's Introduction

sharpASP

sharpASP - Exact ASP Counting with Compact Encodings

Requirement

  • GMPlib

Clone

Clone the repository including all the submodules via

git clone --recursive [email protected]/meelgroup/sharpASP.git

Build

To build sharpASP(D4):

cd d4
make 

To build sharpASP(ganak):

cd ganak-asp && cd script
./build_norm.sh

To build sharpASP(sharpsat-td):

cd sharpsat-td
./setupdev.sh

Input CNF Files

The input CNFs are available here. The CNFs are in completion + copy format. The CNFs can be used as SharpASP input file without any processing.

Quick Run of sharpASP

We run our experiment in linux system

Make sure that the complied binaries of D4, sharpSAT-TD, ganak, and flow_cutter_pace17 exist in the current directory

Run sharpASP(GANAK) using the following command (with input: asp_normalized-hamiltonian_cycle.random-graph-20-4-16.zip.lp.cnf): The input file contains Completion & Copy of program

./ganak -noPCC -cs 4000 -noIBCP asp_normalized-hamiltonian_cycle.random-graph-20-4-16.zip.lp.cnf

Run sharpASP(sharpSAT-TD) using the following command:

./sharpSAT -decot 100 -decow 100 -tmpdir . -cs 4000 CNF/asp_normalized-hamiltonian_cycle.random-graph-20-4-16.zip.lp.cnf

Run sharpASP(D4) using the following command:

./d4 -pv=NO -mc CNF/asp_normalized-hamiltonian_cycle.random-graph-20-4-16.zip.lp.cnf

Experimental Log files

The experimental log files are available here.

sharpasp's People

Contributors

mahi045 avatar

Stargazers

 avatar

Watchers

Kuldeep S. Meel avatar  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.