Class ColloquiumPlanningTest
- java.lang.Object
-
- net.splitcells.dem.testing.TestSuiteI
-
- net.splitcells.gel.test.functionality.ColloquiumPlanningTest
-
- All Implemented Interfaces:
net.splitcells.dem.testing.TestSuite
public class ColloquiumPlanningTest 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 ColloquiumPlanningTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Problem
colloquiumPlanning(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
randomColloquiumPlanning(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
testRatingsOfSingleExam()
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.
-
randomColloquiumPlanning
public Problem randomColloquiumPlanning(int studentCount, int examCount, int examinerCount, int checkerCount, int weekCount, int examDayCountPerWeek, int shiftsPerDayCount, int roomCount, net.splitcells.dem.utils.random.Randomness randomness)
-
colloquiumPlanning
public Problem colloquiumPlanning(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)
-
testRatingsOfSingleExam
@Tag("testing_integration") @Test public void testRatingsOfSingleExam()
-
testRatingsOfPeopleWithMultipleExamClones
@Tag("testing_integration") @Test public void testRatingsOfPeopleWithMultipleExamClones()
-
testRatingsOfExamsInSameTimeslot
@Tag("testing_integration") @Test public void testRatingsOfExamsInSameTimeslot()
-
testRatingsOfStudentWithMultipleExamsInSameDay
@Tag("testing_integration") @Test public void testRatingsOfStudentWithMultipleExamsInSameDay()
-
-