Closed krypt-lynx closed 4 years ago
It's a long time since I've used this library, so I'm afraid I can't really remember these kinds of details, sorry :(
The original library which I forked was a port of this project. In particular this paper describes the details of the algorithm.
Thanks. Is it that thesis mentioned in original repository?
Yep, it's link #2 in the readme.
Hi! I did quite a few changes in my repo (https://github.com/krypt-lynx/Cassowary.net)
Not creating merge requests because changes are making my fork incompatible with yours.
Also, looks like the original author cheated in his thesis... In this implementation Strengths are not sorted by order, like he states in it. So, Medium with weight = 1001 overpowers Strong with weight = 1 :( Also, ClStrengths and Epsilon values appears to be finetuned. (changing them breaks unit tests)
ClStrength
andClSymbolicWeight
, first requires second and ClSymbolicWeight requires 3 numbers to init. What are those numbers?Basically, I'm trying to understood it in terms of Apple's AutoLayout