grape.parallel_general_graph.ParallelGeneralGraph.measure_processes

ParallelGeneralGraph.measure_processes(record, kernel, *measure_args)[source]

Division of total number of nodes in chuncks and parallel distribution of tasks into processes, for different kernel measure functions.

Parameters
  • 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)