MCPcopy Create free account

hub / github.com/Bauxitedev/vehicle_evolver_deluxe / functions

Functions72 in github.com/Bauxitedev/vehicle_evolver_deluxe

↓ 5 callersMethodget_population
(&self)
src/genetics_simulator.rs:43
↓ 2 callersMethodbuild
(&self, app: &mut AppBuilder)
src/plugins/terrain_mesh.rs:9
↓ 2 callersMethodget_vehicle_states_mut
(&mut self)
src/vehicle_states.rs:37
↓ 2 callersMethodone_point_crossover
( &self, other: &Vehicle, crossover_point: usize, )
src/vehicle.rs:131
↓ 2 callersFunctionsetup_ball_joint
Note: b is assumed to be the wheel, a is fixed
src/plugins/vehicle_manager.rs:290
↓ 2 callersFunctionsetup_test_logger
()
src/utility.rs:21
↓ 2 callersFunctionspawn_joint
This cannot be a closure since it's generic
src/plugins/vehicle_manager.rs:278
↓ 1 callersMethodall_done
(&self)
src/vehicle_states.rs:27
↓ 1 callersMethodavg_fitness
(&self)
src/genetics_simulator.rs:68
↓ 1 callersMethodbuild
(&self, app: &mut AppBuilder)
src/plugins/background.rs:13
↓ 1 callersMethodbuild
(&self, app: &mut AppBuilder)
src/plugins/spawn_indicator.rs:10
↓ 1 callersFunctionbuild_rect_uvs
Source: https://github.com/JosePedroDias/rust_experiments/blob/main/bevy/src/shapes/rect.rs
src/plugins/background.rs:76
↓ 1 callersFunctionbuild_terrain
( cmd: &mut Commands, triangles: &[([f32; 2], [f32; 2], [f32; 2])], config: &RapierConfiguration,
src/plugins/terrain_mesh.rs:100
↓ 1 callersMethodcrossover
(&mut self, parents: &Pop)
src/genetics_simulator.rs:155
↓ 1 callersMethodfill_in_fitness
(&mut self, map: &GlobalFitnessMap)
src/genetics_simulator.rs:51
↓ 1 callersMethodfinalize_vehicle
(&mut self, VehicleID(i): VehicleID)
src/vehicle_states.rs:84
↓ 1 callersMethodget_generational_statistics
(&self)
src/genetics_simulator.rs:39
↓ 1 callersFunctionget_pair_isometries_fixedjoint
Takes two world positions and gets two local isometries
src/plugins/vehicle_manager.rs:270
↓ 1 callersMethodget_population_vehicles
(&self)
src/genetics_simulator.rs:47
↓ 1 callersMethodget_vehicle_states
(&self)
src/vehicle_states.rs:33
↓ 1 callersFunctioninitialize_vehicle_sim
()
src/plugins/genetics.rs:259
↓ 1 callersFunctioninvlerp
(a: f32, b: f32, t: f32)
src/utility.rs:47
↓ 1 callersFunctionmake_fitness_plot
(ui: &mut Ui, gen: &[GenerationalStatistics])
src/plugins/genetics.rs:175
↓ 1 callersMethodmax_fitness
(&self)
src/genetics_simulator.rs:76
↓ 1 callersMethodmutate
(&mut self, amount: usize)
src/vehicle.rs:87
↓ 1 callersMethodoverwrite_population
(&mut self, pop: Vec<Vehicle>)
src/genetics_simulator.rs:113
↓ 1 callersMethodpop_vehicles
(&mut self, limit: usize)
src/vehicle_states.rs:41
↓ 1 callersMethodset_fitness
(&mut self, VehicleID(i): VehicleID, new_fitness: i64, fell_apart: bool)
src/vehicle_states.rs:73
↓ 1 callersFunctionsetup_fixed_joint
(a: &EntityCell, b: &EntityCell, commands: &mut Commands)
src/plugins/vehicle_manager.rs:297
↓ 1 callersFunctionsetup_joints
(commands: &mut Commands, entities: Array2<Option<EntityCell>>)
src/plugins/vehicle_manager.rs:268
↓ 1 callersFunctionsetup_panels
( vehicle: &Vehicle, vehicle_id: VehicleID, color: Color, configuration: &RapierConfiguration,
src/plugins/vehicle_manager.rs:171
↓ 1 callersMethodstep
(&mut self, params: &SimulationParams)
src/genetics_simulator.rs:84
↓ 1 callersMethodtournament_selection
(&self, k: usize, n: usize)
src/genetics_simulator.rs:117
↓ 1 callersMethoduniform_crossover
(&self, other: &Vehicle)
src/vehicle.rs:107
↓ 1 callersFunctionwindow_to_world
https://stackoverflow.com/a/65633668
src/utility.rs:9
Methodbuild
(&self, app: &mut AppBuilder)
src/plugins/camera.rs:17
Methodbuild
(&self, app: &mut AppBuilder)
src/plugins/genetics.rs:26
Methodbuild
(&self, app: &mut AppBuilder)
src/plugins/vehicle_manager.rs:19
Functioncalculate_fitness_of_current_vehicles
( query: Query<(&Transform, &BlockComponent)>, mut vehicle_states: ResMut<VehicleStates>, vehicle_
src/plugins/genetics.rs:203
Functioncamera_controls
( mut ev_cursor: EventReader<MouseWheel>, windows: Res<Windows>, egui_ctx: ResMut<EguiContext>,
src/plugins/camera.rs:30
Functioncamera_lock
( params: Res<SimulationParams>, gui_state: Res<GeneticsGuiState>, mut vehicle_states: ResMut<Vehi
src/plugins/camera.rs:72
Methoddefault
()
src/plugins/genetics.rs:60
Methoddefault
()
src/plugins/vehicle_manager.rs:90
Functionevolve_if_finished
( mut sim: ResMut<GeneticsSimulator>, mut vehicle_states: ResMut<VehicleStates>, map: Res<GlobalFi
src/plugins/genetics.rs:271
Functionfix_textures
( mut events: EventReader<AssetEvent<Texture>>, asset_server: Res<AssetServer>, mut assets: ResMut
src/main.rs:113
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/vehicle.rs:24
Methodfmt
(&self, f: &mut Formatter<'_>)
src/vehicle_states.rs:157
Methodfrom
(blocks: Vec<Block>)
src/vehicle.rs:81
Methodfrom
(pop: Vec<Vehicle>)
src/vehicle_states.rs:23
Functionhide_loading_text
(#[cfg(target_arch = "wasm32")] windows: Res<WinitWindows>)
src/main.rs:93
Functionhide_unhovered_vehicles
( query: Query<(&Handle<ColorMaterial>, &mut Transform, &BlockComponent)>, gui_state: Res<GeneticsGuiS
src/plugins/vehicle_manager.rs:33
Functioninit
()
src/main.rs:140
Functionmain
()
src/main.rs:25
Functionmake_gui
( egui_context: ResMut<EguiContext>, vehicle_states: Res<VehicleStates>, sim: NonSend<GeneticsSimu
src/plugins/genetics.rs:81
Functionmaybe_spawn_vehicle
( mut commands: Commands, asset_server: Res<AssetServer>, mut materials: ResMut<Assets<ColorMateri
src/plugins/vehicle_manager.rs:99
Functionmove_parallax
( query_parallax: Query<(&mut Transform, &ParallaxComponent), Without<Camera>>, query_green_screen: Qu
src/plugins/background.rs:55
Methodnew
(population_size: usize)
src/genetics_simulator.rs:23
Methodnew
()
src/vehicle.rs:55
Methodnew
()
src/vehicle_states.rs:14
Methodnew_empty
()
src/vehicle.rs:71
Methodnew_fill_with
(b: Block)
src/vehicle.rs:75
Methodnew_with_rng
(mut rng: R)
src/vehicle.rs:60
Methodprint_pop
(&self)
src/genetics_simulator.rs:151
Functionsetup
(mut commands: Commands, asset_server: Res<AssetServer>)
src/main.rs:83
Functionsetup_genetics
(world: &mut World)
src/plugins/genetics.rs:251
Functionsetup_green_screen
(mut commands: Commands)
src/plugins/background.rs:128
Functionsetup_physics
TODO move this to its own plugin or main
src/plugins/vehicle_manager.rs:78
Functionsetup_shape
(mut commands: Commands)
src/plugins/spawn_indicator.rs:15
Functionspawn_bg
( asset_server: Res<AssetServer>, mut materials: ResMut<Assets<ColorMaterial>>, mut meshes: ResMut
src/plugins/background.rs:26
Functionspawn_finish_flag
( asset_server: Res<AssetServer>, mut materials: ResMut<Assets<ColorMaterial>>, mut cmd: Commands,
src/plugins/terrain_mesh.rs:15
Functionspawn_meshes
( mut cmd: Commands, mut ev_asset: EventReader<AssetEvent<Mesh>>, assets: ResMut<Assets<Mesh>>,
src/plugins/terrain_mesh.rs:40
Functiontest
()
src/vehicle.rs:167