PGROUTING  3.2
basic_edge.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2  *
3 
4 Copyright (c) 2015 Celia Virginia Vergara Castillo
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
24 
27 #ifndef INCLUDE_CPP_COMMON_BASIC_EDGE_H_
28 #define INCLUDE_CPP_COMMON_BASIC_EDGE_H_
29 #pragma once
30 
31 #include <stdint.h>
32 
33 namespace pgrouting {
34 
35 class Basic_edge{
36  public:
37  void cp_members(const Basic_edge &other);
38 
39  public:
40  int64_t source;
41  int64_t target;
42 
43  int64_t id;
44  double cost;
45 };
46 
47 } // namespace pgrouting
48 
49 #endif // INCLUDE_CPP_COMMON_BASIC_EDGE_H_
pgrouting::Basic_edge::cp_members
void cp_members(const Basic_edge &other)
Definition: basic_edge.cpp:30
pgrouting::Basic_edge
Definition: basic_edge.h:35
pgrouting::Basic_edge::source
int64_t source
Definition: basic_edge.h:40
pgrouting::Basic_edge::cost
double cost
Definition: basic_edge.h:44
pgrouting::Basic_edge::id
int64_t id
Definition: basic_edge.h:43
pgrouting::Basic_edge::target
int64_t target
Definition: basic_edge.h:41
pgrouting
Book keeping class for swapping orders between vehicles.
Definition: pgr_alphaShape.cpp:56