[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
Name | Description | |
---|---|---|
WeightedTRecord |
Constructs a new weighted object from the given record and weight.
|
Methods
Name | Description | |
---|---|---|
Equals |
Returns true if and only if this and the other object have equal records and weights.
| |
ToString |
Returns a string representation of this weighted record.
(Overrides ValueTypeToString.) |
Fields
Name | Description | |
---|---|---|
record |
The record.
| |
weight |
The weight.
|
See Also