12#ifndef MCRL2_DATA_XYZ_IDENTIFIER_GENERATOR_H
13#define MCRL2_DATA_XYZ_IDENTIFIER_GENERATOR_H
Term containing a string.
void add_identifiers(const std::set< core::identifier_string > &ids)
Add a set of identifiers to the context.
Identifier generator that stores the identifiers of the context in a multiset. If an identifier occur...
void add_identifier(const core::identifier_string &s) override
Adds the identifier s to the context.
std::multiset< core::identifier_string > m_identifiers
The context of the identifier generator.
Identifier generator that generates names from the range X, Y, Z, X0, Y0, Z0, X1, ....
core::identifier_string operator()(const std::string &hint, bool add_to_context=true)
Returns hint if it isn't in the context yet. Else the next available identifier in the range X,...
xyz_identifier_generator(const std::set< core::identifier_string > &ids)
Constructor.
xyz_identifier_generator()
Constructor.
int m_index
The index of the last generated identifier.
std::string next()
Returns the next name in the range X, Y, Z, X0, Y0, Z0, X1, ...
char m_char
The character of the last generated identifier.
atermpp::aterm_string identifier_string
String type of the LPS library. Identifier strings are represented internally as ATerms.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
The classes set_identifier_generator and multiset_identifier_generator.