colgreen / sharpneat

SharpNEAT - Evolution of Neural Networks. A C# .NET Framework.
https://sharpneat.sourceforge.io/
Other
388 stars 100 forks source link

Refactor IDistanceMetric.CalculateCentroid() and k-means speciation generally, to use LightweightList and Span. #51

Open colgreen opened 3 years ago

colgreen commented 3 years ago

This will involve switching the Species GenomeList from List to LightweightList, i.e. the the change might cascade out to multiple areas.

This should offer some performance gains in accessing the accessing element via a Span instead of via IList.