PGROUTING  3.2
pgr_topologicalSort_t.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: pgr_topologicalSortt.h
3 
4 Copyright (c) 2015 pgRouting developers
6 
7 Function's developer:
8 Copyright (c) 2019 Hang Wu
10 
11 ------
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 ********************************************************************PGR-GNU*/
26 #ifndef INCLUDE_C_TYPES_PGR_TOPOLOGICALSORT_T_H_
27 #define INCLUDE_C_TYPES_PGR_TOPOLOGICALSORT_T_H_
28 #pragma once
29 
30 /* for int64_t */
31 #ifdef __cplusplus
32 # include <cstdint>
33 #else
34 # include <stdint.h>
35 #endif
36 
37 typedef struct {
38  int seq;
39  int64_t sorted_v;
41 
42 #endif // INCLUDE_C_TYPES_PGR_TOPOLOGICALSORT_T_H_
pgr_topologicalSort_t::seq
int seq
Definition: pgr_topologicalSort_t.h:38
pgr_topologicalSort_t
Definition: pgr_topologicalSort_t.h:37
pgr_topologicalSort_t::sorted_v
int64_t sorted_v
Definition: pgr_topologicalSort_t.h:39