Class which encapsulates a range transformation.
RangeTransform
01 Syntax
02 Methods
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| DEFAULT_LOWER_BOUND | 2 | Default lower bound for scaling (-1). |
| DEFAULT_UPPER_BOUND | 2 | Default upper bound for scaling (1). |
04 Members
Double(), Double(), Double, Double)Constructor.
| Name | Type | Description |
|---|---|---|
minValues | Double() | The minimum values in each dimension. |
maxValues | Double() | The maximum values in each dimension. |
lowerBound | Double | The desired lower bound for all dimensions. |
upperBound | Double | The desired upper bound for all dimensions. |
Determines the Range transform for the provided problem. Uses the default lower and upper bounds.
| Name | Type | Description |
|---|---|---|
prob | Problem | The Problem to analyze |
The Range transform for the problem
Determines the Range transform for the provided problem.
| Name | Type | Description |
|---|---|---|
prob | Problem | The Problem to analyze |
lowerBound | Double | The lower bound for scaling |
upperBound | Double | The upper bound for scaling |
The Range transform for the problem
Transforms the input array based upon the values provided.
| Name | Type | Description |
|---|---|---|
input | Node() | The input array |
A scaled array
Double, Int32)Transforms this an input value using the scaling transform for the provided dimension.
| Name | Type | Description |
|---|---|---|
input | Double | The input value to transform |
index | Int32 | The dimension whose scaling transform should be used |
The scaled value
Default lower bound for scaling (-1).
Default upper bound for scaling (1).