You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1013 B
33 lines
1013 B
#ifndef STORM_PARSER_ATOMICPROPOSITIONLABELINGPARSER_H_
|
|
#define STORM_PARSER_ATOMICPROPOSITIONLABELINGPARSER_H_
|
|
|
|
#include "src/models/AtomicPropositionsLabeling.h"
|
|
#include <cstdint>
|
|
|
|
namespace storm {
|
|
namespace parser {
|
|
|
|
/*!
|
|
* This class can be used to parse a labeling file.
|
|
*
|
|
* Since the labeling is state based, the same label parser can be used for all models.
|
|
*/
|
|
class AtomicPropositionLabelingParser {
|
|
|
|
public:
|
|
|
|
/*!
|
|
* Reads a label file and puts the result in an AtomicPropositionsLabeling object.
|
|
*
|
|
* @param stateCount The number of states of the model to be labeled.
|
|
* @param filename The path and name of the labeling (.lab) file.
|
|
* @return The parsed labeling as an AtomicPropositionsLabeling object.
|
|
*/
|
|
static storm::models::AtomicPropositionsLabeling parseAtomicPropositionLabeling(uint_fast64_t stateCount, std::string const &filename);
|
|
|
|
};
|
|
|
|
} // namespace parser
|
|
} // namespace storm
|
|
|
|
#endif /* STORM_PARSER_ATOMICPROPOSITIONLABELINGPARSER_H_ */
|