This class is both a validation strategy and a scoreing strategy. The
strategies are combined because they use some common private functions.
This class validates and scores teams for the 24h relay.
|
__init__(self,
starttime,
speed,
duration,
event,
method='runcount',
blocks='finish',
cache=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
_check_order(self,
team)
Checks if the order of the runners is correct. |
source code
|
|
|
_omitted_runners(self,
team)
Count the runners that were omitted during the event and gave up. |
source code
|
|
|
|
|
validate(self,
team)
Validate the runs of this team according to the rules of the 24h
orienteering event. |
source code
|
|
|
score(self,
team)
Compute score for a 24h team according to the following rules: |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|