Class MinimiserBase

  • All Implemented Interfaces:
    SafeTask, Task
    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 Detail

      • beta

        protected VDouble beta
      • flange

        protected boolean flange
      • iters

        protected Meter iters
      • 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
      • vmaxiter

        protected VInteger vmaxiter
      • XTOL

        protected double XTOL
    • Constructor Detail

      • MinimiserBase

        public MinimiserBase(Vec x,
                             Functionx func)
    • Method Detail

      • getViewer

        public Viewer getViewer()
      • add

        public void add(Viewable vbl)
      • getViewables

        public Viewable[] getViewables()
      • getMaxiter

        public int getMaxiter()
      • perIteration

        protected void perIteration()
      • perOptimisation

        protected void perOptimisation(int i)
      • starting

        public void starting()
        Specified by:
        starting in interface Task
      • stopping

        public void stopping()
        Specified by:
        stopping in interface Task
      • 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