Skip to content
Snippets Groups Projects
Commit 8e288773 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

optimize includes

parent a8554a96
No related branches found
No related tags found
No related merge requests found
Pipeline #
Showing
with 18 additions and 49 deletions
......@@ -8,7 +8,7 @@
#ifndef USELESS_STATES_REMOVER_H_
#define USELESS_STATES_REMOVER_H_
 
#include "../properties/UsefullStates.h"
#include <automaton/properties/UsefullStates.h>
 
#include <automaton/FSM/ExtendedNFA.h>
#include <automaton/FSM/CompactNFA.h>
......
......@@ -11,8 +11,8 @@
#include <stack>
#include <tuple>
 
#include "automaton/AutomatonFeatures.h"
#include <automaton/FSM/CompactNFA.h>
#include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h>
 
namespace automaton {
......
......@@ -15,8 +15,6 @@
#include <alphabet/BottomOfTheStackSymbol.h>
 
#include <set>
#include <map>
#include <queue>
#include <iterator>
#include <label/InitialStateLabel.h>
#include <common/createUnique.hpp>
......
......@@ -8,10 +8,6 @@
#ifndef PDA_TO_RHPDA_H_
#define PDA_TO_RHPDA_H_
 
#include <algorithm>
#include <deque>
#include <set>
#include "automaton/AutomatonFeatures.h"
 
namespace automaton {
......
......@@ -17,7 +17,6 @@
 
#include <set>
#include <map>
#include <queue>
#include <iostream>
 
#include <registration/CastRegistration.hpp>
......
......@@ -8,10 +8,6 @@
#ifndef RHPDA_TO_PDA_H_
#define RHPDA_TO_PDA_H_
 
#include <algorithm>
#include <deque>
#include <set>
#include "automaton/AutomatonFeatures.h"
 
namespace automaton {
......
......@@ -8,9 +8,6 @@
#ifndef REVERSE_H_
#define REVERSE_H_
 
#include <vector>
#include <algorithm>
#include <automaton/FSM/MultiInitialStateNFA.h>
#include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h>
......
......@@ -8,7 +8,6 @@
#ifndef GRAMMAR_RANDOMIZE_H_
#define GRAMMAR_RANDOMIZE_H_
 
#include <grammar/Grammar.h>
#include <grammar/Regular/LeftLG.h>
#include <grammar/Regular/LeftRG.h>
#include <grammar/Regular/RightLG.h>
......
......@@ -23,7 +23,7 @@
#include <grammar/Regular/RightLG.h>
#include <grammar/Regular/RightRG.h>
 
#include "../properties/NullableNonterminals.h"
#include <grammar/properties/NullableNonterminals.h>
 
namespace grammar {
 
......
......@@ -8,11 +8,7 @@
#include "Rename.h"
 
#include <algorithm>
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <vector>
 
#include <hexavigesimal>
......
......@@ -8,9 +8,6 @@
#ifndef TO_CNF_H_
#define TO_CNF_H_
 
#include <map>
#include <algorithm>
#include <grammar/ContextFree/CFG.h>
#include <grammar/ContextFree/EpsilonFreeCFG.h>
#include <grammar/ContextFree/CNF.h>
......
......@@ -9,15 +9,14 @@
 
#include <set>
#include <deque>
#include <queue>
#include <vector>
#include <hexavigesimal>
 
#include <string/LinearString.h>
#include <hexavigesimal>
 
#include "../transform/RegExpDerivation.h"
#include "../simplify/RegExpOptimize.h"
#include "../properties/RegExpEpsilon.h"
#include <regexp/transform/RegExpDerivation.h>
#include <regexp/simplify/RegExpOptimize.h>
#include <regexp/properties/RegExpEpsilon.h>
#include <registration/AlgoRegistration.hpp>
 
namespace regexp {
......
......@@ -16,7 +16,7 @@
#include "../glushkov/GlushkovIndexate.h"
#include "../glushkov/GlushkovLast.h"
 
#include "../properties/RegExpEpsilon.h"
#include <regexp/properties/RegExpEpsilon.h>
#include <exception/CommonException.h>
#include <registration/AlgoRegistration.hpp>
 
......
......@@ -8,8 +8,6 @@
#ifndef TO_AUTOMATON_GLUSHKOV_H_
#define TO_AUTOMATON_GLUSHKOV_H_
 
#include <map>
#include <automaton/FSM/NFA.h>
#include <regexp/formal/FormalRegExp.h>
#include <regexp/unbounded/UnboundedRegExp.h>
......
......@@ -5,9 +5,8 @@
* Author: Tomas Pecka
*/
#include "ToAutomatonThompson.h"
#include "regexp/unbounded/UnboundedRegExpElements.h"
#include "regexp/formal/FormalRegExpElements.h"
#include <tuple>
#include <regexp/unbounded/UnboundedRegExpElements.h>
#include <regexp/formal/FormalRegExpElements.h>
#include <registration/AlgoRegistration.hpp>
 
namespace regexp {
......
......@@ -9,15 +9,14 @@
 
#include <set>
#include <deque>
#include <set>
#include <vector>
#include <hexavigesimal>
#include <common/createUnique.hpp>
 
#include "../simplify/RegExpOptimize.h"
#include "../transform/RegExpDerivation.h"
#include "../properties/RegExpEpsilon.h"
#include <regexp/simplify/RegExpOptimize.h>
#include <regexp/transform/RegExpDerivation.h>
#include <regexp/properties/RegExpEpsilon.h>
#include <registration/AlgoRegistration.hpp>
 
namespace regexp {
......
......@@ -16,10 +16,12 @@
#include "../glushkov/GlushkovFirst.h"
#include "../glushkov/GlushkovLast.h"
 
#include "../properties/RegExpEpsilon.h"
#include <regexp/properties/RegExpEpsilon.h>
#include <exception/CommonException.h>
#include <registration/AlgoRegistration.hpp>
 
#include <container/ObjectsPair.h>
namespace regexp {
 
namespace convert {
......
......@@ -19,8 +19,6 @@
#include <regexp/unbounded/UnboundedRegExpIteration.h>
#include <regexp/unbounded/UnboundedRegExpSymbol.h>
 
#include <container/ObjectsPair.h>
namespace regexp {
 
/**
......
......@@ -9,7 +9,6 @@
#define REGEXPOPTIMIZE_H_
 
#include <algorithm>
#include <functional>
#include <iterator>
 
#include <regexp/unbounded/UnboundedRegExp.h>
......
......@@ -8,15 +8,12 @@
#ifndef TO_POSTFIX_PUSHDOWN_AUTOMATON_GLUSHKOV_H_
#define TO_POSTFIX_PUSHDOWN_AUTOMATON_GLUSHKOV_H_
 
#include <map>
#include <automaton/PDA/NPDA.h>
 
#include <rte/formal/FormalRTE.h>
 
#include <container/ObjectsSet.h>
#include <variant>
#include <set>
 
namespace rte {
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment