Browse Source

hoa-for-prism scripts for Rabinizer3.1

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10294 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 11 years ago
parent
commit
f3611c33ed
  1. 17
      prism/etc/scripts/hoa/hoa-rabinizer3.1-dgra-for-prism
  2. 17
      prism/etc/scripts/hoa/hoa-rabinizer3.1-dra-for-prism
  3. 17
      prism/etc/scripts/hoa/hoa-rabinizer3.1-tdgra-for-prism
  4. 17
      prism/etc/scripts/hoa/hoa-rabinizer3.1-tdra-for-prism

17
prism/etc/scripts/hoa/hoa-rabinizer3.1-dgra-for-prism

@ -0,0 +1,17 @@
#! /bin/bash
# Interface wrapper for calling Rabinizer3.1 (state-based DGRA)
# Invoke from PRISM with
# -ltl2datool hoa-rabinizer3.1-dra-for-prism -ltl2dasyntax rabinizer
#
# Expects the rabinizer.jar file of Rabinizer3.1 in the current directory, otherwise
# specify its location using
# export RABINIZER31=path/to/rabinizer.jar
# Take location of the jar file from RABINIZER3 environment variable
# Otherwise, default to current directory
RABINIZER31_JAR=${RABINIZER31-./rabinizer.jar}
# -format=hoa = output HOA
# -auto=sgr = output state-based generalized Rabin
java -jar $RABINIZER31_JAR -format=hoa -auto=sgr -in=file -out=file "$1" && mv "$1.hoa" "$2"

17
prism/etc/scripts/hoa/hoa-rabinizer3.1-dra-for-prism

@ -0,0 +1,17 @@
#! /bin/bash
# Interface wrapper for calling Rabinizer3.1 (state-based DRA)
# Invoke from PRISM with
# -ltl2datool hoa-rabinizer3.1-dra-for-prism -ltl2dasyntax rabinizer
#
# Expects the rabinizer.jar file of Rabinizer3.1 in the current directory, otherwise
# specify its location using
# export RABINIZER31=path/to/rabinizer.jar
# Take location of the jar file from RABINIZER3 environment variable
# Otherwise, default to current directory
RABINIZER31_JAR=${RABINIZER31-./rabinizer.jar}
# -format=hoa = output HOA
# -auto=sr = output state-based Rabin
java -jar $RABINIZER31_JAR -format=hoa -auto=sr -in=file -out=file "$1" && mv "$1.hoa" "$2"

17
prism/etc/scripts/hoa/hoa-rabinizer3.1-tdgra-for-prism

@ -0,0 +1,17 @@
#! /bin/bash
# Interface wrapper for calling Rabinizer3.1 (transition-based DGRA)
# Invoke from PRISM with
# -ltl2datool hoa-rabinizer3.1-tdgra-for-prism -ltl2dasyntax rabinizer
#
# Expects the rabinizer.jar file of Rabinizer3.1 in the current directory, otherwise
# specify its location using
# export RABINIZER31=path/to/rabinizer.jar
# Take location of the jar file from RABINIZER3 environment variable
# Otherwise, default to current directory
RABINIZER31_JAR=${RABINIZER31-./rabinizer.jar}
# -format=hoa = output HOA
# -auto=tgr = output transition-based DGRA
java -jar $RABINIZER31_JAR -format=hoa -auto=tgr -in=file -out=file "$1" && mv "$1.hoa" "$2"

17
prism/etc/scripts/hoa/hoa-rabinizer3.1-tdra-for-prism

@ -0,0 +1,17 @@
#! /bin/bash
# Interface wrapper for calling Rabinizer3.1 (transition-based DRA)
# Invoke from PRISM with
# -ltl2datool hoa-rabinizer3.1-tdra-for-prism -ltl2dasyntax rabinizer
#
# Expects the rabinizer.jar file of Rabinizer3.1 in the current directory, otherwise
# specify its location using
# export RABINIZER31=path/to/rabinizer.jar
# Take location of the jar file from RABINIZER3 environment variable
# Otherwise, default to current directory
RABINIZER31_JAR=${RABINIZER31-./rabinizer.jar}
# -format=hoa = output HOA
# -auto=tr = output transition-based Rabin
java -jar $RABINIZER31_JAR -format=hoa -auto=tr -in=file -out=file "$1" && mv "$1.hoa" "$2"
Loading…
Cancel
Save