// Get the number of repitetions to use.
int numRepetitions = Integer.parseInt(properties.getProperty(
REPEAT_PROPERTY, DEFAULT_REPEATS));
// Get an instance of the seed generator.
KMeansSeed seedType = ReflectionUtil.getObjectInstance(
properties.getProperty(SEED_PROPERTY, DEFAULT_SEED));
// Create the criterion function.
CriterionFunction criterion = ReflectionUtil.getObjectInstance(
properties.getProperty(CRITERIA_PROPERTY, DEFAULT_CRITERION));