aboutsummaryrefslogtreecommitdiff
path: root/structures/rope/rope.c
AgeCommit message (Collapse)Author
2021-01-03Fix rope_relen to free unneeded nodesropeTucker Evans
During recalculating of length for rope nodes any that do not branch will be removed, e.g. node B: A / \ (B) <subtree 1> / <subtree 2> results in: A / \ <subtree 2> <subtree 1>
2021-01-03Add free function for ropesTucker Evans
Note: Does free entire tree.
2021-01-03Add split function for ropesTucker Evans
Ropes should be rebalanced at the end of this function once rope_rebalance() is implemented.
2021-01-03Add function to recalculate length (weights) of rope nodesTucker Evans
(Probably need a rebalance function to go along with/replace this)
2021-01-03Add debug/print functions for ropeTucker Evans
2020-12-31Add concat function for ropesTucker Evans
2020-12-31Add function to get full length of ropeTucker Evans
2020-12-31Add func to embed a char* (str) into a ropeTucker Evans
2020-12-31Add base for rope structureTucker Evans