From 8d9a636f3ddd60c0a1b0338d1bade22ab35e99ed Mon Sep 17 00:00:00 2001 From: multmine1 Date: Mon, 28 Jul 2025 00:29:51 +0300 Subject: [PATCH] Delete dfa.hpp --- dfa.hpp | 59 --------------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 dfa.hpp diff --git a/dfa.hpp b/dfa.hpp deleted file mode 100644 index 2788036..0000000 --- a/dfa.hpp +++ /dev/null @@ -1,59 +0,0 @@ -// -// dfa.hpp -// lab2 -// -// Created by Владислав Агибалов on 19.07.2025. -// - -#ifndef dfa_hpp -#define dfa_hpp - -#include -#include "dfa_node.hpp" -#include "nfa.hpp" -#include "match.hpp" - -namespace regex { - -class dfa{ - - std::shared_ptr start_; - - std::set> all_nodes_; - - std::set> common_nodes_; - - std::set> finish_nodes_; - - static std::set getAlphabet(std::set> const&); - - std::map, std::set>> generateSets(dfa const&) const; - - std::pair, size_t>, std::vector>>> matrix_generate() const; - -public: - - dfa(); - - void dfaGenerate(nfa const&); - - void minimization(dfa const&); - - void print(std::string const &) const; - - size_t find(std::string const &, match&) const; - - dfa copy() const; - - std::string rebirth() const; - - bool operator==(const dfa&) const; - - dfa intersection(const dfa&); - -}; - - -} - -#endif /* dfa_hpp */