CollectionTRecord, TTimeGeneralFixedPointTKey Method 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> GeneralFixedPoint<TKey>(
	Func<LoopContext<TTime>, Collection<TRecord, IterationIn<TTime>>, Collection<TRecord, IterationIn<TTime>>> f,
	Func<TRecord, int> iterationSelector,
	Expression<Func<TRecord, TKey>> keySelector,
	int maxIterations
)

Parameters

f
Type: SystemFuncLoopContextTTime, CollectionTRecord, IterationInTTime, CollectionTRecord, IterationInTTime
The subquery to apply iteratively.
iterationSelector
Type: SystemFuncTRecord, Int32
Function that maps an input record to the iteration at which that record should be introduced.
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 a subquery g to this collection maxIterations times, where g^{i+1} = f(g^i + input.EnterLoop(iterationSelector)^i).
See Also

Reference