InternalVertexPropertyMap
public struct InternalVertexPropertyMap<Graph> : PropertyMap where Graph : PropertyGraph
extension InternalVertexPropertyMap: ParallelCapablePropertyMap where Graph: ParallelGraph, Graph.ParallelProjection: PropertyGraph, Graph.ParallelProjection.Vertex == Graph.Vertex
A PropertyMap over the vertices of Graph.
-
Declaration
Swift
public typealias Key = Graph.VertexId -
Declaration
Swift
public typealias Value = Graph.Vertex -
Create an
InternalVertexPropertyMapforgraph.Declaration
Swift
public init(for graph: Graph) -
Creates an
InternalVertexPropertyMap.Declaration
Swift
public init() -
Retrieves the property value from
graphforvertex.Declaration
Swift
public func get(_ vertex: Graph.VertexId, in graph: Graph) -> Value -
Declaration
Swift
public mutating func set(_ vertex: Graph.VertexId, in graph: inout Graph, to newValue: Value)
Available where Graph: ParallelGraph, Graph.ParallelProjection: PropertyGraph, Graph.ParallelProjection.Vertex == Graph.Vertex
View on GitHub
InternalVertexPropertyMap Structure Reference