From a7843587f7a0f8aa1404eb826980afcf27ddf806 Mon Sep 17 00:00:00 2001 From: shenjack-5600u <3695888@qq.com> Date: Sat, 27 Apr 2024 10:37:18 +0800 Subject: [PATCH] ruaaaa --- miner/src/cacluate.rs | 21 +-------------------- miner/src/main.rs | 4 ++-- miner/src/name.rs | 41 +++++++++++++++++++++++++++++++++++++++-- 3 files changed, 42 insertions(+), 24 deletions(-) diff --git a/miner/src/cacluate.rs b/miner/src/cacluate.rs index 910c517..8621a10 100644 --- a/miner/src/cacluate.rs +++ b/miner/src/cacluate.rs @@ -123,25 +123,6 @@ pub fn cacl(config: CacluateConfig, id: u64, outfile: &PathBuf) { let xu_qd = crate::evaluate::xuping::XuPing2_0_1015_QD::evaluate(&namer); - // debug!("Id:{:>15}|{:>5}|{}|{}", i, full_name, xu, show_name(&namer)); - - // let skill_sum: u32 = { - // let mut sum: u32 = 0; - // for i in namer.skl_freq.iter() { - // sum += *i as u32; - // } - // sum - // }; - // if namer.get_净化() < 70 { - // continue; - // } - // if namer.get_幻术() < 20 { - // continue; - // } - // if skill_sum < 150 { - // continue; - // } - get_count += 1; info!("Id:{:>15}|{}|{}|{}", i, full_name, xu, namer.get_info()); @@ -151,7 +132,7 @@ pub fn cacl(config: CacluateConfig, id: u64, outfile: &PathBuf) { full_name, xu, xu_qd, - namer.get_info() + namer.get_info_csv() ); // 写入 (写到最后一行) diff --git a/miner/src/main.rs b/miner/src/main.rs index fcf9071..3ca6e09 100644 --- a/miner/src/main.rs +++ b/miner/src/main.rs @@ -67,9 +67,9 @@ fn main() { let mut threads = Vec::with_capacity(cli_arg.thread_count as usize); let now = chrono::Local::now().format("%Y-%m-%d_%H-%M-%S").to_string(); - // namerena--