suppressed warnings
This commit is contained in:
parent
69dcdef9ca
commit
d977aa1fc2
1 changed files with 10 additions and 10 deletions
|
@ -8,27 +8,27 @@ pub enum Objective {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct SimulatedController {
|
pub struct SimulatedController {
|
||||||
simulations_per_move: usize,
|
_simulations_per_move: usize,
|
||||||
length_of_simulation: usize,
|
_length_of_simulation: usize,
|
||||||
objective: Objective,
|
_objective: Objective,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SimulatedController {
|
impl SimulatedController {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
simulations_per_move: usize,
|
_simulations_per_move: usize,
|
||||||
length_of_simulation: usize,
|
_length_of_simulation: usize,
|
||||||
objective: Objective,
|
_objective: Objective,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
simulations_per_move,
|
_simulations_per_move,
|
||||||
length_of_simulation,
|
_length_of_simulation,
|
||||||
objective,
|
_objective,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Controller for SimulatedController {
|
impl Controller for SimulatedController {
|
||||||
fn next_move(&mut self, grid: &Grid) -> Result<Move, ControllerError> {
|
fn next_move(&mut self, _grid: &Grid) -> Result<Move, ControllerError> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue