An Algorithm is an iterative algorithm for optimizing a group of points.
| 8 | |
| 9 | // An Algorithm is an iterative algorithm for optimizing a group of points. |
| 10 | type Algorithm interface { |
| 11 | // Step runs one generation of the algorithm. |
| 12 | Step() |
| 13 | |
| 14 | // Best returns the point group with the highest fitness. |
| 15 | Best() normgeom.NormPointGroup |
| 16 | |
| 17 | // Stats returns statistics relating to the algorithm. |
| 18 | Stats() Stats |
| 19 | } |
| 20 | |
| 21 | // Stats contains the basic statistics of an Algorithm. |
| 22 | type Stats struct { |
no outgoing calls
no test coverage detected