Interface MinimisationFunction

All Known Implementing Classes:
Chi2Bearings, Chi2TimeDelays

public interface MinimisationFunction
Class which must be populated for various minimisation algorithms

Example. Might be used to create a chi2 value for a source at an [x y z] location. The function would store observed time delays and then calculate the time delays for a source at [x y z]. The observed and calculated time delays would then be compared, generating a chi2 value.

Author:
Jamie Macaulay
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the simulation dimensions e.g.
    double[]
    Get first search jump (often not needed)
    double[]
    Get starting position for search algorithm.
    double
    value(double[] location)
    Return the Chi2 value at a specified 'location'/ for a set of points which can be used to generated expected data that is then used to calculated a chi2 value with observed data.
  • Method Details

    • value

      double value(double[] location)
      Return the Chi2 value at a specified 'location'/ for a set of points which can be used to generated expected data that is then used to calculated a chi2 value with observed data. Example location might be [x y z] location to generate time delays which are then compared to expected time delays.
      Parameters:
      location - - the point at which chi2 value is to be calculated;
      Returns:
      the chi2 value.
    • getDim

      int getDim()
      Get the simulation dimensions e.g. if solving for [x y z] location getDim()=3;
    • getStart

      double[] getStart()
      Get starting position for search algorithm.
      Returns:
      starting location with getDim() dimensions.
    • getFirstStep

      double[] getFirstStep()
      Get first search jump (often not needed)
      Returns:
      first jump location with getDim() dimensions.