Example #1
0
        public override string ToString()
        {
            var index = -1;

            return(Genes.Aggregate("", (acc, curr) =>
            {
                index++;
                return acc + $"Course: {index / AlgorithmData.CoursesNumber}, Group: {index % AlgorithmData.GroupsNumber}, {curr}\n";
            }));
        }