LabeledVertex
public protocol LabeledVertex
An optionally labeled vertex that can be used in the Expander algorithm for propagating labels across a partially labeled graph.
See also
ParallelGraph.propagateLabels
See also
ParallelGraph.computeEdgeWeights
-
A datatype that stores partially defined labels.
Declaration
Swift
associatedtype Labels : LabelBundle -
The sum of weights for all incoming edges.
Declaration
Swift
var totalIncomingEdgeWeight: Float { get set } -
The apriori known label values.
Declaration
Swift
var seedLabels: Labels { get } -
A prior for how strong the belief in seed labels is.
Declaration
Swift
var prior: Labels { get } -
The labels that result from the iterated label propagation computation.
Declaration
Swift
var computedLabels: Labels { get set }
View on GitHub
LabeledVertex Protocol Reference