Skip to content

Commit

Permalink
Minor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalasek committed May 2, 2019
1 parent 3daa00c commit a72b8b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion JobShopScheduling/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Config(bool initializeDefaultValues)
MutationProbability = 0.3f;
CrossoverProbability = 0.75f;
// mutate 2 times per solution
InversionMutationPerGeneProbability = 0.5f / MachinesCount;
InversionMutationPerGeneProbability = 0.05f;
ElitismPercent = 0.02f;

TournamentSelectionProbability = 0.8f;
Expand Down
1 change: 0 additions & 1 deletion JobShopScheduling/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ private static void Main(string[] args)

JobShop jobShop = LoadJobShop(inputPath);
//JobShop jobShop = GenerateJobShop();
Global.Config.InversionMutationPerGeneProbability = 0.5f / jobShop.MachinesCount;

var plottingUtils = new PlottingHelper();

Expand Down

0 comments on commit a72b8b7

Please sign in to comment.