MoleculeLocalizer newLocalizer, Graph newGraph, NodePool nodePool) {
this.writableIndex = newWriteIndex;
this.readableIndex = newReadIndex;
this.localizer = newLocalizer;
this.graph = newGraph;
this.comparator = new TripleComparatorFactoryImpl().newComparator();
this.moleculeComparator = new MoleculeHeadTripleComparatorImpl(comparator);
this.handler = new MoleculeGraphHandlerImpl(nodePool, readableIndex, moleculeComparator);
}