MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / get_min_partition

Method get_min_partition

include/core/solver.h:269–276  ·  view source on GitHub ↗

Determine the minimum number of partitions */

Source from the content-addressed store, hash-verified

267
268 /** Determine the minimum number of partitions */
269 virtual int get_min_partition() const {
270 if (num_worker == 1)
271 return num_worker;
272 if (tied_weights)
273 return num_worker * 2;
274 else
275 return num_worker;
276 }
277
278 /**
279 * @brief Determine and allocate all resources for the solver

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected