Blame view

morfeusz/segrules/segrules.hpp 742 Bytes
Michał Lenart authored
1
2
3
4
5
6
7
8
9
10
/* 
 * File:   segrules.hpp
 * Author: mlenart
 *
 * Created on 25 luty 2014, 16:35
 */

#ifndef SEGRULES_HPP
#define	SEGRULES_HPP
Michał Lenart authored
11
12
13
#include <utility>
#include <map>
#include <string>
Michał Lenart authored
14
#include "SegrulesFSA.hpp"
Michał Lenart authored
15
Michał Lenart authored
16
typedef std::map<std::string, std::string> SegrulesOptions;
Michał Lenart authored
17
18
//typedef State<unsigned char> SegrulesStateType;
//typedef FSA<unsigned char> SegrulesFSAType;
Michał Lenart authored
19
Michał Lenart authored
20
std::map<SegrulesOptions, SegrulesFSA*> createSegrulesFSAsMap(const unsigned char* analyzerPtr);
Michał Lenart authored
21
22
23
SegrulesOptions getDefaultSegrulesOptions(const unsigned char* ptr);
SegrulesFSA* getDefaultSegrulesFSA(const map<SegrulesOptions, SegrulesFSA*>& map, const unsigned char* analyzerPtr);
void debugMap(const map<SegrulesOptions, SegrulesFSA*>& res);
Michał Lenart authored
24
25
26

#endif	/* SEGRULES_HPP */