Added builder for History, and start migrating test to use builder instead.
This commit is contained in:
11
src/lib.rs
11
src/lib.rs
@@ -11,18 +11,17 @@ mod history;
|
||||
mod message;
|
||||
mod player;
|
||||
|
||||
use gaussian::Gaussian;
|
||||
use message::DiffMessage;
|
||||
|
||||
pub use game::Game;
|
||||
pub use gaussian::Gaussian;
|
||||
pub use history::History;
|
||||
use message::DiffMessage;
|
||||
pub use player::Player;
|
||||
|
||||
const BETA: f64 = 1.0;
|
||||
pub const BETA: f64 = 1.0;
|
||||
pub const MU: f64 = 0.0;
|
||||
pub const SIGMA: f64 = BETA * 6.0;
|
||||
const GAMMA: f64 = BETA * 0.03;
|
||||
const P_DRAW: f64 = 0.0;
|
||||
pub const GAMMA: f64 = BETA * 0.03;
|
||||
pub const P_DRAW: f64 = 0.0;
|
||||
pub const EPSILON: f64 = 1e-6;
|
||||
pub const ITERATIONS: usize = 30;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user