tables.add(table);
}
}
referentialDigraph = new MapDigraph(MapDigraph.HASHMAP_FACTORY);
DbUtils.buildReferentialDigraph(referentialDigraph, tables);
StrongConnection contractor = new StrongConnection(
referentialDigraph,
CollectionFactory.ARRAYLIST_FACTORY);
contractedReferentialDigraph = new MapDigraph(MapDigraph.HASHMAP_FACTORY);
contractor.contract(
contractedReferentialDigraph,
CollectionFactory.ARRAYLIST_FACTORY);
IndegreeTopologicalSort sorter = new IndegreeTopologicalSort(
contractedReferentialDigraph);
components = new HashMap(contractedReferentialDigraph.order());