Class OralExamsTest
- java.lang.Object
-
- net.splitcells.dem.testing.TestSuiteI
-
- net.splitcells.gel.test.functionality.OralExamsTest
-
- All Implemented Interfaces:
net.splitcells.dem.testing.TestSuite
public class OralExamsTest extends net.splitcells.dem.testing.TestSuiteI
TODO IDEA Test object orientation by making all people an instance of a certain class.TODO IDEA The number of days with exams for a teacher should be smaller or equals to a given number.
TODO Pupil and teachers are not available on certain days or at certain shifts in certain days.
TODO Prefered days and shifts for pupil and teachers.
-
-
Constructor Summary
Constructors Constructor Description OralExamsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Problem
oralExams(net.splitcells.dem.data.set.list.List<net.splitcells.dem.data.set.list.List<Object>> demands, net.splitcells.dem.data.set.list.List<net.splitcells.dem.data.set.list.List<Object>> supplies)
Problem
randomOralExams(int studentCount, int examCount, int examinerCount, int checkerCount, int weekCount, int examDayCountPerWeek, int shiftsPerDayCount, int roomCount, net.splitcells.dem.utils.random.Randomness randomness)
void
testComplexity()
This test shows, that theFunctionalHillClimber
is not able to solve this problem as efficiently as theConstraintGroupBasedOfflineRepair
.void
testCurrentDevelopment()
Deprecated.void
testRandomInstanceSolving()
void
testRatingsOfExamsInSameTimeslot()
void
testRatingsOfPeopleWithMultipleExamClones()
void
testRatingsOfSingleOralExam()
void
testRatingsOfStudentWithMultipleExamsInSameDay()
-
-
-
Method Detail
-
testRandomInstanceSolving
@Tag("testing_capabilities") @Test public void testRandomInstanceSolving()
-
testComplexity
@Tag("testing_capabilities") @Test public void testComplexity()
This test shows, that theFunctionalHillClimber
is not able to solve this problem as efficiently as theConstraintGroupBasedOfflineRepair
. This is done by trying as many allocations via theFunctionalHillClimber
as is done intestRandomInstanceSolving()
via theConstraintGroupBasedOfflineRepair
.
-
testCurrentDevelopment
@Disabled @Test @Deprecated public void testCurrentDevelopment()
Deprecated.
-
randomOralExams
public Problem randomOralExams(int studentCount, int examCount, int examinerCount, int checkerCount, int weekCount, int examDayCountPerWeek, int shiftsPerDayCount, int roomCount, net.splitcells.dem.utils.random.Randomness randomness)
-
oralExams
public Problem oralExams(net.splitcells.dem.data.set.list.List<net.splitcells.dem.data.set.list.List<Object>> demands, net.splitcells.dem.data.set.list.List<net.splitcells.dem.data.set.list.List<Object>> supplies)
-
testRatingsOfSingleOralExam
@Tag("testing_integration") @Test public void testRatingsOfSingleOralExam()
-
testRatingsOfPeopleWithMultipleExamClones
@Tag("testing_integration") @Test public void testRatingsOfPeopleWithMultipleExamClones()
-
testRatingsOfExamsInSameTimeslot
@Tag("testing_integration") @Test public void testRatingsOfExamsInSameTimeslot()
-
testRatingsOfStudentWithMultipleExamsInSameDay
@Tag("testing_integration") @Test public void testRatingsOfStudentWithMultipleExamsInSameDay()
-
-