epidemioptim/environments/gym_envs/epidemic_vaccination_16.py
def who_can_vaccinate_3_groups(self):
        """
        Compute each 15 days if a group is eligible to the vaccination
        """
        vaccination_program = []
        data = self.model.whovaccinated
        for i in data:
            for j in i:
                tmp = []
                if 1 in i[0:16]:
                    tmp.append(1)
                else:
                    tmp.append(0)
            vaccination_program.append(tmp)
        return np.array(vaccination_program)

        Compute each 15 days if a group is eligible to the vaccination
        
Compute each 15 days if a group is eligible to the vaccination
Compute each 15 days if a group is eligible to the vaccination
def who_can_vaccinate_3_groups(self):
        vaccination_program = []
        data = self.model.whovaccinated
        for i in data:
            for j in i:
                tmp = []
                if 1 in i[0:16]:
                    tmp.append(1)
                else:
                    tmp.append(0)
            vaccination_program.append(tmp)
        return np.array(vaccination_program)
def who_can_vaccinate_3_groups ( self ) : vaccination_program = [ ] data = self . model . whovaccinated for i in data : for j in i : tmp = [ ] if 1 in i [ 0 : 16 ] : tmp . append ( 1 ) else : tmp . append ( 0 ) vaccination_program . append ( tmp ) return np . array ( vaccination_program )
Compute each 15 days if a group is eligible to the vaccination
Compute each 15 days if a group is eligible to the vaccination
"""
        Compute each 15 days if a group is eligible to the vaccination
        """
self