Research Article

Analysis of Behavioral Economics in Crowdsensing: A Loss Aversion Cooperation Model

Algorithm 2

The assignment.
  When there are users and tasks in the system do
  for every   when he is unsatisfied do
Search every open task
Get the estimated price if participate in this task from platform
if    do
Add to
else if    do
if    do
Add to
end if
end if
Choose the task and
    end for
    Until every user cannot find a valuable task