add affinity propagation parser