|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object genopt.algorithm.Optimizer.Smoothing
private class Optimizer.Smoothing
Inner class for smoothing the cost function.
Field Summary | |
---|---|
private double[] |
ANewCot
Coefficients for the Newton-Cotes integration formula |
private double[] |
Delta
Half width of the length of the integration domain for each coordinate direction |
private java.util.TreeMap<Point,java.lang.Double[]> |
evaPoiF1
The list with evaluated points and its function values after the first smoothing. |
private java.util.TreeMap<Point,java.lang.Double[]> |
evaPoiF2
The list with evaluated points and its function values after the second smoothing. |
private int[] |
NumOfInt
Number of integrations along the coordinate directions |
private int |
NumSupPoi
Number of support points for the integration for each coordinate direction |
Constructor Summary | |
---|---|
Optimizer.Smoothing()
|
Method Summary | |
---|---|
private Point |
_evaluateSupportPoint(Point p)
Evaluates a support point for the numerical approximation to the double integral |
private void |
_initializeRungeCotteCoefficients()
Initializes the coefficients for the Runge-Cotte integration |
Point |
getF(Point x)
Gets the objective function value and registers it into the data base |
Point |
getF1(Point x)
Gets the function value of the smoothed cost function using one integration. |
Point |
getF2(Point x)
Gets the function value of the smoothed cost function using double integration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double[] Delta
private int NumSupPoi
private double[] ANewCot
private int[] NumOfInt
private java.util.TreeMap<Point,java.lang.Double[]> evaPoiF1
genopt.algorithm.util.math.Point.compareTo(java.lang.Object o)
private java.util.TreeMap<Point,java.lang.Double[]> evaPoiF2
genopt.algorithm.util.math.Point.compareTo(java.lang.Object o)
Constructor Detail |
---|
public Optimizer.Smoothing() throws OptimizerException, java.io.IOException, java.lang.Exception, InputFormatException
OptimizerException
java.io.IOException
java.lang.Exception
InputFormatException
Method Detail |
---|
private void _initializeRungeCotteCoefficients()
public Point getF(Point x) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
x
- the point being evaluated
OptimizerException
- if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException
- if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException
- if a method that should be invoked could not be found
java.lang.IllegalAccessException
- if an invoked method enforces Java language access
control and the underlying method is inaccessible
java.lang.reflect.InvocationTargetException
- if an invoked method throws an exception
java.lang.Exception
- if an I/O error in the simulation input file occurspublic Point getF2(Point x) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
x
- the point being evaluated
OptimizerException
- if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException
- if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException
- if a method that should be invoked could not be found
java.lang.IllegalAccessException
- if an invoked method enforces Java language access
control and the underlying method is inaccessible
java.lang.reflect.InvocationTargetException
- if an invoked method throws an exception
java.lang.Exception
- if an I/O error in the simulation input file occurspublic Point getF1(Point x) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
x
- the point being evaluated
OptimizerException
- if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException
- if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException
- if a method that should be invoked could not be found
java.lang.IllegalAccessException
- if an invoked method enforces Java language access
control and the underlying method is inaccessible
java.lang.reflect.InvocationTargetException
- if an invoked method throws an exception
java.lang.Exception
- if an I/O error in the simulation input file occursprivate Point _evaluateSupportPoint(Point p) throws SimulationInputException, OptimizerException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.Exception
p
- the point being evaluated
OptimizerException
- if an OptimizerException occurs or
if the user required to stop GenOpt
SimulationInputException
- if an error in writing the
simulation input file occurs
java.lang.NoSuchMethodException
- if a method that should be invoked could not be found
java.lang.IllegalAccessException
- if an invoked method enforces Java language access
control and the underlying method is inaccessible
java.lang.reflect.InvocationTargetException
- if an invoked method throws an exception
java.lang.Exception
- if an I/O error in the simulation input file occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |