Practice implementation of Adaptive Skeleton Climbing
http://www.cse.cuhk.edu.hk/~ttwong/papers/asc/asc.pdf
The algorithm belongs to the people who wrote that paper.
Everything else belongs to me under the MIT license (i.e. use it for whatever you want!).