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
Valueassociated withkeyin a parallelgraph.Declaration
Swift
func get(_ key: Key, in graph: Graph.ParallelProjection) -> Value -
Updates the
Valueassociated withkeyin the parallelgraph.Declaration
Swift
mutating func set(_ key: Key, in graph: inout Graph.ParallelProjection, to newValue: Value)
View on GitHub
ParallelCapablePropertyMap Protocol Reference