max

max (float score1, float score2)receives n scores (output of n score functions) and returns their max

Input

  • score1, score2,...(float) - n scores (results of score functions)

Output

  • score (float) - the max of the score list

Example

score1 = rarity_max("city")
score2 = rarity_max("Country")
score3 = rarity_max("Continent")
score4 = .....
score_max = max(score1, score2, score3...)

Where -

  • score1, score2, score3 are the results of a score function.

  • score_max is the max of score1, score2, score3...

Last updated