MCPcopy Index your code
hub / github.com/PyVRP/PyVRP / Depot

Class Depot

pyvrp/cpp/ProblemData.h:327–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 * Free-form name field for this depot.
326 */
327 struct Depot
328 {
329 Coordinate const x;
330 Coordinate const y;
331 Duration const serviceDuration;
332 Duration const twEarly; // Depot opening time
333 Duration const twLate; // Depot closing time
334 char const *name; // Depot name (for reference)
335
336 Depot(Coordinate x,
337 Coordinate y,
338 Duration twEarly = 0,
339 Duration twLate = std::numeric_limits<Duration>::max(),
340 Duration serviceDuration = 0,
341 std::string name = "");
342
343 bool operator==(Depot const &other) const;
344
345 Depot(Depot const &depot);
346 Depot(Depot &&depot);
347
348 Depot &operator=(Depot const &depot) = delete;
349 Depot &operator=(Depot &&depot) = delete;
350
351 ~Depot();
352 };
353
354 /**
355 * VehicleType(

Calls

no outgoing calls