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: 181 classes, 12794 loc, 7959 lod
- Core functionality: 38 classes, 3553 loc, 2107 lod
- Memory management: 17 classes, 913 loc, 976 lod
- Variables, views, and variable implementations: 18 classes, 1419 loc, 815 lod
- Propagators: 14 classes, 882 loc, 425 lod
- Branchers: 47 classes, 2930 loc, 1647 lod
- Tracing support: 13 classes, 858 loc, 666 lod
- Miscellaneous: 34 classes, 2239 loc, 1323 lod
- Search engines: 85 classes, 6201 loc, 3908 lod
- Tracing support: 12 classes, 1099 loc, 343 lod
- Sequential search engines: 15 classes, 1500 loc, 907 lod
- Parallel search engines: 13 classes, 1666 loc, 894 lod
- Miscellaneous: 45 classes, 1936 loc, 1764 lod
- Integer and Boolean variables and constraints: 515 classes, 47884 loc, 23725 lod
- Variables, views, and variable implementations: 29 classes, 5714 loc, 3180 lod
- Propagators: 357 classes, 29155 loc, 13661 lod
- Branchers: 42 classes, 3241 loc, 1329 lod
- Posting propagators for constraints: 47 classes, 8545 loc, 4777 lod
- Tracing support: 4 classes, 327 loc, 316 lod
- Miscellaneous: 36 classes, 902 loc, 462 lod
- Set variables and constraints: 109 classes, 14297 loc, 8462 lod
- Variables, views, and variable implementations: 30 classes, 3512 loc, 1978 lod
- Propagators: 28 classes, 6129 loc, 3233 lod
- Branchers: 18 classes, 1543 loc, 1002 lod
- Posting propagators for constraints: 18 classes, 2619 loc, 1790 lod
- Tracing support: 2 classes, 189 loc, 209 lod
- Miscellaneous: 13 classes, 305 loc, 250 lod
- Float variables and constraints: 87 classes, 7275 loc, 5433 lod
- Variables, views, and variable implementations: 6 classes, 1497 loc, 1150 lod
- Propagators: 33 classes, 2795 loc, 1545 lod
- Branchers: 12 classes, 814 loc, 675 lod
- Posting propagators for constraints: 16 classes, 1851 loc, 1642 lod
- Tracing support: 2 classes, 130 loc, 172 lod
- Miscellaneous: 18 classes, 188 loc, 249 lod
- Minimal modeling support: 45 classes, 6802 loc, 2120 lod
- All: 45 classes, 6705 loc, 2054 lod
- Search: 0 classes, 97 loc, 66 lod
- Gist: 47 classes, 6414 loc, 2189 lod
- Script commandline driver: 25 classes, 1953 loc, 611 lod
- Range and value iterators: 49 classes, 2627 loc, 2339 lod
- Support algorithms and datastructures: 45 classes, 2795 loc, 2213 lod
- Example scripts: 106 classes, 94643 loc, 15574 lod
- Systematic tests: 587 classes, 85327 loc, 9510 lod
- Core functionality: 54 classes, 1782 loc, 717 lod
- Branchers: 25 classes, 1426 loc, 653 lod
- Integer and Boolean variables and constraints: 219 classes, 7892 loc, 2481 lod
- Set variables and constraints: 55 classes, 3849 loc, 944 lod
- Float variables and constraints: 87 classes, 2972 loc, 970 lod
- Minimal modeling support: 43 classes, 13170 loc, 486 lod
- Search: 18 classes, 836 loc, 211 lod
- FlatZinc interpreter: 86 classes, 53400 loc, 3048 lod
- FlatZinc interpreter: 56 classes, 6603 loc, 988 lod
- Branchers: 10 classes, 671 loc, 215 lod
- All: 46 classes, 5932 loc, 773 lod
The grand total: 1937 classes, 295615 loc, 85031 lod