public GraphDescriptor ExtractSubgraphByEdge(int[] subedges) { GraphDescriptor subdescr = new GraphDescriptor(_context); res = NVGraphNativeMathods.nvgraphExtractSubgraphByEdge(_context, _descr, subdescr.GraphDescr, subedges, subedges.Length); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nvgraphExtractSubgraphByEdge", res)); if (res != nvgraphStatus.Success) { throw new NVGraphException(res); } return(subdescr); }
public GraphDescriptor CreateGraphDecriptor() { GraphDescriptor descr = new GraphDescriptor(_context); return(descr); }