opsu-dance/src/itdelatrisu/opsu/beatmap
Jeffrey Han c785a1261c Ported osu!tp's beatmap difficulty algorithm to compute star ratings.
https://github.com/Tom94/AiModtpDifficultyCalculator
This might not be completely accurate as I wasn't able to get the original program to run, but it's probably close (note that hit object stacking isn't applied, though).

Since the computation is fairly expensive, they're currently done when selecting a beatmap set in the song menu (for all beatmaps in the set at once).  The rating is displayed next to the beatmap difficulty settings (HP,CS,AR,OD) in the header.  Also, since all the hit objects need to be loaded to perform the computation, the objects are later discarded (but not immediately) by a LRU cache to limit memory usage.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-02 19:44:04 -05:00
..
Beatmap.java Ported osu!tp's beatmap difficulty algorithm to compute star ratings. 2015-09-02 19:44:04 -05:00
BeatmapDifficultyCalculator.java Ported osu!tp's beatmap difficulty algorithm to compute star ratings. 2015-09-02 19:44:04 -05:00
BeatmapParser.java Beatmap parser fixes. 2015-09-02 01:41:47 -05:00
BeatmapSet.java Ported osu!tp's beatmap difficulty algorithm to compute star ratings. 2015-09-02 19:44:04 -05:00
BeatmapSetList.java When deleting beatmaps, remove their MD5 hashes from the lookup table. 2015-09-02 14:37:16 -05:00
BeatmapSetNode.java Moved all Utils.FONT_* into new class opsu.ui.Fonts.*. 2015-08-20 20:40:07 -05:00
BeatmapSortOrder.java Added lots of 'final' modifiers to class fields where applicable. 2015-08-20 21:11:55 -05:00
BeatmapWatchService.java Stop firing BeatmapWatchService events for intended file modifications. 2015-08-30 23:21:58 -05:00
HitObject.java Check for parallel vectors before constructing a CircumscribedCircle. 2015-09-02 10:51:52 -05:00
LRUCache.java Replaced "BeatmapImageCache" with a generic LRU cache class. 2015-09-02 13:29:52 -05:00
OszUnpacker.java Moved OszUnpacker into package 'opsu.beatmap'. 2015-08-31 22:25:28 -05:00
TimingPoint.java Added Utils.parseBoolean() method to parse 0/1 booleans. 2015-05-23 14:52:03 -04:00