Returns a dictonary that associates the integer representation of each candidate with the 
        Bayesian utilities we approximate from our sampling of the profile.

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

def getCandScoresMap(self, profile):
        """
        Returns a dictonary that associates the integer representation of each candidate with the 
        Bayesian utilities we approximate from our sampling of the profile.

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

        wmg = profile.getWmg(True)
        V = self.getInitialSample(wmg)

        utilities = dict()
        for cand in profile.candMap.keys():
            utilities[cand] = 0.0

        for i in range(0, self.burnIn):
            V = self.sampleGenerator.getNextSample(V)

        for i in range(0, self.n2):
            for j in range(0, self.n1):
                V = self.sampleGenerator.getNextSample(V)
            for cand in profile.candMap.keys():
                utilities[cand] += self.utilityFunction.getUtility([cand], V)

        for cand in profile.candMap.keys():
            utilities[cand] = utilities[cand]/self.n2

        return utilities