In some versions of semantics for conditional logics employing possible worlds, a binary function that selects possible worlds corresponding to each pair , where is a possible world and a formula. The intended interpretation of the value of is given in terms of similarity as the set of possible worlds at which holds that are most similar to . Whether may include more than one possible world will be decided by the semantic conditions that one imposes on the model. Generalizations of the selection function include the set selection function, analogous to neighbourhood semantics for modal logic insofar as the set selection function maps each pair to a neighbourhood, i.e., a set of sets of possible worlds.