按照stem翻转

This commit is contained in:
YuhangQ 2023-03-04 10:39:33 +00:00
parent b2df76e1de
commit 73ab1d168a
3 changed files with 2 additions and 3 deletions

BIN
atpg

Binary file not shown.

View File

@ -19,9 +19,8 @@ void Circuit::init_stems() {
for(auto& gate: gates) {
if(gate->outputs.size() >= 2) {
gate->stem = true;
}
gate->stem = true;
if(gate->stem) {
stems.push_back(gate);
}

View File

@ -91,7 +91,7 @@ static ll propagate_total_cost;
static int propagate_falsified_cnt;
static const int FAULT_INC = 1;
static const int FAULT_COST_MAX = 1e9;
static const int FAULT_COST_MAX = 20;
static ll fault_total_cost;
static int fault_falsified_cnt;