dbscan and ap