csv.setInputFile(outfile.getAbsolutePath());
csv.addColumn(new Column("id", null, null, null));
csv.addColumn(new Column("name", null, null, null));
csv.addColumn(new Column("age", null, null, null));
ConfigurationImpl cfg = new ConfigurationImpl();
cfg.addDatabase(new InMemoryDatabase());
cfg.addDataSource(0, csv);
Comparator cmp = new ExactComparator();
List<Property> props = new ArrayList();
props.add(new PropertyImpl("id"));
props.add(new PropertyImpl("name", cmp, 0.0, 1.0));
props.add(new PropertyImpl("age", cmp, 0.0, 1.0));
cfg.setProperties(props);
GeneticAlgorithm gen = new GeneticAlgorithm(cfg, tstfile.getAbsolutePath(),
true);
gen.setQuiet(true);
gen.run(); // should not crash!