Skip to content

YunqingSun0-0/ppsat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

artifact

Installation

Install dependency

Install cmake:

sudo apt install cmake

Install gtest:

sudo apt install libgtest-dev
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
sudo cp ./lib/*.a /usr/lib

Install emp:

wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
python install.py --deps --tool --ot --sh2pc

Compile

cmake .
make

Run

Evaluate solver on one step:

src/ppsat 1 12345  $nvar $nstep $phi # run this in one terminal
src/ppsat 2 12345  $nvar $nstep $phi # run this in another terminal
$nvar: the number of variables of the formulae
$nstep: the maximum number of giant steps that the solver will run. 
$phi: the string of the input formula. The syntax of the formula is the (\(-? [0-9]+\))+

About

code for privacy-preserving sat solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 70.7%
  • C 22.0%
  • Python 4.6%
  • C++ 2.0%
  • Shell 0.4%
  • Makefile 0.2%
  • CMake 0.1%