Skip to content

bThink-BGU/BPLivenessExecution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPLivenessExecution

Code appendix for the paper "Adding Liveness to Executable Specifications"

Note: the project was implemented and tested on Python 3.7.4

Installation

  1. Clone the project :
    git clone https://github.com/bThink-BGU/BPLivenessExecution.git
  2. Create a virtual environment and activate it:
    cd BPLivenessExecution
    python -m venv env 
    source env/bin/activate
  3. Update pip and install all dependencies:
    pip install --upgrade pip
    pip install -r requirements.txt

Usage

running trained b-programs:

  • Sokoban (for Sokoban maps 1-3):
    python run_sokoban.py 1
  • Single Lane Bridge:
    python lane_bridge_run_model.py

training b-programs:

  • Sokoban (for Sokoban maps 1-3):
    python train_sokoban.py 1
  • Single Lane Bridge:
    python lane_bridge_experiment.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published