/// <summary> /// /// </summary> /// <param name="vertexCapacity"></param> /// <param name="hedgeCapacity"></param> internal HeGraphBase(int vertexCapacity = 4, int hedgeCapacity = 4) { _vertices = new HeElementList <TV>(vertexCapacity); _hedges = new HalfedgeList <TE>(hedgeCapacity); _edges = new HeEdgeList <TE>(_hedges); }
/// <summary> /// /// </summary> /// <param name="vertexCapacity"></param> /// <param name="hedgeCapacity"></param> public HeStructure(int vertexCapacity = DefaultCapacity, int hedgeCapacity = DefaultCapacity) { _vertices = new HeElementList <V>(vertexCapacity); _hedges = new HalfedgeList <E>(hedgeCapacity); _edges = new HeEdgeList <E>(_hedges); }