.net - Multidimensional Collections for a (CS) Graph Class Interface in C#? -


For jollies, I am trying to apply a graph data structure as an interface, so that I can see the graph class Can be implemented in the form of impresence as lists (lists of edges) with the minimum code or proximity matrix (2 dimensional array of edges).

My question is, there is a way IGraph can apply the interface so that either:

linkedlist & lt; Linked list & lt; IEdge & gt; & Gt;

Or this:

  IEdge [,]  

Will the valid type be? Apart from this I have thought of everything else.

Then you are using BCL Generics for the linked list. linked list & lt; Linked list & lt; IEdge & gt; & Gt; The structure should work fine.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -