A simulator for airplane boarding processes and a particle swarm weight optimizer for said processes.