|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.bme.smile.commons.optimize.ProjectNDto1DOptimizable
public class ProjectNDto1DOptimizable
Projects an ND function to 1D so that LineSearchND can optimize in one dimension at a time.
| Constructor Summary | |
|---|---|
ProjectNDto1DOptimizable(OptimizableNDContinuous func)
Constructor to create the projected function |
|
| Method Summary | |
|---|---|
double |
getDomainMax()
Gets the domain maximum in the current dimension. |
double |
getDomainMin()
Gets the domain minimum in the current dimension. |
double |
getDomainTolerance()
Gets the tolerance. |
int |
getNumberOfDimensions()
Gets the number of dimensions. |
double |
getValue(double x)
Gets the value of the function evaluated at the current dimension of x |
void |
setCurrentDimension(int curDim)
Sets the current dimension. |
void |
setCurrentLocation(double location)
Sets the location of the current dimension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectNDto1DOptimizable(OptimizableNDContinuous func)
func - function to project| Method Detail |
|---|
public double getDomainMax()
getDomainMax in interface Optimizable1DContinuouspublic double getDomainMin()
getDomainMin in interface Optimizable1DContinuouspublic double getDomainTolerance()
getDomainTolerance in interface Optimizable1DContinuouspublic double getValue(double x)
getValue in interface Optimizable1DContinuousx - value in the current dimension to evaluate at
public void setCurrentLocation(double location)
location - new location to be setpublic void setCurrentDimension(int curDim)
curDim - current dimensionpublic int getNumberOfDimensions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||