PGROUTING  2.6-dev
initial_solution.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3 FILE: initial_solution.h
4 
5 Copyright (c) 2015 pgRouting developers
6 Mail: project@pgrouting.org
7 
8 ------
9 
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
14 
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19 
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 
24  ********************************************************************PGR-GNU*/
25 
28 #ifndef INCLUDE_VRP_INITIAL_SOLUTION_H_
29 #define INCLUDE_VRP_INITIAL_SOLUTION_H_
30 #pragma once
31 
32 #include <set>
33 #include <deque>
34 #include "vrp/pd_orders.h"
35 #include "vrp/solution.h"
37 
38 namespace pgrouting {
39 namespace vrp {
40 
41 
42 class Pgr_pickDeliver;
43 
44 
45 class Initial_solution : public Solution {
46  public:
48  int kind,
49  size_t);
50 
51  void invariant() const;
52 
53  private:
54  /*
55  * one truck per order
56  */
57  void one_truck_all_orders();
58 
59  void do_while_foo(int kind);
60 
61 
62  private:
66 };
67 
68 } // namespace vrp
69 } // namespace pgrouting
70 
71 #endif // INCLUDE_VRP_INITIAL_SOLUTION_H_
Identifiers< size_t > assigned
Identifiers< size_t > all_orders
Identifiers< size_t > unassigned
Book keeping class for swapping orders between vehicles.
Definition: basic_edge.cpp:28