AENEID: a generic lithography-friendly detailed router based on post-RET data learning and hotspot detection