[This is preliminary documentation and is subject to change.]
Computes a mapping from unique identifiers in the input stream to mostly dense Node indices.
Indices are dense on each worker, but skew among workers can lead to gaps in the tail of the indices.
Namespace: Microsoft.Research.Naiad.Frameworks.GraphLINQ
Assembly: Microsoft.Research.Naiad.GraphLINQ (in Microsoft.Research.Naiad.GraphLINQ.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static Stream<NodeWithValue<TIdentifier>, Epoch> GenerateDenseNameMapping<TIdentifier>( this Stream<TIdentifier, Epoch> identifiers )
Parameters
- identifiers
- Type: Microsoft.Research.NaiadStreamTIdentifier, Epoch
A stream of (not necessarily distinct) identifiers. All identifiers should be in the first epoch.
Type Parameters
- TIdentifier
- The type of the identifiers.
Return Value
Type: StreamNodeWithValueTIdentifier, EpochThe stream of densely-named nodes each associated with its initial identifier.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTIdentifier, Epoch. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
See Also