public void graph_creator() { IKVPairInstance <IInteger, IIterator <IInputFormat> > input_gifs_instance = (IKVPairInstance <IInteger, IIterator <IInputFormat> >)Graph_values.Instance; IIteratorInstance <IInputFormat> vgifs = (IIteratorInstance <IInputFormat>)input_gifs_instance.Value; object o; if (partition_own == null) { if (vgifs.fetch_next(out o)) { IInputFormatInstance gif = (IInputFormatInstance)o; partition = gif.PartitionTABLE; partition_size = gif.PARTITION_SIZE; g = Graph.newInstance(gif.VSIZE); g.DataContainer.AllowingLoops = false; g.DataContainer.AllowingMultipleEdges = false; graph_creator_aux(gif); partition_own = new bool[partition_size]; partition_own [gif.PARTID] = true; this.partid = gif.PARTID; } } while (vgifs.fetch_next(out o)) { graph_creator_aux((IInputFormatInstance)o); partition_own [((IInputFormatInstance)o).PARTID] = true; } }