[This is preliminary documentation and is subject to change.]
Transmits the value associated with each node in nodes along the matching edges in edges
to produce a stream of NodeWithValueTValues for each target of a matching edge.
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<TOutput>, TTime> TransmitAlong<TValue, TOutput, TTime>( this Stream<NodeWithValue<TValue>, TTime> nodes, Stream<Edge, TTime> edges, Func<NodeWithValue<TValue>, Node, TOutput> valueSelector ) where TTime : Object, Time<TTime>
Parameters
- nodes
- Type: Microsoft.Research.NaiadStreamNodeWithValueTValue, TTime
The stream of nodes with values. - edges
- Type: Microsoft.Research.NaiadStreamEdge, TTime
The stream of edges. - valueSelector
- Type: SystemFuncNodeWithValueTValue, Node, TOutput
A function from input (node, value) pair and destination node producing the value to send to that destination.
Type Parameters
- TValue
- The type of value associated with each node.
- TOutput
- The type of value sent to each destination node.
- TTime
- The type of timestamp on each record.
Return Value
Type: StreamNodeWithValueTOutput, TTimeThe stream of targets with values for each edge in edges.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamNodeWithValueTValue, TTime. 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