ACTIVITY-INFERENCE (bwp) |
{ |
(1) input—brainwave pattern (bwp) from the elderly |
(2) process—analyse bwp to infer activity and check activity fitness |
(3) output—assist individual in ongoing activity, identify emergencies |
and perform needful actions |
(4) = ; set of stored pattern types |
(5) bwp: newly recorded pattern |
(6) : activity fitness threshold in the elderly |
(7) : fitness of ongoing activity |
(8) activity: forecasted activity based on bwp pattern |
(9) while (not dead brain) |
(10) check { |
(11) if (bwp = ) |
(12) then activity = “elderly individual in active judgments action”; |
(13) elseif (bwp = ) |
(14) then activity = “elderly individual in working action”; |
(15) elseif (bwp = ) |
(16) then activity = “elderly individual in undisturbed action”; |
(17) elseif (bwp = ) |
(18) then activity = “elderly individual in pensive action”; |
(19) elseif (bwp = ) |
(20) then activity = “elderly individual in sound asleep action”; |
(21) else |
(22) activity = “elderly individual in other actions”; |
(23) } |
(24) /* identification of ongoing activity */ |
(25) determine dynamically for ongoing activity |
(26) if () |
(27) then (“elderly individual fit for ongoing activity”) |
(28) elseif () |
(29) then (“elderly individual may need some device assistance”) |
(30) else { |
(31) “elderly individual needs major device assistance”, |
(32) “identify emergency services and perform needful actions”; |
(33) } |
(34) } |