Documentation of 'org.ddogleg.example.LineGenerator' Java class
LineGenerator
org.ddogleg.example

Class LineGenerator

    • Constructor Summary

      Constructors 
      Constructor and Description
      LineGenerator() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean generate(java.util.List<Point2D> dataSet, Line2D output)
      Creates a list of hypotheses from the set of sample points.
      int getMinimumPoints()
      The minimum number of points required to fit a data set
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LineGenerator

        public LineGenerator()
    • Method Detail

      • generate

        public boolean generate(java.util.List<Point2D> dataSet,
                                Line2D output)
        Description copied from interface: ModelGenerator
        Creates a list of hypotheses from the set of sample points.
        Specified by:
        generate in interface ModelGenerator<Line2D,Point2D>
        Parameters:
        dataSet - Set of sample points. Typically the minimum number possible.
        output - Storage for generated model.
        Returns:
        true if a model was generated, otherwise false is none were

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.