Controlled design of resolutions. Prediction of the efficiency of resolutions based on samples of arbitrary composition