Commit Graph

11 Commits

Author SHA1 Message Date
Stefan Müller 2ff41caf37 Added caching of calculated combinations per block for day 12 2024-11-19 22:58:15 +01:00
Stefan Müller 16e7528b34 Updated day 12 WIP performance refactor
- Added TValidationsToBlockAssignments to replace the loops in
  TConditionRecord.GenerateBlockAssignments
2024-11-19 18:14:14 +01:00
Stefan Müller ec6928679a Updated day 12 WIP performance refactor
- Added combinations calculation directly to the multi-index enumerable
  (TValidationPositionOffsets) and added new intermediate derived class
  TAccumulatedCombinationsMultiIndexStrategy to make this reusable for the other
  enumerables
- Removed TBinomialCoefficientCache instances and used new global instance instead
- Renamed TValidationToDamageAssignments to TDamageToValidationAssignments
2024-11-17 23:55:25 +01:00
Stefan Müller 05863842df Added TBlock to replace the block strings for day 12 2024-11-15 19:08:33 +01:00
Stefan Müller 1642c7dcfb Updated day 12 WIP solver (correct solution) 2024-11-12 19:16:12 +01:00
Stefan Müller 60ef49c1ee Updated day 12 WIP solver 2024-11-10 23:04:01 +01:00
Stefan Müller 1d399cc5b6 Updated day 12 WIP solver 2024-11-09 00:42:11 +01:00
Stefan Müller 151b5dc49a Updated day 12 WIP solver 2024-10-15 11:45:44 +02:00
Stefan Müller c0ee7894ae Added initial attempt for "Day 12: Hot Springs", part 2 including test cases 2024-07-03 20:48:50 +02:00
Stefan Müller d32297782c Fixed unused variables in THotSprings 2023-12-13 18:37:56 +01:00
Stefan Müller 64eeb98e85 Added solution for "Day 12: Hot Springs", part 1 2023-12-12 15:47:58 +01:00