Skip to content

Commit a335a6c

Browse files
committed
Adjusting code/includes to code movement
1 parent 227f08c commit a335a6c

File tree

8 files changed

+18
-14
lines changed

8 files changed

+18
-14
lines changed

configuration.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ chinese | Y | Y | Y
3737
spanningTree | Y | Y | Y
3838
mincut | Y | Y | Y
3939
version | Y | Y | Y
40-
topologicalSort | Y | Y | N
4140
transitiveClosure | Y | Y | Y
4241
breadthFirstSearch | Y | Y | N
4342
traversal | Y | Y | Y

include/cpp_common/path.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2727

2828
/*! @file */
2929

30-
#ifndef INCLUDE_CPP_COMMON_BASEPATH_SSEC_HPP_
31-
#define INCLUDE_CPP_COMMON_BASEPATH_SSEC_HPP_
30+
#ifndef INCLUDE_CPP_COMMON_PATH_HPP_
31+
#define INCLUDE_CPP_COMMON_PATH_HPP_
3232
#pragma once
3333

3434
#include <deque>
@@ -346,4 +346,4 @@ class Path {
346346

347347
} // namespace pgrouting
348348

349-
#endif // INCLUDE_CPP_COMMON_BASEPATH_SSEC_HPP_
349+
#endif // INCLUDE_CPP_COMMON_PATH_HPP_

include/drivers/ordering/topologicalSort_driver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2828
2929
********************************************************************PGR-GNU*/
3030

31-
#ifndef INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
32-
#define INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
31+
#ifndef INCLUDE_DRIVERS_ORDERING_TOPOLOGICALSORT_DRIVER_H_
32+
#define INCLUDE_DRIVERS_ORDERING_TOPOLOGICALSORT_DRIVER_H_
3333

3434
#ifdef __cplusplus
3535
# include <cstddef>
@@ -53,4 +53,4 @@ void pgr_do_topologicalSort(
5353
}
5454
#endif
5555

56-
#endif // INCLUDE_DRIVERS_TOPOLOGICALSORT_TOPOLOGICALSORT_DRIVER_H_
56+
#endif // INCLUDE_DRIVERS_ORDERING_TOPOLOGICALSORT_DRIVER_H_

include/ordering/topologicalSort.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ along with this program; if not, write to the Free Software
2222
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2323
********************************************************************PGR-GNU*/
2424

25-
#ifndef INCLUDE_TOPOLOGICALSORT_TOPOLOGICALSORT_HPP_
26-
#define INCLUDE_TOPOLOGICALSORT_TOPOLOGICALSORT_HPP_
25+
#ifndef INCLUDE_ORDERING_TOPOLOGICALSORT_HPP_
26+
#define INCLUDE_ORDERING_TOPOLOGICALSORT_HPP_
2727
#pragma once
2828

2929

@@ -98,4 +98,4 @@ Pgr_topologicalSort< G >::topologicalSort(
9898
}
9999

100100

101-
#endif // INCLUDE_TOPOLOGICALSORT_TOPOLOGICALSORT_HPP_
101+
#endif // INCLUDE_ORDERING_TOPOLOGICALSORT_HPP_

sql/ordering/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set(LOCAL_FILES
55
sloanOrdering.sql
66
_kingOrdering.sql
77
kingOrdering.sql
8+
_topologicalSort.sql
9+
topologicalSort.sql
810
)
911

1012
foreach (f ${LOCAL_FILES})

src/ordering/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ ADD_LIBRARY(ordering OBJECT
33
cuthillMckeeOrdering.c
44
cuthillMckeeOrdering_driver.cpp
55
sloanOrdering.c
6+
topologicalSort.c
7+
topologicalSort_driver.cpp
8+
69
ordering_driver.cpp
710
ordering_process.cpp
8-
)
11+
)

src/ordering/topologicalSort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3535
#include "c_common/debug_macro.h"
3636
#include "c_common/e_report.h"
3737
#include "c_common/time_msg.h"
38-
#include "drivers/topologicalSort/topologicalSort_driver.h"
38+
#include "drivers/ordering/topologicalSort_driver.h"
3939

4040
PGDLLEXPORT Datum _pgr_topologicalsort(PG_FUNCTION_ARGS);
4141
PG_FUNCTION_INFO_V1(_pgr_topologicalsort);

src/ordering/topologicalSort_driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software
2626
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2727
2828
********************************************************************PGR-GNU*/
29-
#include "drivers/topologicalSort/topologicalSort_driver.h"
29+
#include "drivers/ordering/topologicalSort_driver.h"
3030

3131
#include <sstream>
3232
#include <string>
@@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3535
#include <algorithm>
3636
#include <limits>
3737

38-
#include "topologicalSort/topologicalSort.hpp"
38+
#include "ordering/topologicalSort.hpp"
3939

4040
#include "c_types/i_rt.h"
4141
#include "cpp_common/pgdata_getters.hpp"

0 commit comments

Comments
 (0)