Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Aug 25, 2024
1 parent afd0d53 commit 1fa95e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/problem/pickDeliver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ class PickDeliver {
PickDeliver(
Orders_t* p_orders, size_t p_orders_size,
Vehicle_t* p_vehicles, size_t p_vehicles_size,
const Matrix &p_cost_matrix);
const Matrix &);

/** @brief Override stops constructor */
PickDeliver(
Orders_t* p_orders, size_t p_orders_size,
Vehicle_t* p_vehicles, size_t p_vehicles_size,
std::vector<Short_vehicle> new_stops,
const Matrix &p_cost_matrix);
std::vector<Short_vehicle>,
const Matrix &);

virtual ~PickDeliver() = default;

Expand Down
2 changes: 2 additions & 0 deletions include/problem/tw_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "cpp_common/identifier.hpp"
#include "problem/node_types.hpp"

using Orders_t = struct Orders_t;
using Vehicle_t = struct Vehicle_t;

namespace vrprouting {
namespace problem {
Expand Down
2 changes: 1 addition & 1 deletion src/common/e_report.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* ~~~~{.c}
* std::ostringstream log;
* log << "the message";
* *log_msg = to_pg_msg(log.str().c_str());
* *log_msg = to_pg_msg(log.str());
* ~~~~
*
* Then on the C side
Expand Down
1 change: 1 addition & 0 deletions src/pgr_pickDeliver/pgr_pickDeliver_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "cpp_common/assert.hpp"

#include "cpp_common/orders_t.hpp"
#include "cpp_common/vehicle_t.hpp"
#include "initialsol/initials_code.hpp"
#include "initialsol/simple.hpp"
#include "optimizers/simple.hpp"
Expand Down

0 comments on commit 1fa95e9

Please sign in to comment.