Package bosco :: Module ranking
[hide private]
[frames] | no frames]

Module ranking

source code


ranking.py - Classes to produce rankings of objects that implement
             Rankable. Each class that has a ranking (currently
             Course and Category) has to inherit from Rankable.
             Rankable specifies the interface of rankable classes.

Classes [hide private]
  RankableItem
Defines the interface for all rankable items (currently Runner, Team, Run).
  Ranking
A Ranking objects combines a scoreing strategy, a validation strategy and a rankable object (course or category) and computes a ranking.
  RelayRanking
  Rankable
Defines the interface for rankable objects like courses and categories.
  OpenRuns
  Cache
Cache for scoreing and validation results.
  CachingObject
Common parent class for all caching objects.
  AbstractScoreing
Defines a strategy for scoring objects (runs, runners, teams).
  TimeScoreing
Builds the score from difference of start and finish times.
  Starttime
Basic start time strategy.
  SelfstartStarttime
StarttimeStrategy for Selfstart
  MassstartStarttime
Returns start time relative to a fixed mass start time.
  RelayStarttime
Returns start time computed from starttime == finish time of the previous runner in a relay team.
  RelayMassstartStarttime
  Validator
Defines a strategy for validating objects (runs, runners, teams).
  CourseValidator
Validation strategy for courses.
  SequenceCourseValidator
Validation strategy for a normal orienteering course.
  AbstractRelayScoreing
Base class for all relay scoreing classes.
  RelayScoreing
Combined validator and scoreing class for relay teams.
  Relay24hScoreing
This class is both a validation strategy and a scoreing strategy.
  Relay12hScoreing
This class is both a valiadtion and a scoreing strategy.
  Relay24hScore
  ControlPunchtimeScoreing
Scores according to the (expected) absolute punchtime at a given control.
  RoundCountScoreing
This scoreing strategy computes the score as the count of complete runs of a course.
  UnscoreableException
  ValidationError