|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.mathutil.dimension.DimensionConstraint
public class DimensionConstraint
Specifies a constraint for dimensions, using a lower and upper bound.
Constructor Summary | |
---|---|
DimensionConstraint(int n,
int theLower,
int theUpper)
Construct the constraint. |
Method Summary | |
---|---|
MultiDimension |
getLower()
|
int |
getLower(int d)
Get the lower bound for a specific dimension. |
int |
getMiddle(int d)
|
int |
getRange(int d)
Get the range (between upper and lower bound) for the specified dimension. |
MultiDimension |
getUpper()
|
int |
getUpper(int d)
Get the upper bound for a specific dimension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DimensionConstraint(int n, int theLower, int theUpper)
n
- The number of dimensions.theLower
- theUpper
- Method Detail |
---|
public MultiDimension getLower()
public MultiDimension getUpper()
public int getLower(int d)
d
- The dimension.
public int getUpper(int d)
d
- The dimension.
public int getRange(int d)
d
- The dimension.
public int getMiddle(int d)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |