MCPcopy
hub / github.com/rh12503/triangula / Algorithm

Interface Algorithm

algorithm/algorithm.go:10–19  ·  view source on GitHub ↗

An Algorithm is an iterative algorithm for optimizing a group of points.

Source from the content-addressed store, hash-verified

8
9// An Algorithm is an iterative algorithm for optimizing a group of points.
10type 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.
22type Stats struct {

Callers 10

CompareAlgorithmsFunction · 0.65
RunAlgorithmFunction · 0.65
GenerateAlgorithmOutputFunction · 0.65
GenerateProfileFunction · 0.65
GenerateTraceFunction · 0.65
BenchmarkAlgorithmFunction · 0.65
GenerateAlgorithmOutputFunction · 0.65
CompareAlgorithmsFunction · 0.65
RunAlgorithmFunction · 0.65
GenerateAlgorithmOutputFunction · 0.65

Implementers 2

simplealgorithm/simple.go
modifiedGeneticalgorithm/modifiedgenetic.go

Calls

no outgoing calls

Tested by

no test coverage detected