Constructs a new instance of the calculator.
The beatmap to calculate. This beatmap will be deep-cloned to prevent reference changes.
Additional data that is used in performance calculation.
The calculated beatmap.
The modifications applied.
The difficulty objects of the beatmap.
The map statistics of the beatmap after modifications are applied.
The strain peaks of various calculated difficulties.
The total star rating of the beatmap.
Calculates the star rating of the specified beatmap.
The beatmap is analyzed in chunks of sectionLength
duration.
For each chunk the highest hitobject strains are added to
a list which is then collapsed into a weighted sum, much
like scores are weighted on a user's profile.
For subsequent chunks, the initial max strain is calculated by decaying the previous hitobject's strain until the beginning of the new chunk.
Options for the difficulty calculation.
Calculates every star rating of the beatmap and stores it in this instance.
Calculates the total star rating of the beatmap and stores it in this instance.
Generates difficulty hitobjects for this calculator.
Returns a string representative of the class.
Generated using TypeDoc
The base of a difficulty calculator.