Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/addisoncrump/parking-game-fuzzer
/ functions
Functions
49 in github.com/addisoncrump/parking-game-fuzzer
⨍
Functions
49
◇
Types & classes
18
↓ 10 callers
Method
final_board_all
(&mut self, _board: &Board<impl Deref<Target = State<T>>, T>)
src/observers.rs:38
↓ 4 callers
Method
observers_mut
(&mut self)
src/executor.rs:39
↓ 3 callers
Method
state
The state contained within this metadata.
src/feedbacks.rs:123
↓ 3 callers
Method
views
An iterator over what's viewable by each car. The objective car will be the first entry.
src/feedbacks.rs:50
↓ 2 callers
Method
hash
(&self)
src/observers.rs:107
↓ 2 callers
Method
moves
The moves contained within this inputs. This is stored as a sequence of pairs of (1) car that is moved and (2) which direction.
src/input.rs:23
↓ 2 callers
Method
run_target
( &mut self, _fuzzer: &mut Z, state: &mut S, _mgr: &mut EM, input: &PG
src/executor.rs:50
↓ 2 callers
Function
step_until_seen
Returns the number of units that the car in this position could potentially move in the provided direction.
src/observers.rs:219
↓ 1 callers
Method
final_board
(&mut self, board: &Board<impl Deref<Target = State<T>>, T>)
src/observers.rs:98
↓ 1 callers
Method
forward
The view ahead of the car (if the car is oriented [`Orientation::LeftRight`], the view will have [`Direction::Right`]; otherwise, it will be [`Directi
src/observers.rs:177
↓ 1 callers
Method
name
(&self)
src/feedbacks.rs:36
↓ 1 callers
Method
observed
The car observed in this view, or [`None`] if we don't see a car (i.e. the closest thing is a wall).
src/observers.rs:145
Method
append_metadata
( &mut self, _state: &mut S, _manager: &mut EM, observers: &OT, testca
src/feedbacks.rs:77
Method
backward
The view behind the car (if the car is oriented [`Orientation::LeftRight`], the view will have [`Direction::Left`]; otherwise, it will be [`Direction:
src/observers.rs:171
Method
clear_progress
(&mut self, _state: &mut S)
src/stages.rs:35
Method
default
()
src/observers.rs:70
Method
direction
The direction of this view.
src/observers.rs:139
Method
distance
The distance from us to the obstacle (in terms of how many moves we can make before colliding with the obstacle).
src/observers.rs:151
Method
distance_mut
The distance, but mutable.
src/observers.rs:156
Function
distinguish_states
()
src/observers.rs:392
Function
example_observation
()
src/feedbacks.rs:353
Method
final_board
(&mut self, board: &Board<impl Deref<Target = State<T>>, T>)
src/observers.rs:19
Method
final_state
The final state observed -- if it exists (which, it will not if there is an error!).
src/observers.rs:64
Method
flush
(&mut self)
src/observers.rs:83
Method
init_state
(&mut self, state: &mut S)
src/feedbacks.rs:222
Method
initial
The initial state which this executor is going to advance.
src/executor.rs:26
Method
is_interesting
( &mut self, _state: &mut S, _manager: &mut EM, _input: &PGInput, _obs
src/feedbacks.rs:65
Function
main
()
src/main.rs:121
Method
moves_mut
A mutable reference to the sequence of moves in this input, for use in mutators.
src/input.rs:28
Method
mutate
(&mut self, state: &mut S, input: &mut PGInput)
src/mutators.rs:47
Method
name
(&self)
src/observers.rs:76
Method
name
(&self)
src/mutators.rs:36
Method
new
Create a new [`ViewFeedback`] which will interpret from the provided [`ViewObserver`].
src/feedbacks.rs:28
Method
new
Create a new [`PGInput`] from the provided sequence of moves.
src/input.rs:16
Method
new
Create a new executor for the provided state with the provided observers.
src/executor.rs:19
Method
new
Create a new [`View`] in the given direction.
src/observers.rs:130
Method
new
Construct a [`PGRandMutator`] for the given state.
src/mutators.rs:27
Method
new
Create a new mutation stage for the provided initial state.
src/stages.rs:23
Method
observers
(&self)
src/executor.rs:35
Function
parse_map
Parses a map with the following rules: 1. Empty spaces are denoted with `.`. 2. The car which must be moved to the objective is referenced with `o`. T
src/main.rs:29
Method
perform
( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager:
src/stages.rs:56
Method
post_exec
(&mut self, _state: &mut S, _new_corpus_id: Option<CorpusId>)
src/mutators.rs:67
Method
pre_exec
(&mut self, _state: &mut S, _input: &PGInput)
src/observers.rs:88
Method
should_restart
(&mut self, _state: &mut S)
src/stages.rs:31
Function
simple_observation
()
src/observers.rs:272
Function
simple_run_check
()
src/executor.rs:113
Function
simple_solved
()
src/feedbacks.rs:299
Function
simple_unsolved
()
src/feedbacks.rs:326
Method
views
An iterator over the views. The objective car will be the first.
src/observers.rs:190