public static class TimeOverlapsCounter.Conflict extends Object
Constructor and Description |
---|
TimeOverlapsCounter.Conflict(Student student,
int share,
Enrollment e1,
SctAssignment a1,
Enrollment e2,
SctAssignment a2)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Enrollment |
getE1()
First enrollment
|
Enrollment |
getE2()
Second enrollment
|
Request |
getR1()
First request
|
Request |
getR2()
Second request
|
SctAssignment |
getS1()
First section
|
SctAssignment |
getS2()
Second section
|
int |
getShare()
The number of overlapping slots against the number of slots of the smallest section
|
Student |
getStudent()
Related student
|
int |
hashCode() |
String |
toString() |
public TimeOverlapsCounter.Conflict(Student student, int share, Enrollment e1, SctAssignment a1, Enrollment e2, SctAssignment a2)
student
- related studentshare
- number of slots in common between the two conflicting sectionse1
- first enrollmenta1
- first conflicting sectione2
- second enrollmenta2
- second conflicting sectionpublic Student getStudent()
public SctAssignment getS1()
public SctAssignment getS2()
public Enrollment getE1()
public Enrollment getE2()
public int getShare()
Copyright © 2016 UniTime LLC. All Rights Reserved.