Linear class

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets

  • 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i
  • 1)).

Constructors

Linear()
Linear.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
numFiniteBuckets int
Must be greater than 0.
read / write
offset double
Lower bound of the first bucket.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
Must be greater than 0.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited