Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. st=>start: get news
  2. e=>end: end
  3. init=>operation: x=0;
  4. i=0;
  5. y=0;
  6. downtime=>operation: downtime
  7. count_device=>operation: count near smartphone
  8. compare_device_count=>condition: Is there a significant rate increase of
  9. device's count compared with last time?
  10. save_devices_count=>operation: save device's count
  11. init_i=>operation: i=0;
  12. random_sample=>operation: Selects a smartphone at random
  13. did_you_have_some_news=>condition: Has been it get the news already?
  14. sending=>operation: send completely;
  15. x++;
  16. compare_x_X=>condition: x>=X; | comparexX
  17. i_plus=>operation: i++;
  18. compare_i_n=>condition: i>=n;
  19. y_plus=>operation: y++;
  20. compare_y_Y=>condition: y<Y;
  21. noop=>operation: noop to graph;
  22. st->init->downtime->count_device->compare_device_count
  23. compare_device_count(yes)->init_i
  24. compare_device_count(no)->save_devices_count
  25. save_devices_count(right)->downtime
  26. init_i->random_sample->did_you_have_some_news
  27. did_you_have_some_news(no)->sending->compare_x_X
  28. did_you_have_some_news(yes)->i_plus->compare_i_n
  29. compare_x_X(yes)->e
  30. compare_x_X(no,right)->init_i
  31. compare_i_n(yes)->y_plus->compare_y_Y
  32. compare_i_n(no)->noop(right)->random_sample
  33. compare_y_Y(no)->save_devices_count
  34. compare_y_Y(yes)->e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement