algorithme selection passerelle