Mobile Information Systems / 2017 / Article / Alg 1

Research Article

Students Social Based Mobility Model for MANET-DTN Networks

Algorithm 1

Main algorithm of SSBMM.
input: Load or generate Nodeinfo, Schedule and
Position matrices.
   for    to  days  do
if  day  is   weekend  day  then  //  day==weekend
nodes    WeekendList
Call Function: WEEKEND (WeekendList)
end
while  Time slot  last  Time  slot  of  the  day  do
- Generate Random state of every node and
write states into Random State matrix;
for    nodes  do
if  nodes  free  time  then
the particular student has its free
time;
if  node    then
node  
else
node  
end
else if  nodes travel time to school
then
if  node    then
node  
else
node  
end
else if  nodes school time  then
node  
else if  nodes travel time from school
then
if  node    then
node  
else
node  
end
else
if  node  behave Randomly according
Random State  then
node  
end
end
end
Call Funnctions: WEEKEND (WeekendList),
DORMITORY (),
CITYSET (CitySettlementList),
TRACE1 (),
TRACE2 (),
TRACE3 (),
SCHOOL (),
RANDOM (),
;
end
  end

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.