CollectionTRecord, TTimeSymmetricDifference Method Naiad Help

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

Computes the multiset symmetric difference of this collection and the other 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> SymmetricDifference(
	Collection<TRecord, TTime> other
)

Parameters

other
Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord, TTime
The other collection.

Return Value

Type: CollectionTRecord, TTime
The collection containing the multiset symmetric difference of the two input collections.
Remarks

The multiset symmetric difference contains each record that is in the Union(CollectionTRecord, TTime), but not in the Intersect(CollectionTRecord, TTime) of this collection and the other collection. For each record in either collection, the multiplicity of that record in the multiset symmetric difference is the absolute value of the difference between its multiplicities in either collection.
See Also

Reference