KeRNeLith / QuikGraph

Generic Graph Data Structures and Algorithms for .NET
https://kernelith.github.io/QuikGraph/
Microsoft Public License
453 stars 65 forks source link

[FEATURE] Change TSP graph type constraints to interface type. #68

Open Kemsekov opened 1 year ago

Kemsekov commented 1 year ago

It would be cool if we could change

 where TGraph : BidirectionalGraph<TVertex, TEdge>

constraint in TSP.cs to just interface

 where TGraph : IBidirectionalGraph<TVertex, TEdge>

Because I have my own IBidirectionalGraph implementation and simply cannot use TSP with it.