Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/BellmanFord_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -126,4 +128,4 @@ const BellmanFordResult Graph<T>::bellmanford(const Node<T> &source,
return result;
}
} // namespace CXXGraph
#endif // __CXXGRAPH_BELLMANFORD_IMPL_H__
#endif // __CXXGRAPH_BELLMANFORD_IMPL_H__
3 changes: 2 additions & 1 deletion include/CXXGraph/Graph/Algorithm/BestFirstSearch_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <mutex>
#include <queue>
#include <thread>
#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

Expand Down Expand Up @@ -259,4 +260,4 @@ const std::vector<Node<T>> Graph<T>::concurrency_breadth_first_search(
return bfs_result;
}
} // namespace CXXGraph
#endif // __CXXGRAPH_BESTFIRSTSEARCH_IMPL_H__
#endif // __CXXGRAPH_BESTFIRSTSEARCH_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/BreadthFirstSearch_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -65,4 +67,4 @@ const std::vector<Node<T>> Graph<T>::breadth_first_search(
}

} // namespace CXXGraph
#endif // __CXXGRAPH_BREADTHFIRSTSEARCH_IMPL_H__
#endif // __CXXGRAPH_BREADTHFIRSTSEARCH_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/CycleDetection_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -228,4 +230,4 @@ bool Graph<T>::isCyclicDirectedGraphBFS() const {
return !(remain == 0);
}
} // namespace CXXGraph
#endif // __CXXGRAPH_CYCLEDETECTION_IMPL_H__
#endif // __CXXGRAPH_CYCLEDETECTION_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/DepthFirstSearch_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -61,4 +63,4 @@ const std::vector<Node<T>> Graph<T>::depth_first_search(
}

} // namespace CXXGraph
#endif // __CXXGRAPH_DEPTHFIRSTSEARCH_IMPL_H__
#endif // __CXXGRAPH_DEPTHFIRSTSEARCH_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/Dial_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -155,4 +157,4 @@ const DialResult Graph<T>::dial(const Node<T> &source, int maxWeight) const {
return result;
}
} // namespace CXXGraph
#endif // __CXXGRAPH_DIAL_IMPL_H__
#endif // __CXXGRAPH_DIAL_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/Dijkstra_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -452,4 +454,4 @@ const DijkstraResult Graph<T>::dijkstra_deterministic2(
}

} // namespace CXXGraph
#endif // __CXXGRAPH_DIJKSTRA_IMPL_H__
#endif // __CXXGRAPH_DIJKSTRA_IMPL_H__
4 changes: 3 additions & 1 deletion include/CXXGraph/Graph/Algorithm/FordFulkerson_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#pragma once

#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"

namespace CXXGraph {
Expand Down Expand Up @@ -105,4 +107,4 @@ double Graph<T>::fordFulkersonMaxFlow(const Node<T> &source,
return maxFlow;
}
} // namespace CXXGraph
#endif // __CXXGRAPH_FORDFULKERSON_IMPL_H__
#endif // __CXXGRAPH_FORDFULKERSON_IMPL_H__
1 change: 1 addition & 0 deletions include/CXXGraph/Graph/Graph_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#pragma once

#include <deque>
#include <algorithm>

#include "CXXGraph/Graph/Graph_decl.h"
#include "CXXGraph/Utility/ConstString.hpp"
Expand Down