import numpy as np;

from .reward import Reward;
class FitnessReward(Reward):

    def _calculate(self, population, fitness):

        return np.mean(fitness);

5dc65687cc2e1c914a7f83735268cdfec59015b1
<mask token>

<mask token>


class FitnessReward(Reward):
    <mask token>

<mask token>


class FitnessReward(Reward):

    def _calculate(self, population, fitness):
        return np.mean(fitness)

import numpy as np
from .reward import Reward


class FitnessReward(Reward):

    def _calculate(self, population, fitness):
        return np.mean(fitness)

import numpy as np;

from .reward import Reward;
class FitnessReward(Reward):

    def _calculate(self, population, fitness):

        return np.mean(fitness);
