ExponentialResponse class
Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a 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): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
Constructors
-
ExponentialResponse({required Input<
double> growthFactor, required Input<int> numFiniteBuckets, required Input<double> scale}) -
Creates a new ExponentialResponse.
growthFactorMust be greater than 1.numFiniteBucketsMust be greater than 0.scaleMust be greater than 0.const -
ExponentialResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
growthFactor
→ Input<
double> -
Must be greater than 1.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
numFiniteBuckets
→ Input<
int> -
Must be greater than 0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scale
→ Input<
double> -
Must be greater than 0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited