Consider a system defined on a phase space Ω Ω , and a cost function, E, (e.g. the energy), bounded on a spectrum E ∈ ∈ Γ Γ = [ E min , E max ] , which has an associated density of states ρ ρ ( E ) , which is to be estimated. The estimator is ρ ρ ^ ^ ( E ) ≡ ≡ exp ⁡ ⁡ ( S ( E ) ) . Because Wang and Landau algorithm works in discrete spectra, the spectrum Γ Γ is divided in N discrete values with a difference between them of Δ Δ , such that