Commit 32e0beb
Expose conflict count via Solver::conflicts()
statistics() prints the cumulative conflict count but there was no
programmatic accessor for it. Add int64_t Solver::conflicts() mirroring
redundant()/irredundant(), reading internal->stats.conflicts. Valid in
both VALID and SOLVING state so it can be queried between solve() calls.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 392e90f commit 32e0beb
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
689 | 698 | | |
690 | 699 | | |
691 | 700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1071 | 1079 | | |
1072 | 1080 | | |
1073 | 1081 | | |
| |||
0 commit comments