For Babelfish Release 1.11.1.3

ProjectorOfScores Class

Abstract base class, for classes that try to predict the final scores a participant will finish with, based on the scores they already shot. Each concrete class that implements ProjectorOfScores will have its own algorithm for making the predicted scores.

Definition

Namespace: Scopos.BabelFish.DataActors.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public abstract class ProjectorOfScores
Inheritance
Object    ProjectorOfScores
Derived

Constructors

ProjectorOfScores(CourseOfFire) Uses a default TeamMemberComparer based on the top level event in the course of fire and Decimal ScoreConfigName.
ProjectorOfScores(CourseOfFire, CompareByRankingDirective) 

Properties

APIStage The API Stage to use when making Scopos REST API calls. Default value is Production.
CourseOfFire 
NumberOfTeamMembers If projecting scores for a team event, this is the number of team members the contribute to the team score. The default value is 4.
ProjectionMadeBy When generating a Projected Result List, the Result List needs to identify who/what made the projection. This string prepresents the concrete class that made the projection and shold populate that Result List value.
TeamMemberComparer The comparer instance to use when ranking team members within a team, which will decide which team members's projected scores to count when calculating the team's projected score.
TopLevelEvent 
XAPIKey The x-api-key to use when making scopos REST API calls.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeAsync Method to initialize internal parameters for the ProjectorOfScores. Default implementation is not to do anything.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ProjectAthleteScores Calculates projected scores for the passed in IEventScoreProjection. Stores the projected scores in the EventScore's .Projected Score instance.
ProjectEventScores Default algorithm to project scores of both athletes and teams. Made virtual so a concrete ProjectorOfScores could implement their own team calculations.
ProjectTeamScores 
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also