private static ISearchStrategy LS2() => new LS( initalise: new GreedyInitalise(), neighbourhood: new TwoOpt(), step: new LowestCost(), terminate: TerminalStrategies.FixedItterations(1), name: "Local Search - Greedy" );
/// <summary> /// Generates a list of available searches /// </summary> /// <param name="numberOfItterations">Number of iterations the searches should run for (may be ignored by some searches eg Greedy Search)</param> /// <returns>A list of searches</returns> public static List <ISearchStrategy> GenerateSearchesItterations(int numberOfItterations = DEFAULT_ITTERATIONS) => GenerateSearches(TerminalStrategies.FixedItterations(numberOfItterations));