| Algorithm 1: IoT devices responses |
| Input: ’s Boolean response and numerical response |
| Output: |
| 1: for each do |
| 2: |
| 3: if then |
| 4: |
| 5: else |
| 6: |
| 7: end if |
| 8: end for |
| 9: return |
| Algorithm 1: IoT devices responses |
| Input: ’s Boolean response and numerical response |
| Output: |
| 1: for each do |
| 2: |
| 3: if then |
| 4: |
| 5: else |
| 6: |
| 7: end if |
| 8: end for |
| 9: return |