Gecode code statistics
The following approximate breakdown into the different parts of Gecode gives some statistics about the amount of code and documentation contained in the code (as comments) where blank lines are excluded.
The abbreviation "loc" means "lines of code" and "lod" means "lines of documentation".
- Kernel: 139 classes, 9805 loc, 6568 lod
- Core functionality: 30 classes, 2668 loc, 1863 lod
- Memory management: 11 classes, 745 loc, 885 lod
- Variables, views, and variable implementations: 18 classes, 1325 loc, 764 lod
- Propagators: 15 classes, 844 loc, 384 lod
- Branchers: 37 classes, 2213 loc, 1414 lod
- Miscellaneous: 28 classes, 2010 loc, 1258 lod
- Search engines: 39 classes, 2986 loc, 2446 lod
- Sequential search engines: 4 classes, 509 loc, 304 lod
- Parallel search engines: 8 classes, 1095 loc, 745 lod
- Meta-search engines: 4 classes, 482 loc, 289 lod
- Miscellaneous: 23 classes, 900 loc, 1108 lod
- Integer and Boolean variables and constraints: 493 classes, 45020 loc, 23152 lod
- Variables, views, and variable implementations: 29 classes, 5576 loc, 3255 lod
- Propagators: 355 classes, 27660 loc, 13961 lod
- Branchers: 43 classes, 3122 loc, 1360 lod
- Posting propagators for constraints: 33 classes, 7806 loc, 4151 lod
- Miscellaneous: 33 classes, 856 loc, 425 lod
- Set variables and constraints: 102 classes, 13473 loc, 8325 lod
- Variables, views, and variable implementations: 30 classes, 3497 loc, 2043 lod
- Propagators: 28 classes, 5948 loc, 3431 lod
- Branchers: 17 classes, 1402 loc, 998 lod
- Posting propagators for constraints: 15 classes, 2364 loc, 1653 lod
- Miscellaneous: 12 classes, 262 loc, 200 lod
- Float variables and constraints: 77 classes, 6704 loc, 4832 lod
- Variables, views, and variable implementations: 6 classes, 1496 loc, 1176 lod
- Propagators: 32 classes, 2607 loc, 1493 lod
- Branchers: 11 classes, 714 loc, 647 lod
- Posting propagators for constraints: 12 classes, 1717 loc, 1319 lod
- Miscellaneous: 16 classes, 170 loc, 197 lod
- Minimal modeling support: 40 classes, 6433 loc, 2053 lod
- All: 40 classes, 6368 loc, 1979 lod
- Search: 0 classes, 65 loc, 74 lod
- Gist: 47 classes, 6411 loc, 2360 lod
- Script commandline driver: 21 classes, 1553 loc, 570 lod
- Range and value iterators: 49 classes, 2626 loc, 2491 lod
- Support algorithms and datastructures: 35 classes, 2312 loc, 2033 lod
- Example scripts: 104 classes, 80922 loc, 15128 lod
- Systematic tests: 571 classes, 83890 loc, 10058 lod
- Core functionality: 55 classes, 1837 loc, 755 lod
- Branchers: 25 classes, 1400 loc, 689 lod
- Integer and Boolean variables and constraints: 207 classes, 7097 loc, 2529 lod
- Set variables and constraints: 55 classes, 3468 loc, 982 lod
- Float variables and constraints: 86 classes, 2913 loc, 1007 lod
- Minimal modeling support: 42 classes, 13132 loc, 501 lod
- Search: 15 classes, 644 loc, 199 lod
- FlatZinc interpreter: 86 classes, 53399 loc, 3396 lod
- FlatZinc interpreter: 45 classes, 5458 loc, 801 lod
The grand total: 1762 classes, 267593 loc, 80817 lod