Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. vector<int> crear_individuo(int days, int nurses, vector<vector<int> > c_matrix){
  2. vector<vector<int> > c_matrix_aux;
  3. vector<int> individuo;
  4.  
  5. for (int i = 0; i < days; i++){
  6. contador_0 = 0, contador_1 = 0, contador_2 = 0, contador_3 = 0;
  7. for(int j = 0; j < nurses; j++){
  8. turno = rand() % 4;
  9.  
  10. individuo.push_back(turno);
  11.  
  12. }
  13. }
  14.  
  15. return individuo;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement