transcript.algorithms.modelbased.svd
Class CourseMap

java.lang.Object
  extended by transcript.algorithms.modelbased.svd.CourseMap

public class CourseMap
extends java.lang.Object

Simple class to map course names to 0-indexed ids and vice versa.


Constructor Summary
CourseMap()
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
           
 void mapCourses(TranscriptMemHelper tmh)
          Creates and serializes two maps - one from course name to a 0-indexed id, and one from said id to course name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseMap

public CourseMap()
Constructor. Initializes hash tables.

Method Detail

mapCourses

public void mapCourses(TranscriptMemHelper tmh)
Creates and serializes two maps - one from course name to a 0-indexed id, and one from said id to course name.

Parameters:
mh - The TranscriptMemHelper to get course data from.

main

public static void main(java.lang.String[] args)