This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
weave_method [2023/05/15 16:32] harshec |
weave_method [2023/05/15 16:33] (current) harshec |
||
---|---|---|---|
Line 7: | Line 7: | ||
===Psuedo Code=== | ===Psuedo Code=== | ||
- | <pre> | ||
depthS(string str, int n, int s, int lastinsert) update_fairness_calc(lastinsert) if(!fair()) return | depthS(string str, int n, int s, int lastinsert) update_fairness_calc(lastinsert) if(!fair()) return | ||
if(s == MAX_S) | if(s == MAX_S) | ||
Line 15: | Line 14: | ||
depthN(string str, int n) if(n == MAX_N) print(" | depthN(string str, int n) if(n == MAX_N) print(" | ||
main() depthN("", | main() depthN("", | ||
- | </ | + | |
===Future Work=== | ===Future Work=== | ||