mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-07 14:18:18 +02:00
clusterlin: adopt trained cost model (feature)
See the comments for the SFLDefaultCostModel class for details on how the numbers were obtained.
This commit is contained in:
@@ -1021,6 +1021,7 @@ FUZZ_TARGET(clusterlin_linearize)
|
||||
try {
|
||||
reader >> VARINT(max_cost) >> Using<DepGraphFormatter>(depgraph) >> rng_seed >> flags;
|
||||
} catch (const std::ios_base::failure&) {}
|
||||
if (depgraph.TxCount() <= 1) return;
|
||||
bool make_connected = flags & 1;
|
||||
// The following 3 booleans have 4 combinations:
|
||||
// - (flags & 6) == 0: do not provide input linearization.
|
||||
|
||||
Reference in New Issue
Block a user