Skip to content

Commit

Permalink
[toposort] move files
Browse files Browse the repository at this point in the history
  • Loading branch information
nike0good authored and nike0good committed May 30, 2019
1 parent 1a926f8 commit e1d85bc
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions include/c_types/pgr_topological_sort_t.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*PGR-GNU*****************************************************************
File: pgr_topological_sort_t.h
Copyright (c) 2015 Aditya Pratap Singh
Mail: adityapratap.singh28@gmail.com
Function's developer:
Copyright (c) 2019 Hang Wu
mail: nike0good@gmail.com
------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
********************************************************************PGR-GNU*/
/*! @file */

#ifndef INCLUDE_C_TYPES_PGR_TOPOLOGICAL_SORT_T_H_
#define INCLUDE_C_TYPES_PGR_TOPOLOGICAL_SORT_T_H_
#pragma once

/* for int64_t */
#ifdef __cplusplus
# include <cstdint>
#else
# include <stdint.h>
#endif

typedef struct {
int seq;
int sorted_v;
} pgr_topological_sort_t;

#endif // INCLUDE_C_TYPES_PGR_STOERWAGNER_T_H_
2 changes: 2 additions & 0 deletions sql/sigs/pgrouting--3.0.0.sig
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ _pgr_stoerwagner(text)
pgr_stoerwagner(text)
_pgr_strongcomponents(text)
pgr_strongcomponents(text)
_pgr_topological_sort(text)
pgr_topological_sort(text)
_pgr_trsp(text,integer,double precision,integer,double precision,boolean,boolean,text)
pgr_trsp(text,integer,double precision,integer,double precision,boolean,boolean,text)
pgr_trsp(text,integer,integer,boolean,boolean,text)
Expand Down

0 comments on commit e1d85bc

Please sign in to comment.