ApproxIndexes.Indexes.ExecuteApproxGraph C# (CSharp) Method

ExecuteApproxGraph() public static method

public static ExecuteApproxGraph ( IndexArgumentSetup setup, string nick, int neighbors, int restarts ) : string
setup IndexArgumentSetup
nick string
neighbors int
restarts int
return string
        public static string ExecuteApproxGraph(IndexArgumentSetup setup, string nick, int neighbors, int restarts)
        {
            var idxname = String.Format ("{0}/Index.ApproxGraph.neighbors={1}-restarts={2}", nick, neighbors, restarts);
            return Execute (setup, nick, idxname, (db) => {
                var IDX = new ApproxGraph ();
                IDX.Build (db, (short)neighbors, (short)restarts);
                return IDX;
            });
        }