Skip to content
forked from dreal/sreach

SReach is a Bounded Model Checker for hybrid systems with parametric uncertainty, and probabilistic hybrid automata with addtional randomness. It combines dreal/dreach and statistical analyzing methods.

License

Notifications You must be signed in to change notification settings

rachelwang/SReach

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverity Scan Build Status

SReach is a Bounded Model Checker for hybrid systems with parametric uncertainty, and probabilistic hybrid automata with addtional randomness. It combines dreal/dreach and statistical analyzing methods.

Installation

Required Packages

Compile

mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_C_COMPILER=gcc-4.9 ../src
make

We have tested them under Ubuntu 12.04, and Mac OSX v10.9.2. SReach uses the GNU Scientific Library (GSL), so you need that to be installed.

Usage

The command line is as follows:

 <testfile> <prob_drh-modelfile> <dReach> <k-unfolding_steps_for_dreach_model> <precision>

where:

  • <testfile> is a text file containing a sequence of test specifications, give the path to it
  • <prob_drh-modelfile> is the file name and path of the probabilistic extension model of the dreach model
  • <dReach> is the dReach executable, give the path to it
  • <k-unfolding_steps_for_dreach_model> is the given steps to unfold the probabilistic hybrid system
  • <precision> is the given \delta for the \delta-decision procedure dReal/dReach

For example, try the following command (the path for dReach needs to be changed):

./sreach_sq(or sreach_para) ../statistical_test/test01 \\
             ../models/bouncing_ball_with_drag.pdrh \\
             ~/Desktop/qinsiw/sreach/dreal/bin/dReach \\
             8 \\
             0.001

The final output should be the dReach output followed by something like:

BFTI 0.9 1000 1 1 0.01: Reject Null Hypothesis, successes = ??, samples = ??

To time the total CPU time, use command "time" before the command line of SReach.

For more details, the user can go to the Statistical_testing.pdf, and Usage.pdf in the documents folder.

About

SReach is a Bounded Model Checker for hybrid systems with parametric uncertainty, and probabilistic hybrid automata with addtional randomness. It combines dreal/dreach and statistical analyzing methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.9%
  • Shell 0.1%