MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / ClientGroup

Method ClientGroup

pyvrp/cpp/ProblemData.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161ProblemData::ClientGroup::ClientGroup(std::vector<size_t> clients,
162 bool required,
163 std::string name)
164 : required(required), name(duplicate(name.data()))
165{
166 for (auto const client : clients)
167 addClient(client);
168}
169
170ProblemData::ClientGroup::ClientGroup(ClientGroup const &group)
171 : clients_(group.clients_),

Callers

nothing calls this directly

Calls 2

duplicateFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected