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 25 additions and 43 deletions
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#include <set> #include <set>
#include <map> #include <map>
   
#include <common/ranked_symbol.hpp>
#include <tree/properties/BadCharacterShiftTable.h> #include <tree/properties/BadCharacterShiftTable.h>
#include <tree/properties/SubtreeJumpTable.h> #include <tree/properties/SubtreeJumpTable.h>
#include <tree/properties/ExactSubtreeRepeatsNaive.h> #include <tree/properties/ExactSubtreeRepeatsNaive.h>
...@@ -18,7 +20,6 @@ ...@@ -18,7 +20,6 @@
#include <tree/ranked/PrefixRankedBarTree.h> #include <tree/ranked/PrefixRankedBarTree.h>
#include <tree/ranked/PrefixRankedBarPattern.h> #include <tree/ranked/PrefixRankedBarPattern.h>
#include <tree/ranked/PrefixRankedBarNonlinearPattern.h> #include <tree/ranked/PrefixRankedBarNonlinearPattern.h>
#include <alphabet/RankedSymbol.h>
   
namespace arbology { namespace arbology {
   
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
   
#include <set> #include <set>
#include <vector> #include <vector>
#include <alphabet/RankedSymbol.h> #include <map>
#include <common/ranked_symbol.hpp>
   
#include <tree/properties/ReversedBadCharacterShiftTable.h> #include <tree/properties/ReversedBadCharacterShiftTable.h>
#include <tree/properties/BorderArrayNaive.h> #include <tree/properties/BorderArrayNaive.h>
...@@ -20,9 +22,6 @@ ...@@ -20,9 +22,6 @@
#include <tree/ranked/PrefixRankedBarPattern.h> #include <tree/ranked/PrefixRankedBarPattern.h>
#include <tree/ranked/PrefixRankedTree.h> #include <tree/ranked/PrefixRankedTree.h>
#include <tree/ranked/PrefixRankedPattern.h> #include <tree/ranked/PrefixRankedPattern.h>
#include <alphabet/RankedSymbol.h>
#include <map>
   
namespace arbology { namespace arbology {
   
......
...@@ -8,20 +8,17 @@ ...@@ -8,20 +8,17 @@
#ifndef _EXACT_NONLINEAR_TREE_PATTERN_AUTOMATON_H__ #ifndef _EXACT_NONLINEAR_TREE_PATTERN_AUTOMATON_H__
#define _EXACT_NONLINEAR_TREE_PATTERN_AUTOMATON_H__ #define _EXACT_NONLINEAR_TREE_PATTERN_AUTOMATON_H__
   
#include <primitive/Unsigned.h> #include <pair>
#include <primitive/Character.h> #include <deque>
#include <container/ObjectsPair.h> #include <vector>
   
#include <alphabet/RankedSymbol.h> #include <common/ranked_symbol.hpp>
   
#include <tree/ranked/PrefixRankedTree.h> #include <tree/ranked/PrefixRankedTree.h>
#include <automaton/PDA/InputDrivenNPDA.h> #include <automaton/PDA/InputDrivenNPDA.h>
   
#include <tree/properties/ExactSubtreeRepeatsNaive.h> #include <tree/properties/ExactSubtreeRepeatsNaive.h>
   
#include <deque>
#include <vector>
namespace arbology { namespace arbology {
   
namespace exact { namespace exact {
......
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
#include <tree> #include <tree>
#include <deque> #include <deque>
#include <foreach> #include <foreach>
#include <common/ranked_symbol.hpp>
#include <alphabet/RankedSymbol.h>
   
#include <tree/ranked/RankedTree.h> #include <tree/ranked/RankedTree.h>
#include <tree/ranked/PrefixRankedTree.h> #include <tree/ranked/PrefixRankedTree.h>
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <automaton/PDA/InputDrivenNPDA.h> #include <automaton/PDA/InputDrivenNPDA.h>
   
#include <deque> #include <deque>
#include <primitive/Character.h>
#include <primitive/Unsigned.h>
   
namespace arbology { namespace arbology {
   
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
   
#include <set> #include <set>
#include <map> #include <map>
#include <common/ranked_symbol.hpp>
   
#include <tree/properties/ReversedBadCharacterShiftTable.h> #include <tree/properties/ReversedBadCharacterShiftTable.h>
#include <tree/properties/SubtreeJumpTable.h> #include <tree/properties/SubtreeJumpTable.h>
...@@ -21,7 +22,6 @@ ...@@ -21,7 +22,6 @@
#include <tree/ranked/PrefixRankedBarPattern.h> #include <tree/ranked/PrefixRankedBarPattern.h>
#include <tree/ranked/PrefixRankedNonlinearPattern.h> #include <tree/ranked/PrefixRankedNonlinearPattern.h>
#include <tree/ranked/PrefixRankedBarNonlinearPattern.h> #include <tree/ranked/PrefixRankedBarNonlinearPattern.h>
#include <alphabet/RankedSymbol.h>
   
namespace arbology { namespace arbology {
   
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
   
#include <exception/CommonException.h> #include <exception/CommonException.h>
   
#include "alphabet/BottomOfTheStackSymbol.h" #include <alphabet/BottomOfTheStackSymbol.h>
#include "alphabet/EndSymbol.h" #include <alphabet/EndSymbol.h>
#include <label/InitialStateLabel.h> #include <label/InitialStateLabel.h>
#include <label/FinalStateLabel.h> #include <label/FinalStateLabel.h>
   
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <automaton/FSM/MultiInitialStateNFA.h> #include <automaton/FSM/MultiInitialStateNFA.h>
#include <automaton/FSM/EpsilonNFA.h> #include <automaton/FSM/EpsilonNFA.h>
   
#include "../../equations/RightRegularEquationSolver.h" #include <equations/RightRegularEquationSolver.h>
#include <regexp/unbounded/UnboundedRegExpElements.h> #include <regexp/unbounded/UnboundedRegExpElements.h>
#include <registration/AlgoRegistration.hpp> #include <registration/AlgoRegistration.hpp>
   
......
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
#ifndef AUTOMATON_TO_REG_EXP_ALGEBRAIC_H_ #ifndef AUTOMATON_TO_REG_EXP_ALGEBRAIC_H_
#define AUTOMATON_TO_REG_EXP_ALGEBRAIC_H_ #define AUTOMATON_TO_REG_EXP_ALGEBRAIC_H_
   
#include <deque>
#include <map>
#include <queue>
#include <regexp/unbounded/UnboundedRegExp.h> #include <regexp/unbounded/UnboundedRegExp.h>
#include <automaton/AutomatonFeatures.h> #include <automaton/AutomatonFeatures.h>
   
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
*/ */
   
#include "Determinize.h" #include "Determinize.h"
#include "../transform/PDAToRHPDA.h" #include <automaton/transform/PDAToRHPDA.h>
#include "../transform/RHPDAToPDA.h" #include <automaton/transform/RHPDAToPDA.h>
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
#include <automaton/FSM/MultiInitialStateNFA.h> #include <automaton/FSM/MultiInitialStateNFA.h>
#include <automaton/PDA/DPDA.h> #include <automaton/PDA/DPDA.h>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <automaton/PDA/RealTimeHeightDeterministicDPDA.h> #include <automaton/PDA/RealTimeHeightDeterministicDPDA.h>
#include <automaton/TM/OneTapeDTM.h> #include <automaton/TM/OneTapeDTM.h>
#include <automaton/TA/DFTA.h> #include <automaton/TA/DFTA.h>
#include "automaton/PDA/RealTimeHeightDeterministicNPDA.h" #include <automaton/PDA/RealTimeHeightDeterministicNPDA.h>
#include <registration/AlgoRegistration.hpp> #include <registration/AlgoRegistration.hpp>
   
namespace automaton { namespace automaton {
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
#include <automaton/FSM/MultiInitialStateNFA.h> #include <automaton/FSM/MultiInitialStateNFA.h>
#include <deque> #include <deque>
#include <algorithm> #include <algorithm>
#include <set>
#include <container/ObjectsSet.h>
   
namespace automaton { namespace automaton {
   
......
#include "RHDPDACommon.h" #include "RHDPDACommon.h"
#include "object/AnyObject.h" #include "object/AnyObject.h"
#include "object/Object.h" #include "object/Object.h"
#include <container/ObjectsPair.h>
#include <container/ObjectsSet.h>
#include <variant>
   
#include "automaton/PDA/VisiblyPushdownNPDA.h" #include "automaton/PDA/VisiblyPushdownNPDA.h"
#include "automaton/PDA/RealTimeHeightDeterministicNPDA.h" #include "automaton/PDA/RealTimeHeightDeterministicNPDA.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <automaton/FSM/NFA.h> #include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
   
#include "../../regexp/properties/RegExpEpsilon.h" #include <regexp/properties/RegExpEpsilon.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <automaton/FSM/NFA.h> #include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
   
#include "../../regexp/properties/RegExpEpsilon.h" #include <regexp/properties/RegExpEpsilon.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <automaton/FSM/NFA.h> #include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
   
#include "../properties/EpsilonClosure.h" #include <automaton/properties/EpsilonClosure.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <automaton/FSM/NFA.h> #include <automaton/FSM/NFA.h>
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
   
#include "../properties/EpsilonClosure.h" #include <automaton/properties/EpsilonClosure.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
#include <automaton/FSM/NFA.h> #include <automaton/FSM/NFA.h>
#include <automaton/FSM/MultiInitialStateNFA.h> #include <automaton/FSM/MultiInitialStateNFA.h>
   
#include "../transform/Reverse.h" #include <automaton/transform/Reverse.h>
#include "../determinize/Determinize.h" #include <automaton/determinize/Determinize.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
#include "Rename.h" #include "Rename.h"
   
#include <map> #include <map>
#include <deque>
#include <vector> #include <vector>
#include <set>
#include <algorithm> #include <algorithm>
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <automaton/PDA/InputDrivenDPDA.h> #include <automaton/PDA/InputDrivenDPDA.h>
#include <automaton/PDA/VisiblyPushdownDPDA.h> #include <automaton/PDA/VisiblyPushdownDPDA.h>
#include <automaton/PDA/RealTimeHeightDeterministicDPDA.h> #include <automaton/PDA/RealTimeHeightDeterministicDPDA.h>
#include <automaton/Automaton.h>
   
namespace automaton { namespace automaton {
   
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <automaton/FSM/DFA.h> #include <automaton/FSM/DFA.h>
#include <automaton/TA/DFTA.h> #include <automaton/TA/DFTA.h>
   
#include "../properties/ReachableStates.h" #include <automaton/properties/ReachableStates.h>
   
namespace automaton { namespace automaton {
   
......
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