Fast exploration and learning of latent graphs with aliased observations