Metaheristics for algorithm parameter optimization, attribute selection and weighting