The candidate molecules are selected based on the rank for all the selected scoring functions (Equation ) . Let r x y be the rank of the molecule x for scoring function y and n is the total number of scoring functions; then the output of the RbR consensus is given by: