Try to assign a class with a new time. A class is selected randomly, a
different time is randomly selected for the class -- the class is
assigned into the new time. If the time is used or there is some other conflict,
it tries to resolve these conflicts by assigning conflicting classes to other
times as well.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.