Final version of AIDP algorithm, and its output.