seawolf2357 commited on
Commit
a168763
·
verified ·
1 Parent(s): 0d4aab1

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -5
index.html CHANGED
@@ -1018,12 +1018,8 @@
1018
  // Compute fitness
1019
  calculateFitness();
1020
 
1021
- // Adaptive mutation rate
1022
- const progressRate = bestCarProgress;
1023
- const adaptedRate = mutationRate * (1 - progressRate * 0.5);
1024
- mutationRate = Math.max(0.01, adaptedRate);
1025
  mutationValue.textContent = `${Math.round(mutationRate * 100)}%`;
1026
- mutationSlider.value = Math.round(mutationRate * 100);
1027
 
1028
  // Create new population
1029
  const newPopulation = [];
 
1018
  // Compute fitness
1019
  calculateFitness();
1020
 
 
 
 
 
1021
  mutationValue.textContent = `${Math.round(mutationRate * 100)}%`;
1022
+
1023
 
1024
  // Create new population
1025
  const newPopulation = [];