remove is_alternating() methods
Those were deprecated more than 3 years ago. * spot/graph/graph.hh, spot/twa/twagraph.hh: Here. * NEWS: Mention the change.
This commit is contained in:
parent
682ec77b0b
commit
a434778fba
3 changed files with 6 additions and 26 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2014-2018 Laboratoire de Recherche et
|
||||
// Copyright (C) 2014-2018, 2020 Laboratoire de Recherche et
|
||||
// Développement de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -661,18 +661,6 @@ namespace spot
|
|||
return dests_.empty();
|
||||
}
|
||||
|
||||
#ifndef SWIG
|
||||
/// \brief Whether the automaton has universal branching
|
||||
///
|
||||
/// The name of this function is confusing since non-deterministic
|
||||
/// automata should be a subclass of alternating automata.
|
||||
SPOT_DEPRECATED("use !is_existential() instead")
|
||||
bool is_alternating() const
|
||||
{
|
||||
return !is_existential();
|
||||
}
|
||||
#endif
|
||||
|
||||
/// \brief Create a new states
|
||||
///
|
||||
/// All arguments are forwarded to the State_Data constructor.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2014-2019 Laboratoire de Recherche et Développement de l'Epita.
|
||||
// Copyright (C) 2014-2020 Laboratoire de Recherche et Développement
|
||||
// de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -510,18 +511,6 @@ namespace spot
|
|||
return g_.is_existential();
|
||||
}
|
||||
|
||||
#ifndef SWIG
|
||||
/// \brief Whether the automaton has universal branching
|
||||
///
|
||||
/// The name of this function is confusing since non-deterministic
|
||||
/// automata should be a subclass of alternating automata.
|
||||
SPOT_DEPRECATED("use !is_existential() instead")
|
||||
bool is_alternating() const
|
||||
{
|
||||
return !is_existential();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SWIG
|
||||
auto states() const
|
||||
SPOT_RETURN(g_.states());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue