Skip to content

Commit

Permalink
Progress on solver interfaces docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierrog committed May 7, 2024
1 parent 69d4ba0 commit 59c9e32
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 307 deletions.
241 changes: 3 additions & 238 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ lto = "fat"
clap = { version = "^4", features = ["derive"] }
serde_json = "^1"
exitcode = "^1"
nalgebra = "^0"
colored = "^2"
anyhow = "^1"
bitvec = "^1"
regex = "^1"
Expand Down
4 changes: 2 additions & 2 deletions src/game/zero_by/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use crate::model::game::Variant;
use crate::model::game::{Player, PlayerCount, State};
use crate::model::solver::SUtility;
use crate::solver::algorithm::strong;
use crate::solver::{Extensive, SimpleUtility};
use crate::solver::{Sequential, SimpleUtility};

/* SUBMODULES */

Expand Down Expand Up @@ -216,7 +216,7 @@ impl Forward for Session {

/* SOLVING IMPLEMENTATIONS */

impl<const N: PlayerCount> Extensive<N> for Session {
impl<const N: PlayerCount> Sequential<N> for Session {
fn turn(&self, state: State) -> Player {
let (turn, _) = self.decode_state(state);
turn
Expand Down
Loading

0 comments on commit 59c9e32

Please sign in to comment.