epsilonnfa.h

来自「正则表达式由一些普通字符和一些元字符(metacharacters)组成。普通字」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef EPSILONNFA_H
#define EPSILONNFA_H

#include <iostream>
#include <stdlib.h>
#include <conio.h>
#include "Tree.h"
#include "CharClass.h"
#include "StatusEdge.h"

using namespace std;

typedef StatusBase<NfaStatusNumber, EdgeMatchContent> NfaStatusBase;
typedef NfaStatusBase::EdgeBase NfaEdgeBase;
typedef Status<NfaStatusBase, NfaEdgeBase> NfaStatus;
typedef NfaStatus::Edge NfaEdge;

class EpsilonNfa
{
public:
	NfaStatus Start;
	NfaStatus End;

	EpsilonNfa();
	EpsilonNfa(const EpsilonNfa& Object);
	void Reverse(TreeNode<CharType>* Temp_TreeNode, CharClassLink& CharLink, Set<int>& CharNumber);
	EpsilonNfa GetEpsilonNfa(TreeNode<CharType>* Temp_TreeNode, CharClassLink& CharLink);
	static void RemoveUnnessaryData();
	void Print();
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?