You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//TODO: shift storage left positions based on penalties
lefts.emplace_back(std::move(left));
}
Particularly, what this code should do to match the scheduler described in the paper is to use dynamic programming to find coordinates adjustments to the gaps / left edges that minimize the total number of stitches moved at optimal alignment.
Without these steps, tubes end up moved long distances for no reason (e.g., when knitting the cactus, each tube is shifted all the way to the left after the split instead of staying on its expected needles).
(Aside: it appears we also have this code as placeholder in the visualknit scheduler. I am surprised that it works.)
The text was updated successfully, but these errors were encountered:
The current left-edge computation in the scheduler is placeholder code. Notice all the TODOs:
autoknit/schedule.cpp
Lines 1635 to 1654 in 0021de3
Particularly, what this code should do to match the scheduler described in the paper is to use dynamic programming to find coordinates adjustments to the gaps / left edges that minimize the total number of stitches moved at optimal alignment.
Without these steps, tubes end up moved long distances for no reason (e.g., when knitting the cactus, each tube is shifted all the way to the left after the split instead of staying on its expected needles).
(Aside: it appears we also have this code as placeholder in the visualknit scheduler. I am surprised that it works.)
The text was updated successfully, but these errors were encountered: