FutureMoveConfig: improve display impl
This commit is contained in:
parent
6672b61462
commit
681479ce4e
@ -50,9 +50,15 @@ pub struct FutureMoveConfig {
|
|||||||
impl std::fmt::Display for FutureMoveConfig {
|
impl std::fmt::Display for FutureMoveConfig {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
write!(f, "D{} ", self.max_depth)?;
|
write!(f, "D{} ", self.max_depth)?;
|
||||||
write!(f, "MD{} ", self.min_arena_depth)?;
|
if !self.do_not_prune {
|
||||||
write!(f, "K{} ", self.top_k_children)?;
|
write!(f, "MD{} ", self.min_arena_depth)?;
|
||||||
write!(f, "UM{} ", self.up_to_minus)?;
|
write!(f, "K{} ", self.top_k_children)?;
|
||||||
|
write!(f, "UM{} ", self.up_to_minus)?;
|
||||||
|
} else {
|
||||||
|
write!(f, "MD_ ")?;
|
||||||
|
write!(f, "K_ ")?;
|
||||||
|
write!(f, "UM_ ")?;
|
||||||
|
}
|
||||||
if self.max_arena_size == usize::MAX {
|
if self.max_arena_size == usize::MAX {
|
||||||
write!(f, "SMAX ")?;
|
write!(f, "SMAX ")?;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user