|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.ifs.model.Model<Request,Enrollment>
net.sf.cpsolver.studentsct.StudentSctBBTest
public class StudentSctBBTest
Online student sectioning test (using BranchBoundSelection
selection). This class is used by the online student sectioning mock-up page.
Usage:
StudentSctBBTest test = new StudentSctBBTest(student); //student already has all his/her requests defined
Solution sectioningSolution = test.getSolution(); //solution contains only one student (the given one) with his/her schedule
Vector sectioningMessages = test.getMessages(); //sectioning messages (to be printed in the GUI).
| Nested Class Summary | |
|---|---|
static class |
StudentSctBBTest.Message
Sectioning message |
| Field Summary |
|---|
| Fields inherited from class net.sf.cpsolver.ifs.model.Model |
|---|
iAssignedVariables, iPerturbVariables, iUnassignedVariables, sDoubleFormat, sPercentageFormat, sTimeFormat |
| Constructor Summary | |
|---|---|
StudentSctBBTest(Student student)
Constructor |
|
| Method Summary | |
|---|---|
List<StudentSctBBTest.Message> |
getMessages()
Return a list of messages ( StudentSctBBTest.Message objects) from the sectioning
of the given student |
Solution<Request,Enrollment> |
getSolution()
Compute and return the sectioning solution. |
Student |
getStudent()
Return the given student |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StudentSctBBTest(Student student)
student - a student to be sectioned| Method Detail |
|---|
public Student getStudent()
public Solution<Request,Enrollment> getSolution()
public List<StudentSctBBTest.Message> getMessages()
StudentSctBBTest.Message objects) from the sectioning
of the given student
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||