Utility classes for Ranking documents. This is developed as part of course project "Learning to rank" for course CS267/185c during Spring 2014 in SJSU.