Fixing linux based paths
This commit is contained in:
parent
797b526f10
commit
30db8b31e7
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ use uuid::Uuid;
|
||||||
|
|
||||||
use self::neural_network_utility::{crossbreed, major_mutation};
|
use self::neural_network_utility::{crossbreed, major_mutation};
|
||||||
|
|
||||||
const BASE_DIR: &str = "..\\Simulations";
|
const BASE_DIR: &str = "../Simulations";
|
||||||
const POPULATION: usize = 200;
|
const POPULATION: usize = 200;
|
||||||
|
|
||||||
const NEURAL_NETWORK_INPUTS: usize = 22;
|
const NEURAL_NETWORK_INPUTS: usize = 22;
|
||||||
|
|
@ -57,7 +57,7 @@ const SIMULATION_ROUNDS: usize = 5;
|
||||||
const SURVIVAL_RATE_MIN: f32 = 0.1;
|
const SURVIVAL_RATE_MIN: f32 = 0.1;
|
||||||
const SURVIVAL_RATE_MAX: f32 = 0.9;
|
const SURVIVAL_RATE_MAX: f32 = 0.9;
|
||||||
const GAME_EXECUTABLE_PATH: &str =
|
const GAME_EXECUTABLE_PATH: &str =
|
||||||
"..\\Linux_Static_Library\\AI_Fight_Sim\\Binaries\\Linux\\AI_Fight_Sim";
|
"../Linux_Static_Library/AI_Fight_Sim/Binaries/Linux/AI_Fight_Sim";
|
||||||
|
|
||||||
// Here is the folder structure for the FighterNN:
|
// Here is the folder structure for the FighterNN:
|
||||||
// base_dir/fighter_nn_{fighter_id}/{generation}/{fighter_id}_fighter_nn_{nn_id}.net
|
// base_dir/fighter_nn_{fighter_id}/{generation}/{fighter_id}_fighter_nn_{nn_id}.net
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue