cleaner interface for acyclic_coloring