ParallelCapablePropertyMap
public protocol ParallelCapablePropertyMap : PropertyMap where Self.Graph : ParallelGraph
A ParallelCapablePropertyMap
is one that can be used with ParallelGraph
s in vertex-parallel
algorithms.
-
Returns the
Value
associated withkey
in a parallelgraph
.Declaration
Swift
func get(_ key: Key, in graph: Graph.ParallelProjection) -> Value
-
Updates the
Value
associated withkey
in the parallelgraph
.Declaration
Swift
mutating func set(_ key: Key, in graph: inout Graph.ParallelProjection, to newValue: Value)