opsu-dance/src/itdelatrisu/opsu/db
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
..
BeatmapDB.java Ported osu!tp's beatmap difficulty algorithm to compute star ratings. 2015-09-02 19:44:04 -05:00
DBController.java Major refactoring - now using far more logical class names. 2015-05-16 21:25:19 -04:00
ScoreDB.java Fix PreparedStatement bug in ScoreDB with null string fields. 2015-08-10 16:18:14 -05:00