List<Property> props = new ArrayList();
props.add(new PropertyImpl("ID"));
props.add(new PropertyImpl("NAME", lev, 0.2, 0.9));
props.add(new PropertyImpl("EMAIL", lev, 0.2, 0.9));
Configuration other = new ConfigurationImpl();
((ConfigurationImpl) other).setProperties(props);
((ConfigurationImpl) other).setThreshold(0.75);
GeneticConfiguration g_other = new GeneticConfiguration(other);
// proceed to mate
GeneticConfiguration conf = new GeneticConfiguration(config1.copy());
conf.mateWith(g_other);
Configuration rand = conf.getConfiguration();
// compute differences
// there are seven aspects, which should always be equal to just one
// of the original configurations. comparing against both should therefore
// always yield exactly 7 differences.