Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed May 27, 2024
1 parent f00b289 commit 6a1c8be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions data/input/default-genetic-main-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"survivalRate": 0.3,
"crossoverRate": 0.5
},
"initial": {
"ATOMS_COUNT": 300,
"MIN_POSITION": [0, 0],
"MAX_POSITION": [800, 800]
},
"runner": {
"checkpoints": [200, 1, 1, 1, 1, 1, 50, 1, 1, 1, 1, 1, 50, 1, 1, 1, 1, 1, 20, 1, 1, 1, 1, 1],
"repeats": 3
},
"mutation": {
"probability": 0.1
},
"initial": {
"ATOMS_COUNT": 300,
"MIN_POSITION": [0, 0],
"MAX_POSITION": [800, 800]
}
}
2 changes: 1 addition & 1 deletion src/scripts/lib/genetic/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs";
import type { InitialConfig, RandomTypesConfig, TypesConfig, WorldConfig } from "@/lib/types/config";
import type { SimulationConfig } from "@/lib/types/simulation";
import type { TotalSummaryWeights } from "@/lib/types/analysis";
import type { GeneticMainConfig, GeneticSearchMacroConfig, RunnerStrategyConfig } from "@/lib/types/genetic";
import type { GeneticMainConfig } from "@/lib/types/genetic";
import { createWorldConfig2d } from "@/lib/config/world";
import { formatJsonString } from "./helpers";

Expand Down

0 comments on commit 6a1c8be

Please sign in to comment.