public class SctStudent extends Object implements Comparable<SctStudent>
Constructor and Description 

SctStudent(SctModel model,
Student student)
Constructor.

Modifier and Type  Method and Description 

int 
compare(Student s1,
Student s2)
Compare two students using their curriculum information

int 
compareTo(SctStudent s)
Compare two student, using average conflict weight, number of possible enrollments and their curriculum information.

double 
getAverageConflictWeight()
Average conflict weight

SctEnrollment 
getCurrentEnrollment(boolean checkInstructor)
Current enrollment of this student

List<SctEnrollment> 
getEnrollments()
Return all possible enrollments of the given student into the given course

List<SctEnrollment> 
getEnrollments(Comparator<SctEnrollment> cmp) 
List<Lecture> 
getInstructingLectures()
List of lectures of the given course that the student is instructing (if he/she is also an instructor, using
Student.getInstructor() ) 
double 
getJenrConflictWeight(Lecture l1,
Lecture l2)
Conflict weight of a lecture pair

SctModel 
getModel()
Student sectioning model

int 
getNumberOfEnrollments()
Number of all possible enrollments of the given student into the given course

double 
getOfferingWeight()
Offering weight using
Student.getOfferingWeight(Long) 
Student 
getStudent()
Student for which the possible enrollments are being computed

boolean 
isInstructing()
Is student also an instructor of the given course?

String 
toString() 
public SctStudent(SctModel model, Student student)
model
 student sectioning modelstudent
 student to representpublic Student getStudent()
public SctEnrollment getCurrentEnrollment(boolean checkInstructor)
checkInstructor
 if the student is also instructor and he/she is instructing this class, return classes he/she is instructing insteadpublic List<Lecture> getInstructingLectures()
Student.getInstructor()
)public boolean isInstructing()
public double getJenrConflictWeight(Lecture l1, Lecture l2)
public List<SctEnrollment> getEnrollments()
public List<SctEnrollment> getEnrollments(Comparator<SctEnrollment> cmp)
public int getNumberOfEnrollments()
public double getAverageConflictWeight()
public double getOfferingWeight()
Student.getOfferingWeight(Long)
public int compare(Student s1, Student s2)
public int compareTo(SctStudent s)
compareTo
in interface Comparable<SctStudent>