Event class for a traditional relay.
|
__init__(self,
legs,
header={},
extra_rankings=[],
template_dir='templates',
print_template='relay.tex',
html_template='relay.html',
cache=None,
store=None)
@param legs: dict keyed with category names containing relay category definitions:
lists of leg dicts with the following keys:
* 'name': Name of the Leg
* 'variants': tuple of course codes that are valid variants for this leg. |
source code
|
|
|
|
|
score(self,
obj,
scoreing_class=None,
args=None)
Get the score of an object |
source code
|
|
|
ranking(self,
obj,
scoreing_class=None,
validation_class=None,
scoreing_args=None,
validation_args=None,
reverse=False)
Get a ranking for a Rankable object |
source code
|
|
|
|
|
|
Inherited from Event :
clear_cache ,
format_ranking ,
list_categories ,
list_courses ,
remove_cache
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|