-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What changes have you made to cassowary? #1
Comments
On 12/4/13 7:04 AM, numinasthmatic wrote:
I only worked on the java version, and I focused (so far) only on However I did manage to achieve a major performance boost. Primarily by Erwin |
Hi Erwin, Thanks for getting back to me. I don't have a mathematical background, so I struggle to understand the algorithm, but I'm going to try to dissect it. Do you understand the maths of the simplex and the modifications that were done by Badros and Borning? What I would like to do is separate out the standard simplex from the adjustments they have made for the edits and stays, if that is possible. The purpose would be to gain a better understanding of the algorithm, which might point the way to some improvements. I started a project back in 2009 to update the JFlex, CUP and Cassowary project to use Java 1.6 Collections, generics and enums. That stalled when I couldn't get my changes accepted by the JFlex project. There was also the problem that the CUP developers were in the process of a complete rewrite of CUP. Peter West "Have you believed because you have seen me? Blessed are those who have not seen and yet believe." On 12/04/2013, at 3:12 PM, Erwin Bolwidt [email protected] wrote:
|
Hi, I understand the idea behind linear constraint solving, and a little bit But cassowary isn't being maintained. The java code was written by C++ Did you find the cassowary paper? This page is a simpler description: Erwin On 12/4/13 9:00 PM, numinasthmatic wrote:
|
Thanks Erwin, I have read the B&B paper, which is available on the Cassowary web site. The other reference was very informative, especially the video. Trying to build your project under NetBeans, I see the following problems. Some problems were encountered while building the effective model for org.klomp:cassowary:jar:1.0.0-SNAPSHOT It is highly recommended to fix these problems because they threaten the stability of your build. For this reason, future Maven versions might no longer support building such malformed projects. and T E S T SRunning org.klomp.cassowary.AddDelResolversTest Results : Failed tests: requiredEditVar(org.klomp.cassowary.CassowaryTest): _editVarMap.size() > 0 Tests run: 14, Failures: 1, Errors: 0, Skipped: 0 The problem is with the assert in ClSimplexSolver.java // beginEdit() should be called before sending // resolve() messages, after adding the appropriate edit variables public final ClSimplexSolver beginEdit() throws CLInternalError { assert _editVarMap.size() > 0 : "_editVarMap.size() > 0"; // may later want to do more in here _infeasibleRows.clear(); resetStayConstants(); _stkCedcns.addFirst(new Integer(_editVarMap.size())); return this; } Peter West "Have you believed because you have seen me? Blessed are those who have not seen and yet believe." On 12/04/2013, at 11:26 PM, Erwin Bolwidt [email protected] wrote:
|
Hi,
Can you tell me what changes you have hade to the original cassowary?
Thanks.
The text was updated successfully, but these errors were encountered: