/// <summary> /// Loads a configuration using the default name. /// </summary> /// <typeparam name="T">The implementation of Algorithm configuration.</typeparam> /// <returns>Loaded algorithm configuration.</returns> private static T LoadConfiguration <T>() where T : AlgorithmConfiguration { string filename = Reflections.GetMatchingAlgorithmType(typeof(T)).Name + ".yaml"; return(LoadConfiguration <T>(filename)); }