* src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh: New files.

* src/ltlvisit/Makefile.am (ltlvisit_HEADERS,
libltlvisit_la_SOURCES): Distribute them.
* src/ltltest/randltl.cc: New file.
* src/ltltest/Makefile.am (LDADD): Link with ../libspot.la directly.
(noinst_PROGRAMS, randltl_SOURCES): New.
(EXTRA_DIST, CLEANFILES): The list of random formulae is now generated.
* src/ltltest/formulae.txt: Delete.
* src/ltltest/reduc.test: Use randltl to generate formulae.
* src/ltlvisit/length.cc (length_visitor): Fix computation
of the length of multops.
* src/ltlvisit/length.hh (length): Document the length of multops.
This commit is contained in:
Alexandre Duret-Lutz 2005-01-05 16:20:21 +00:00
parent 7216701631
commit e366b081a8
10 changed files with 573 additions and 2214 deletions

View file

@ -1,4 +1,4 @@
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
@ -33,7 +33,10 @@ namespace spot
///
/// The length of a formula is the number of atomic properties,
/// constants, and operators (logical and temporal) occurring in
/// the formula.
/// the formula. spot::ltl::multops count only for 1, even if
/// they have more than two operands (e.g. <code>a | b | c</code>
/// has length 4, because <code>|</code> is represented once
/// internally).
int length(const formula* f);
}
}