Package samer.maths.opt
Class MinimiserBase
- java.lang.Object
-
- samer.maths.opt.State
-
- samer.maths.opt.MinimiserBase
-
- Direct Known Subclasses:
- ConstrainedMinimiser, UnconstrainedConjGrad, UnconstrainedMinimiser
public abstract class MinimiserBase extends State implements SafeTask
This is a base class for running multidimensional optimisation It requires the following objects to exist in object space (they are used by the State base class default constructor) Functionx "functionx": the function to be minimised VVector "vector": the vector to work with ConstrainedMinimiser also requires "constraintClass" to exist.
-
-
Field Summary
Fields Modifier and Type Field and Description protected VDouble
beta
protected boolean
flange
protected VVector
g1
protected VVector
g2
protected GConvergence
gconv
protected Meter
iters
protected CubicLineSearch
ls
protected Meter
lsiters
protected samer.maths.opt.MinimiserBase.LSCondition
lstest
protected LED
sig1
protected LED
sig2
protected LED
sig3
protected Meter
steplength
protected VVector
vh
protected VInteger
vmaxiter
protected VVector
x1
protected VVector
x2
protected AbsXFConvergence
xfconv
protected double
XTOL
-
Constructor Summary
Constructors Constructor and Description MinimiserBase(Vec x, Functionx func)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
add(Viewable vbl)
void
dispose()
void
execute(java.lang.String cmd, Environment env)
void
getCommands(Agent.Registry r)
int
getMaxiter()
Viewable[]
getViewables()
Viewer
getViewer()
protected void
perIteration()
protected void
perOptimisation(int i)
void
starting()
void
stopping()
-
-
-
Field Detail
-
beta
protected VDouble beta
-
flange
protected boolean flange
-
g1
protected VVector g1
-
g2
protected VVector g2
-
gconv
protected GConvergence gconv
-
iters
protected Meter iters
-
ls
protected CubicLineSearch ls
-
lsiters
protected Meter lsiters
-
lstest
protected samer.maths.opt.MinimiserBase.LSCondition lstest
-
sig1
protected LED sig1
-
sig2
protected LED sig2
-
sig3
protected LED sig3
-
steplength
protected Meter steplength
-
vh
protected VVector vh
-
vmaxiter
protected VInteger vmaxiter
-
x1
protected VVector x1
-
x2
protected VVector x2
-
xfconv
protected AbsXFConvergence xfconv
-
XTOL
protected double XTOL
-
-
Method Detail
-
getViewer
public Viewer getViewer()
-
dispose
public void dispose()
-
add
public void add(Viewable vbl)
-
getViewables
public Viewable[] getViewables()
-
getMaxiter
public int getMaxiter()
-
perIteration
protected void perIteration()
-
perOptimisation
protected void perOptimisation(int i)
-
getCommands
public void getCommands(Agent.Registry r)
-
execute
public void execute(java.lang.String cmd, Environment env) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-