WeightedTRecord StructureNaiad Help

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

A record with a signed 64-bit weight, which corresponds to the multiplicity of the record in a multiset.

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#
public struct Weighted<TRecord> : IEquatable<Weighted<TRecord>>
where TRecord : Object, IEquatable<TRecord>

Type Parameters

TRecord
The type of the record.

The WeightedTRecord type exposes the following members.

Constructors

  NameDescription
Public methodWeightedTRecord
Constructs a new weighted object from the given record and weight.
Top
Methods

  NameDescription
Public methodEquals
Returns true if and only if this and the other object have equal records and weights.
Public methodToString
Returns a string representation of this weighted record.
(Overrides ValueTypeToString.)
Top
Fields

  NameDescription
Public fieldrecord
The record.
Public fieldweight
The weight.
Top
See Also

Reference