hierarchy: Make is_recurrence() public

* NEWS: Declare it.
* spot/tl/hierarchy.cc: Remove static keyword and anonymous namespace.
* spot/tl/hierarchy.hh: Declare function.
This commit is contained in:
Alexandre GBAGUIDI AISSE 2017-07-28 10:57:25 +02:00
parent 8cf542644c
commit e59274b609
3 changed files with 30 additions and 23 deletions

View file

@ -20,9 +20,14 @@
#pragma once
#include <spot/tl/formula.hh>
#include <spot/twa/fwd.hh>
namespace spot
{
/// \brief Return true if the formula has the recurrence property.
SPOT_API
bool is_recurrence(formula f, const twa_graph_ptr& aut);
/// \brief Return the class of \a f in the temporal hierarchy of Manna
/// and Pnueli (PODC'90).
///