}
public void doMove(WorkingMemory workingMemory) {
Period oldLeftPeriod = leftExam.getPeriod();
Period oldRightPeriod = rightExam.getPeriod();
Room oldLeftRoom = leftExam.getRoom();
Room oldRightRoom = rightExam.getRoom();
if (oldLeftPeriod.equals(oldRightPeriod)) {
ExaminationMoveHelper.moveRoom(workingMemory, leftExam, oldRightRoom);
ExaminationMoveHelper.moveRoom(workingMemory, rightExam, oldLeftRoom);
} else if (oldLeftRoom.equals(oldRightRoom)) {
ExaminationMoveHelper.movePeriod(workingMemory, leftExam, oldRightPeriod);