Skip to main content
. 2018 Feb 25;18(3):684. doi: 10.3390/s18030684
Algorithm 1: Algorithm for Scenario Generation
Input: location lj, person in social group pj, user activity acj, Scenarionew, Scenariosimilar
Output: Scenario scj
1: if acjACset then
2:  scj = Scenarionew
3: else if ljL or pjSG then
4:  scj = Scenarionew
5: else
6:  scj = Scenariosimilar
7: end if