25 Commits

Author SHA1 Message Date
Chinmay Garde
49d14caa69 Make the midpoints test pass. Fixes incorrect Row.reverseSign 2015-06-25 17:07:15 -07:00
Chinmay Garde
20908034d5 Make constraint priority setup more expressive 2015-06-25 16:24:21 -07:00
Chinmay Garde
2f3e5aa70b Add toString() overrides to internal solver members 2015-06-25 14:30:37 -07:00
Chinmay Garde
9d075adabb Minor: Add tests to check for addition of multiple constraints 2015-06-25 12:20:10 -07:00
Chinmay Garde
a029c93ed1 Remove the << overload on solver. Operator precendence rules made it awkward to use anyway 2015-06-25 12:11:00 -07:00
Chinmay Garde
882a17f75b Minor: Add more tests 2015-06-25 11:45:47 -07:00
Chinmay Garde
8be3c640cc Minor: Refactor -> Rename internal private methods in the solver 2015-06-25 10:25:33 -07:00
Chinmay Garde
7dcd8115c3 Avoid exposing internal classes from the cassowary library 2015-06-24 18:18:58 -07:00
Chinmay Garde
891085b74b Allow updating external variables from the solver 2015-06-24 18:03:21 -07:00
Chinmay Garde
d4a67499e9 Implement Solver.suggestValue 2015-06-24 17:53:41 -07:00
Chinmay Garde
436f272a09 Avoid using variables as equation members 2015-06-24 16:48:02 -07:00
Chinmay Garde
9ea8abd5af Allow constraint creation from multiplication and division when at least one argument is a constant expression 2015-06-24 14:52:46 -07:00
Chinmay Garde
5137e03c9d Add support for updating edits 2015-06-24 13:23:31 -07:00
Chinmay Garde
8187c6852b Allow removal of constraints from the solver 2015-06-24 12:41:54 -07:00
Chinmay Garde
9beb286180 Account for the result of optimization when adding constraints 2015-06-23 18:07:56 -07:00
Chinmay Garde
b78b35d723 Implement addition of constraints to the solver 2015-06-23 18:01:17 -07:00
Chinmay Garde
af67d08746 Minor: Add result types for known failure cases 2015-06-23 13:58:44 -07:00
Chinmay Garde
530700a8c1 Implement row.dart and some other minor utility methods 2015-06-23 13:22:48 -07:00
Chinmay Garde
306c795c21 Minor: Add stubs for the symbol and solver 2015-06-23 09:50:52 -07:00
Chinmay Garde
e788fe538f Minor: Match style guide 2015-06-22 15:07:02 -07:00
Chinmay Garde
7eb8322315 Dry up multiplication and division of equation members 2015-06-22 15:02:31 -07:00
Chinmay Garde
5288d466ab Dry up incremental expression construction from constants, variable, terms and other expressions 2015-06-22 14:39:55 -07:00
Chinmay Garde
a8e6ea0698 Constraints can be setup directly from non-expression via operator overrides 2015-06-22 14:31:46 -07:00
Chinmay Garde
2152de9a51 Minor: Add support for priority updates on constraints 2015-06-22 12:29:33 -07:00
Chinmay Garde
f6a323620e Initial Commit 2015-06-22 10:49:09 -07:00