opt_dest formula_or_ident
%type transition src_dest
%type transitions transition_block
%type ident_list
@@ -193,7 +193,9 @@ transitions:
}
-formula: FORMULA
+formula_or_ident: FORMULA | IDENT
+
+formula: formula_or_ident
{
formula_cache::const_iterator i = fcache.find(*$1);
if (i == fcache.end())
diff --git a/src/tgbaalgos/Makefile.am b/src/tgbaalgos/Makefile.am
index b482660f2..e31120b86 100644
--- a/src/tgbaalgos/Makefile.am
+++ b/src/tgbaalgos/Makefile.am
@@ -42,6 +42,7 @@ tgbaalgos_HEADERS = \
emptiness.hh \
emptiness_stats.hh \
gv04.hh \
+ hoaf.hh \
isdet.hh \
isweakscc.hh \
lbtt.hh \
@@ -87,6 +88,7 @@ libtgbaalgos_la_SOURCES = \
dupexp.cc \
emptiness.cc \
gv04.cc \
+ hoaf.cc \
isdet.cc \
isweakscc.cc \
lbtt.cc \
diff --git a/src/tgbaalgos/hoaf.cc b/src/tgbaalgos/hoaf.cc
new file mode 100644
index 000000000..9417bbc83
--- /dev/null
+++ b/src/tgbaalgos/hoaf.cc
@@ -0,0 +1,364 @@
+// -*- coding: utf-8 -*-
+// Copyright (C) 2011, 2012, 2014 Laboratoire de Recherche et
+// Developpement de l'Epita (LRDE).
+// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
+// département Systèmes Répartis Coopératifs (SRC), Université Pierre
+// et Marie Curie.
+//
+// This file is part of Spot, a model checking library.
+//
+// Spot is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// Spot is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+#include
+#include
+#include