Program Listing for File greedy.hpp¶
↰ Return to documentation for file (include/cvrp/greedy.hpp
)
#ifndef GREEDY_HPP
#define GREEDY_HPP
#include "cvrp/utils.hpp"
class GreedySolution : public Solution {
public:
GreedySolution(const std::vector<Node>& nodes,
const std::vector<Vehicle>& vehicles,
const std::vector<std::vector<double>>& distanceMatrix);
explicit GreedySolution(const Problem& p);
void Solve() override;
};
#endif // GREEDY_HPP