Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Update EdgeAssemblyCrossOverSolver.cs #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ protected override IRoute DoSolve(OsmSharp.Math.TSP.Problems.IProblem problem)
List<int> result = new List<int>(best.Genomes);
result.Insert(0, 0);
//return new SimpleAsymmetricRoute(result, true);
return DynamicAsymmetricRoute.CreateFrom(result);
// Parameter problem.Symmetric inserted otherwise Tour is still round
return DynamicAsymmetricRoute.CreateFrom(result, problem.Symmetric);
}

/// <summary>
Expand Down