mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
Merge branch 'master' of https://github.com/z3prover/z3
This commit is contained in:
commit
031e4cdb38
|
@ -78,10 +78,13 @@ int parse(string const & filename, map<string, map_entry> & data) {
|
|||
entry.num_instances = entry.max_generation = entry.max_cost = 0;
|
||||
}
|
||||
|
||||
// Existing entries represent previous occurrences of quantifiers
|
||||
// that, at some point, were removed (e.g. backtracked). We sum
|
||||
// up instances from all occurrences of the same qid.
|
||||
map_entry & entry = data[qid];
|
||||
entry.num_instances = atoi(tokens[1].c_str());
|
||||
entry.max_generation = (unsigned)atoi(tokens[2].c_str());
|
||||
entry.max_cost = (unsigned)atoi(tokens[3].c_str());
|
||||
entry.num_instances += atoi(tokens[1].c_str());
|
||||
entry.max_generation = max(entry.max_generation, (unsigned)atoi(tokens[2].c_str()));
|
||||
entry.max_cost = max(entry.max_cost, (unsigned)atoi(tokens[3].c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue