Example #1
0
        public IVertexInstance newInstance(int i)
        {
            IVertexBasicInstance instance = (IVertexBasicInstance)newInstance();

            instance.Id = i;
            return(instance);
        }
Example #2
0
        public object newInstance()
        {
            IVertexBasicInstance   v = (IVertexBasicInstance)this.Vertex.newInstance();
            IEdgeInstance <V, int> e = (IEdgeInstance <V, int>) this.EdgeFactory.newInstance();

            instance = new IDataContainerKVInstanceImpl <V, E, int, IEdgeInstance <V, int> > (v.Id, e, Rank);
            return(instance);
        }