Home | Trees | Indices | Help |
|
---|
|
object --+ | CachingObject --+ | AbstractScoreing --+ | object --+ | | | CachingObject --+ | | | Validator --+ | | | CourseValidator --+ | RoundCountScoreing
This scoreing strategy computes the score as the count of complete runs of a course. This is mostly usefull for non orienteering events where runners have to run as much rounds as possible in a predifined time intervall. Be aware that SI Card 5 and SI Card 8 only hold 30 punches!
This is a combined validator and scoreing strategy.
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
@param course Course object with all controls on the roundcourse. In the simplest case this course has only 1 control. @param mindiff Minimal time difference between valid punches. This is necessary to avoid counting two runs if runners punch the only control of the course two times without running the round in between. @type mindiff timedelta
|
Check if run is a valid run for this course. This only checks if the run is complete has a start punch and a finish punch. It does not check any controls! Override this in subclasses for more usefull validation (and call super() to not duplicate this code).
|
Returns the score of the given objects. Throws UnscoreableException if the object can't be scored with this strategy. The returned score must implement __cmp__.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 3 23:56:08 2023 | http://epydoc.sourceforge.net |