- Feb 15, 2009
-
-
Iustin Pop authored
-
Iustin Pop authored
This patch flattens the two folds into one, by simply building the whole list of moves instead of the double recursion (nodes and the each node's moves). This has no functional change, but it's much cleaner.
-
Iustin Pop authored
Currently we always compute the available node list for moves (for an instances) based on the nodes of the initial table. This works find, however is a repeated calculation. We optimize this by passing a node list (of indexes, not full objects), which helps in two ways: - faster to filter later - allows restriction of target nodes by enforcing only this subset as target for moves
-
Iustin Pop authored
-
Iustin Pop authored
-
Iustin Pop authored
This cleans up and splits the individual instance move into a separate function.
-
Iustin Pop authored
This patch changes the balancing algorithm to not iterate linearly over the instances (in a random, but fixed order), instead selecting at each step the best next move. This should allow a better score (most of the time), and usually also a shorter solution.
-
- Feb 14, 2009
-
-
Iustin Pop authored
This patch moves a function to Utils and changes hn1 to be able to take data from RAPI.
-
Iustin Pop authored
-
Iustin Pop authored
This patch changes the tryRapi function so that if the http request succeeded, we don't try https too.
-
Iustin Pop authored
... hopefully this is more clear.
-
- Feb 13, 2009
-
-
Iustin Pop authored
The patch adds compatibility with RAPI v1, and this required some new JSON functions as valFromObj doesn't behave nicely. Some other unrelated changes were done too.
-
Iustin Pop authored
-
Iustin Pop authored
-
Iustin Pop authored
We need to lookup the moving accumulator, of course.
-
- Feb 12, 2009
-
-
Iustin Pop authored
This patch changes the RAPI endpoint return the same data format as the input files. This will allow using it instead of the files.
-
Iustin Pop authored
This patch changes the format of the input node and instance lists. It removes the list of primary and secondary instances from the nodes, and adds the primary and secondary nodes to the instance list. This is done so that we can have the same input data from commands as from the RAPI.
-
- Feb 11, 2009
-
-
Iustin Pop authored
-
- Jan 28, 2009
-
-
Iustin Pop authored
This is the initial import of release 0.0.3.
-