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