/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="graph"></param>
 /// <param name="startIndex"></param>
 /// <param name="endIndex"></param>
 /// <param name="mWeight"></param>
 public GraphEdge(AbstractGraph graph, int startIndex, int endIndex, object mWeight)
 {
     this.graph      = graph;
     this.startIndex = startIndex;
     this.endIndex   = endIndex;
     this.mWeight    = mWeight;
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="graph">a graph object</param>
 /// <param name="mNumber">the number of the vertex</param>
 /// <param name="mWeight">the weight of the vertex</param>
 public GraphVertex(AbstractGraph graph, int mNumber, object mWeight)
 {
     this.graph   = graph;
     this.mNumber = mNumber;
     this.mWeight = mWeight;
 }
            /// <summary>
            /// Default constructor
            /// </summary>
            /// <param name="graph">the AbstractGraph on which the enumerator is based.</param>
            internal VertexEnumerator(AbstractGraph graph)
            {
                v = -1;

                this.graph = graph;
            }