grape.parallel_general_graph.ParallelGeneralGraph.measure_iteration¶
-
ParallelGeneralGraph.
measure_iteration
(nodes, record, kernel, *measure_args)[source]¶ Inner iteration for parallel measures, to update shared dictionary.
- Parameters
nodes (list) – nodes for which to compute the shortest path between them and all the other nodes.
record (multiprocessing.managers.dict) – shared dictionary to be updated.
kernel (callable) – kernel measure to be computed.
*measure_args –
arguments for kernel measures. Have a look at specific kernel measures in GeneralGraph for the particular variables/types for each measure.