Generic graph representations and algorithms used throughout Spot.
◆ alias_state()
template<typename Graph , typename State_Name , typename Name_Hash = std::hash<State_Name>, typename Name_Equal = std::equal_to<State_Name>>
| bool spot::named_graph< Graph, State_Name, Name_Hash, Name_Equal >::alias_state |
( |
state |
s, |
|
|
name |
newname |
|
) |
| |
|
inline |
#include <spot/graph/ngraph.hh>
Give an alternate name to a state.
- Returns
- true iff the newname state was already existing (in this case the existing newname state will be merged with state s: the newname will be unreachable and without successors.)