Description
TraversalVertexProgram is a bit of a mess. I think we should refactor it such that there is:
1. TraversalVertexProgram – barebones.
2. TraverserExecutor.executeMaster() – complex.
3. TraverserExecutor.executeWorkers() – complex.
We need to have two different methods in TraverserExecutor. One for the "master traversal" and one for processing traversers distributed across the graph "worker traversals."
Once that is all cleaned up and better organized, I bet there are some optimizations that will make themselves apparent.