ApproxIndexes.Indexes.ExecuteApproxGraphOptSimplerOptRandomRestarts C# (CSharp) Method

ExecuteApproxGraphOptSimplerOptRandomRestarts() public static method

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