def getScoringVector(self, profile):
        """
        Returns the scoring vector [m-1,m-2,m-3,...,0] where m is the number of candidates in the
        election profile. This function is called by getCandScoresMap() which is implemented in the
        parent class.

        :ivar Profile profile: A Profile object that represents an election profile.
        """

        scoringVector = []
        score = profile.numCands - 1
        for i in range(0, profile.numCands):
            scoringVector.append(score)
            score -= 1
        return scoringVector
def getScoringVector ( self , profile ) : scoringVector = [ ] score = profile . numCands - 1 for i in range ( 0 , profile . numCands ) : scoringVector . append ( score ) score -= 1 return scoringVector
Returns the scoring vector [m-1,m-2,m-3,...,0] where m is the number of candidates in the
        election profile. This function is called by getCandScoresMap() which is implemented in the
        parent class.

        :ivar Profile profile: A Profile object that represents an election profile.