Many important problems in combinatorics can be formulated as problems regarding finite sets together with some accompanying notion of distance. The goal of this work is to contribute to solution of some such problems. These may include, e.g., problems in coding theory, or problems concerning combinatorial structure of finite metric spaces.