CollectionTRecord, TTimeFixedPointTKey Method (FuncLoopContextTTime, CollectionTRecord, IterationInTTime, CollectionTRecord, IterationInTTime, ExpressionFuncTRecord, TKey, Int32)Naiad Help

[This is preliminary documentation and is subject to change.]

Computes the fixed point of the subquery f applied to this collection.

Namespace: Microsoft.Research.Naiad.Frameworks.DifferentialDataflow
Assembly: Microsoft.Research.Naiad.DifferentialDataflow (in Microsoft.Research.Naiad.DifferentialDataflow.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
Collection<TRecord, TTime> FixedPoint<TKey>(
	Func<LoopContext<TTime>, Collection<TRecord, IterationIn<TTime>>, Collection<TRecord, IterationIn<TTime>>> f,
	Expression<Func<TRecord, TKey>> keySelector,
	int maxIterations
)

Parameters

f
Type: SystemFuncLoopContextTTime, CollectionTRecord, IterationInTTime, CollectionTRecord, IterationInTTime
The subquery to apply iteratively.
keySelector
Type: System.Linq.ExpressionsExpressionFuncTRecord, TKey
Function that extracts a key from each record, to be used for partitioning the input collection.
maxIterations
Type: SystemInt32
The maximum number of iterations to compute.

Type Parameters

TKey
The key type.

Return Value

Type: CollectionTRecord, TTime
The result of applying f to this collection maxIterations times, or until fixed point is reached, whichever is earlier.
See Also

Reference