Exemplo n.º 1
0
        public VertexData(int name, ResizeableSubArray <int> edges)
        {
            this.name  = name;
            this.edges = new int[edges.Count];
            for (int i = 0; i < edges.Count; i++)
            {
                this.edges[i] = edges.Array[i];
            }

            Array.Sort(this.edges);
        }