Xavier Wang

Results 149 comments of Xavier Wang

I need rethought this thing, because now I changed the API it export. Can you give me some insight about how you will use this function?

But if you don't add width to amoeba, it can't know whether it need under constraint. It's somewhat "business related" in this case.

@dumblob this is acceptable I think. can you give some examples or definitions for the plugin interface?

I'm writing a C++11 wrapper, too. And I also find this issue. the amoeba.lua is a pure Lua implement, but lua_amoeba.c is real a Lua binding for C implement of...

A idea, if I add some routines to copy/assignment data across solver, maybe we could make a static solver for allocate temporary objects, and copy it into the solver it...

1. yes, it merge two constraint from same solver. merge(a > 10, a > 20) == 2*a > 30 if you treat constraint as expression, merge means add two expression....

constraint is just like expression, e.g. x >= 10 means x - 10 >= 0, so constraint only have two state (kiwi has three state, >=, = 0.0 addterm(a, 1.0)...

you can't. the solver is just like a arena, all object allocated by it. after delete solver, all object relate with it (variables, constraints, etc) are all freed, if you...

yes, even if you call usevariable. And you needn't duplicate this logic, even needn't do e.g. Merge the same variable. I just recorded all expressions using a vector, and leave...

Can swift override operators? If it can't,you just need bind the current interface, and if it can, you could record the expressions, yet. Because operators always create new object, amoeba...