protected int chooseMostInterestedPerson(int t)
protected int chooseMostInterestedPerson(int t, Random rand)
  protected int chooseMostInterestedPerson(int t)  {    // Of all the unassigned persons in this session,    // pick the one with the highest interest.    int dimRoles       = getRoles().getNumber();    int unassignedRole = dimRoles + 1; // Marker for an unassigned role    int bestPerson = -1;    int interest = 99999;        for (int p=0;  p < persons.getNumber();  ++p)      if (solution.getRole(p, t) == unassignedRole)        if (persons.getPreferenceIndex(p, t) < interest)        {        	bestPerson = p;        	interest   = persons.getPreferenceIndex(p, t);        }            if (bestPerson < 0)      System.out.println("CANNOT HAPPEN: no person left to choose.");            return bestPerson;  }