No description
Find a file
Alexandre Duret-Lutz 15b3b9e07d Number states using negative values and SCCs using nonnegative
values.

Before this change states were numbered using positive values and
SCCs using negative values.  That meant the user had to work with
negative values.  With this changes, the nonnegative values used
to label SCCs can also directly be used as index in the scc_map_.

* src/tgbaalgos/scc.hh (scc_map::scc_of_state,
scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of,
scc_map::initial, scc_map::scc_type, scc_map::succ,
scc_map::accepting): Adjust prototypes to take or return unsigned
arguments.
* src/tgbaalgos/scc.cc: Adjust prototypes of the above functions.
(scc_map::build_map, scc_map::relabel_component): Number states
using negative values, and SCCs using nonnegative values.
(dump_scc_dot): Adjust to use nonnegative values.
2009-05-28 18:42:18 +02:00
bench Add missing bench/gspn-ssp/README file to the repository 2008-12-02 11:31:58 +01:00
buddy * src/bddtest.cxx: Include <cstdlib> to compile with g++-4.3. 2008-03-14 16:59:40 +01:00
doc Add .gitignore files 2008-03-14 16:59:32 +01:00
iface more files to ignore 2008-08-26 14:19:59 +02:00
lbtt Update to LBTT 1.2.1 2008-04-10 10:20:40 +02:00
m4 Add support for ELTL (AST & parser), and an adaptation of LaCIM 2009-03-26 12:05:08 +01:00
src Number states using negative values and SCCs using nonnegative 2009-05-28 18:42:18 +02:00
tools Add .gitignore files 2008-03-14 16:59:32 +01:00
wrap Also revert b28d7ba804 as it was a follow-up to Damien's work. 2009-03-25 17:26:44 +01:00
.cvsignore * m4/pypath.m4: New file. 2003-04-30 12:35:22 +00:00
.gitignore Update to compile with the Intel compiler. 2008-12-18 23:41:10 +01:00
AUTHORS * AUTHORS: Update. 2004-05-25 12:58:13 +00:00
ChangeLog Number states using negative values and SCCs using nonnegative 2009-05-28 18:42:18 +02:00
configure.ac Add support for ELTL (AST & parser), and an adaptation of LaCIM 2009-03-26 12:05:08 +01:00
COPYING * COPYING: New file. 2003-11-21 15:54:25 +00:00
HACKING Update parsers to work with Bison 2.4.1. 2009-03-25 17:26:44 +01:00
INSTALL * NEWS, configure.in: Bump version to 0.4. 2008-02-25 14:37:53 +01:00
lrde-upload.sh Ahem... Pass the -R option to the right chmod. 2008-02-25 14:37:54 +01:00
Makefile.am * src/tgbaalgos/emptiness_stats.hh: Make sure depth() >= 0. 2005-01-28 23:55:33 +00:00
NEWS * NEWS, configure.in: Bump version to 0.4a. 2008-02-25 14:37:54 +01:00
README Extend the ELTL parser to support basic aliases of automaton 2009-04-04 22:35:23 +02:00
THANKS * THANKS: Fill in. 2004-07-09 13:06:33 +00:00

Installation
============

Requirements
------------

Spot requires a complete installation of Python (version 2.0 or
later).  Especially, Python's headers files should be installed.

Spot also uses modified versions of BuDDy (a binary decision diagram),
and LBTT (an LTL to Büchi test bench).  You do not need to install
these yourself, they are included in this package (directories buddy/
and lbtt/), and will built and installed alongside of Spot.


Building and installing
-----------------------

Spot follows the traditional `./configure && make && make check &&
make install' process.  People unfamiliar with the GNU Build System
should read the file INSTALL for generic instructions.

In additions to its usual options, ./configure will accept some
flags specific to Spot:

  --with-gspn=DIR
    Turns on GreatSPN support.  DIR should designate the root of
    GreatSPN source tree.  (./configure will then run
    DIR/SOURCES/contrib/version.sh to find the GreatSPN build tree.)

    GreatSPN had to be modified in order to be used as a library
    (thanks Soheib Baarir and Yann Thierry-Mieg for this work), and
    presently these modifications are only available on the GreatSPN
    CVS repository hosted by the Università di Torino.

  --with-included-buddy
  --with-included-lbtt
    After you have installed Spot the first time, LBTT and a modified
    version of BuDDy will be installed.  The next time you reconfigure
    Spot, configure will detect that these versions are already
    installed, and will attempt to use these installed versions
    directly (this is in case you had to modify one of these yourself
    for another purpose).  These two options will *force* the use,
    build, and installation of the included versions of these package,
    even when compatible versions are already installed.

  --enable-devel
    Enable debugging symbols, turn off aggressive optimizations, and
    turn on assertions.  This option is effective by default in
    development versions (version numbers ending with a letter).
    It is equivalent to
      --enable-debug
      --enable-warnings
      --enable-assert
      --enable-optimizations=-O
  --disable-devel
    Disable development options.  This is the case by default in
    releases (version numbers NOT ending with a letter).
    It is equivalent to
      --disable-debug
      --disable-warnings
      --disable-assert
      --enable-optimizations

Here are the meaning of the fine-tuning options, in case
enable/disable-devel is not enough.

  --disable-assert
  --enable-assert
    Control assertion checking.

  --disable-warnings
  --enable-warnings
    Whether warnings should be output.  Note that during development
    we consider warnings to be errors.

  --disable-debug
  --enable-debug
    Whether to compile extra debugging code.

  --enable-optimizations
  --enable-optimizations=FLAGS
  --disable-optimizations
    Whether the compilation should be optimized.  When FLAGS are
    given, use these as optimization flags.  Otherwise, pick working
    flags from a built-in list.


Layout of the source tree
=========================

Core directories
----------------

src/            Sources for libspot.
   ltlast/      LTL abstract syntax tree (including nodes for ELTL).
   ltlenv/      LTL environments.
   ltlparse/    Parser for LTL formulae.
   ltlvisit/    Visitors of LTL formulae.
   ltltest/     Tests for ltlast/, ltlenv/, ltlparse/, and ltlvisit/.
   misc/        Miscellaneous support files.
   tgba/        TGBA objects and cousins.
   tgbaalgos/   Algorithms on TGBA.
      gtec/     Couvreur's Emptiness-Check.
   tgbaparse/   Parser for explicit TGBA.
   tgbatest/    Tests for tgba/, tgbaalgos/, and tgbaparse/.
   evtgba*/     Ignore these for now.
   eltlparse/	Parser for ELTL formulae.
   eltltest/    Tests for ELTL nodes in ltlast/ and eltlparse/.
doc/	        Documentation for libspot.
   spot.html/   HTML reference manual.
   spot.latex/  Sources for the PDF manual.  (Not distributed, can be rebuilt.)
   spotref.pdf  PDF reference manual.
bench/          Benchmarks...
   emptchk/     ... for emptiness-check algorithms,
   ltl2tgba/    ... for LTL-to-Büchi translation algorithms.
wrap/	        Wrappers for other languages.
   python/      Python bindings for Spot and BuDDy
      tests/    Tests for these bindings
      cgi/      Python-based CGI script (ltl-to-tgba translator)
iface/	        Interfaces to other libraries.
   gspn/        GreatSPN interface.
      examples/ Supporting models used by the test cases.


Third party software
--------------------

buddy/   A patched version of BuDDy 2.3 (a BDD library).
lbtt/    lbtt 1.2.0 (an LTL to Büchi automata test bench).


Build-system stuff
------------------

m4/      M4 macros used by configure.ac.
tools/   Helper scripts used during the build.

-------------------------------------------------------------------------------
Local Variables:
mode: text
End:

 LocalWords:  Python's BuDDy LBTT LTL Büchi lbtt gspn DIR GreatSPN Soheib Yann
 LocalWords:  Baarir Thierry Mieg CVS Università di Torino devel src libspot ac
 LocalWords:  ltlast ltlenv ltlparse ltlvisit ltltest misc tgba TGBA tgbaalgos
 LocalWords:  gtec Tarjan tgbaparse tgbatest doc html PDF spotref pdf cgi
 LocalWords:  CGI ltl iface BDD Couvreur's evtgba emptchk