Interface GeoModelEstimatorN<Model,​Sample>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMinimumPoints()
      Minimum number of points required to estimate the model.
      boolean process​(java.util.List<Sample> points, org.ddogleg.struct.FastQueue<Model> estimatedModels)
      Estimates a set of models which fit the given a set of observations.
    • Method Detail

      • process

        boolean process​(java.util.List<Sample> points,
                        org.ddogleg.struct.FastQueue<Model> estimatedModels)
        Estimates a set of models which fit the given a set of observations. A FastQueue is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the FastQueue.pop() function.
        Parameters:
        points - Input: Set of observations. Not modified.
        estimatedModels - Output: Storage for the set of estimated models. Modified.
        Returns:
        true if successful
      • getMinimumPoints

        int getMinimumPoints()
        Minimum number of points required to estimate the model.
        Returns:
        Minimum number of points.