private static HashSet <string> pruneTreeSearch = new HashSet <string>(); // To prune branches of tree search /// <summary>Creator of search process</summary> /// <param name="initialBase">Initial base of numbers<</param> /// <param name="target">Number to find</param> public Search(ulong[] initialBase, ulong target) { BaseNbrs = new Base(initialBase); // Setup initial base of numbers BestSol = new Solutions(target); // Setup target BestSol.CheckCandidate(BaseNbrs); // initialBase could already contains solutions Loop(BaseNbrs); // Start recursive search }