style
This commit is contained in:
@@ -437,7 +437,7 @@ where
|
|||||||
type Stats = SessionStats<G::Stats>;
|
type Stats = SessionStats<G::Stats>;
|
||||||
type Config = SessionConfig<G::Config>;
|
type Config = SessionConfig<G::Config>;
|
||||||
type Instruction = SessionInstruction<G::Instruction>;
|
type Instruction = SessionInstruction<G::Instruction>;
|
||||||
fn score(&self, stats: &Self::Stats, config: &Self::Config) -> i32 {
|
fn score(&self, stats: &Self::Stats, config: &Self::Config) -> Self::Score {
|
||||||
self.state.score(&stats.inner, &config.inner) + stats.undos as i32 * config.undo_penalty
|
self.state.score(&stats.inner, &config.inner) + stats.undos as i32 * config.undo_penalty
|
||||||
}
|
}
|
||||||
fn possible_instructions(
|
fn possible_instructions(
|
||||||
|
|||||||
Reference in New Issue
Block a user