ParallelCapablePropertyMap

public protocol ParallelCapablePropertyMap : PropertyMap where Self.Graph : ParallelGraph

A ParallelCapablePropertyMap is one that can be used with ParallelGraphs in vertex-parallel algorithms.

  • Returns the Value associated with key in a parallel graph.

    Declaration

    Swift

    func get(_ key: Key, in graph: Graph.ParallelProjection) -> Value
  • Updates the Value associated with key in the parallel graph.

    Declaration

    Swift

    mutating func set(_ key: Key, in graph: inout Graph.ParallelProjection, to newValue: Value)