Deterministic, quenched, and annealed parameter estimation for heterogeneous network models