ApproxIndexes.Indexes.ExecuteApproxGraphOptRestartsIS C# (CSharp) Method

ExecuteApproxGraphOptRestartsIS() public static method

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