Most efficient implementation for a complete undirected graph
问题 Problem background I am currently developing a framework of Ant Colony System algorithms. I thought I'd start out by trying them on the first problem they were applied to: Travelling Salesman Problem (TSP). I will be using C# for the task. All TSP instances will consist of a complete undirected graph with 2 different weights associated with each edge. Question Until now I've only used adjacency-list representations but I've read that they are recommended only for sparse graphs. As I am not