Home | Trees | Indices | Help |
|
---|
|
object --+ | CachingObject --+ | AbstractScoreing --+ | object --+ | | | CachingObject --+ | | | Validator --+ | AbstractRelayScoreing --+ | RelayScoreing
Combined validator and scoreing class for relay teams. This class validates and scores teams in a classical relay with different legs and a fixed order of the legs. It supports optional legs with a default time if the leg is not run successfully or if a runner runs longer than the default time. It also supports multiple course variants for a leg.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
@param legs: list of dicts with the following keys: * 'variants': tuple of course codes that are valid variants for this leg. * 'starttime': start time for all non replaced runners, type datetime * 'defaulttime': time scored if no runner of the team successfully completes this leg or if the runner on this legs needs more time than the defaulttime, type timedelta or None if there is no defaulttime @type legs: dict @param event: Event object used to validate and score individual runs. @type event: instance of a class derived from Event
|
Return a list of all completed runs for this team. Ordered by leg. If there is no run for a leg the list contains None at this index. If there is more than one run for a leg the result is undefined.
|
Validates a relay team.
See Also: Validator |
Score a relay team.
See Also: AbstractScoreing |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 3 23:56:08 2023 | http://epydoc.sourceforge.net |