C# Class TheAirline.Helpers.StatisticsHelpers

Datei anzeigen Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
GaussianList ( int vals, double avg, double stdv = 1 ) : List
GaussianList ( int vals, int avg, double stdv = 1 ) : List
GetAIAvgTicketPPD ( ) : double
GetAIFillDegree ( ) : double>.Dictionary
GetAIonTime ( ) : double>.Dictionary
GetAirlineFillAverage ( Airline airline ) : double
GetAverageEmployeeWages ( ) : double
GetAverageEmployeeWages ( Airline airline ) : double
GetBestYear ( Airline airline ) : int
GetCountryAirportsServed ( ) : double>.Dictionary
GetEmployeeDiscounts ( ) : double>.Dictionary
GetEmployeeWages ( ) : double>.Dictionary
GetFillAverage ( ) : double
GetFillAverages ( ) : double>.Dictionary
GetHumanAvgTicketPPD ( ) : double
GetHumanFillAverage ( ) : double
GetHumanOnTime ( ) : double
GetHumanOnTimeYear ( int year ) : double
GetOnTimePercent ( Airline airline ) : double
GetPPDdifference ( ) : double>.Dictionary
GetRatingScale ( double>.IDictionary valueDictionary, double lower = 1, double upper = 100 ) : double>.IDictionary
GetScore ( Airline airline ) : int
GetScore ( Airline airline, int year ) : int
GetScore ( Airline airline, int year, int month ) : int
GetTotalOnTime ( ) : double>.Dictionary
GetTotalPPD ( ) : double>.Dictionary
GetUnassignedPilots ( ) : double>.Dictionary
GetWeeklyScore ( Airline airline ) : int
GetWorldAirportsServed ( ) : double
GetYearScore ( Airline airline, int startYear, int endYear ) : int
NextGaussian ( this r, double mean, double stdv = 1 ) : double

Method Details

GaussianList() public static method

public static GaussianList ( int vals, double avg, double stdv = 1 ) : List
vals int
avg double
stdv double
return List

GaussianList() public static method

public static GaussianList ( int vals, int avg, double stdv = 1 ) : List
vals int
avg int
stdv double
return List

GetAIAvgTicketPPD() public static method

public static GetAIAvgTicketPPD ( ) : double
return double

GetAIFillDegree() public static method

public static GetAIFillDegree ( ) : double>.Dictionary
return double>.Dictionary

GetAIonTime() public static method

public static GetAIonTime ( ) : double>.Dictionary
return double>.Dictionary

GetAirlineFillAverage() public static method

public static GetAirlineFillAverage ( Airline airline ) : double
airline TheAirline.Models.Airlines.Airline
return double

GetAverageEmployeeWages() public static method

public static GetAverageEmployeeWages ( ) : double
return double

GetAverageEmployeeWages() public static method

public static GetAverageEmployeeWages ( Airline airline ) : double
airline TheAirline.Models.Airlines.Airline
return double

GetBestYear() public static method

public static GetBestYear ( Airline airline ) : int
airline TheAirline.Models.Airlines.Airline
return int

GetCountryAirportsServed() public static method

public static GetCountryAirportsServed ( ) : double>.Dictionary
return double>.Dictionary

GetEmployeeDiscounts() public static method

public static GetEmployeeDiscounts ( ) : double>.Dictionary
return double>.Dictionary

GetEmployeeWages() public static method

public static GetEmployeeWages ( ) : double>.Dictionary
return double>.Dictionary

GetFillAverage() public static method

public static GetFillAverage ( ) : double
return double

GetFillAverages() public static method

public static GetFillAverages ( ) : double>.Dictionary
return double>.Dictionary

GetHumanAvgTicketPPD() public static method

public static GetHumanAvgTicketPPD ( ) : double
return double

GetHumanFillAverage() public static method

public static GetHumanFillAverage ( ) : double
return double

GetHumanOnTime() public static method

public static GetHumanOnTime ( ) : double
return double

GetHumanOnTimeYear() public static method

public static GetHumanOnTimeYear ( int year ) : double
year int
return double

GetOnTimePercent() public static method

public static GetOnTimePercent ( Airline airline ) : double
airline TheAirline.Models.Airlines.Airline
return double

GetPPDdifference() public static method

public static GetPPDdifference ( ) : double>.Dictionary
return double>.Dictionary

GetRatingScale() public static method

public static GetRatingScale ( double>.IDictionary valueDictionary, double lower = 1, double upper = 100 ) : double>.IDictionary
valueDictionary double>.IDictionary
lower double
upper double
return double>.IDictionary

GetScore() public static method

public static GetScore ( Airline airline ) : int
airline TheAirline.Models.Airlines.Airline
return int

GetScore() public static method

public static GetScore ( Airline airline, int year ) : int
airline TheAirline.Models.Airlines.Airline
year int
return int

GetScore() public static method

public static GetScore ( Airline airline, int year, int month ) : int
airline TheAirline.Models.Airlines.Airline
year int
month int
return int

GetTotalOnTime() public static method

public static GetTotalOnTime ( ) : double>.Dictionary
return double>.Dictionary

GetTotalPPD() public static method

public static GetTotalPPD ( ) : double>.Dictionary
return double>.Dictionary

GetUnassignedPilots() public static method

public static GetUnassignedPilots ( ) : double>.Dictionary
return double>.Dictionary

GetWeeklyScore() public static method

public static GetWeeklyScore ( Airline airline ) : int
airline TheAirline.Models.Airlines.Airline
return int

GetWorldAirportsServed() public static method

public static GetWorldAirportsServed ( ) : double
return double

GetYearScore() public static method

public static GetYearScore ( Airline airline, int startYear, int endYear ) : int
airline TheAirline.Models.Airlines.Airline
startYear int
endYear int
return int

NextGaussian() public static method

public static NextGaussian ( this r, double mean, double stdv = 1 ) : double
r this
mean double
stdv double
return double