Bone-Market-Solver/bonemarketsolver/objects
Jeremy Saklad 17add382ec
Replace BoneMarketModel.NewIntermediateBoolVar
The replacement method, BoolExpression, accepts a
BoundedLinearExpression directly, and uses memoization to reuse Boolean
variables. This technique is unsuitable for other methods, as
constraints need to be applied separately, but in this case it is fine.

The new method is much easier to understand, and far easier to read at
call sites.

Variable names are generated from the expression, rather than being
explicitly specified.
2021-10-15 15:04:37 -05:00
..
action.py Refactor Action as data class 2021-09-18 19:18:39 -05:00
blacklistaction.py Add __slots__ to internal parser types 2021-09-18 19:18:39 -05:00
bone_market_model.py Replace BoneMarketModel.NewIntermediateBoolVar 2021-10-15 15:04:37 -05:00
bonemarketargumentparser.py Add __slots__ to internal parser types 2021-09-18 19:18:39 -05:00
enumaction.py Add __slots__ to internal parser types 2021-09-18 19:18:39 -05:00
listaction.py Use f-strings and multiline strings 2021-09-18 20:01:30 -05:00