67
1/23 Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October 20, 2008

Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

1/23

Connectivity Service for Mobile Ad-Hoc

Networks

Alex Cornejo and Nancy Lynch

October 20, 2008

Page 2: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

2/23

Demining a fieldSuppose we are deploying a team of mobile robots to deminethe forests in Cambodia.

Page 3: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

3/23

Search and rescueOr perhaps a team of mobile robots is exploring a collapsedbuilding in a search and rescue mission.

Page 4: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

4/23

Looks similar?

I For the purpose of this talk, this tasks are essentially thesame.

I There is a collection of mobile agents with a set ofphysical constraints that need to perform some task.

I However, there is no communication infrastructure andthe robots have to coordinate to guarantee success.

I Each robot should operate somewhat independently fromthe rest but at the same time it should not disconnectthe communication network.

Page 5: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

4/23

Looks similar?

I For the purpose of this talk, this tasks are essentially thesame.

I There is a collection of mobile agents with a set ofphysical constraints that need to perform some task.

I However, there is no communication infrastructure andthe robots have to coordinate to guarantee success.

I Each robot should operate somewhat independently fromthe rest but at the same time it should not disconnectthe communication network.

Page 6: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

4/23

Looks similar?

I For the purpose of this talk, this tasks are essentially thesame.

I There is a collection of mobile agents with a set ofphysical constraints that need to perform some task.

I However, there is no communication infrastructure andthe robots have to coordinate to guarantee success.

I Each robot should operate somewhat independently fromthe rest but at the same time it should not disconnectthe communication network.

Page 7: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

4/23

Looks similar?

I For the purpose of this talk, this tasks are essentially thesame.

I There is a collection of mobile agents with a set ofphysical constraints that need to perform some task.

I However, there is no communication infrastructure andthe robots have to coordinate to guarantee success.

I Each robot should operate somewhat independently fromthe rest but at the same time it should not disconnectthe communication network.

Page 8: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

5/23

This raises some questions

I Can we design an abstraction to allowthe robot/algorithm designer forgetabout connectivity and let them focus onthe other aspects of the problem?

I Can we propose a distributed algorithmto implement such an abstraction?

Page 9: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

5/23

This raises some questions

I Can we design an abstraction to allowthe robot/algorithm designer forgetabout connectivity and let them focus onthe other aspects of the problem?

I Can we propose a distributed algorithmto implement such an abstraction?

Page 10: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

5/23

This raises some questions

I Can we design an abstraction to allowthe robot/algorithm designer forgetabout connectivity and let them focus onthe other aspects of the problem?

I Can we propose a distributed algorithmto implement such an abstraction?

Page 11: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

6/23

Our approach

I Let each agent move independently and when necessarybroadcast (or receive) a message to (from) any othernode in the network.

I A connectivity service sits on the background andmodifies the trajectories produced by the robot to ensureconnectivity.

Page 12: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

6/23

Our approach

I Let each agent move independently and when necessarybroadcast (or receive) a message to (from) any othernode in the network.

I A connectivity service sits on the background andmodifies the trajectories produced by the robot to ensureconnectivity.

Page 13: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 14: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 15: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 16: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 17: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 18: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

7/23

What would you like from such a service?

1. Locality

2. Memoryless

3. Fault-tolerance

4. Robustness

Page 19: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

8/23

Types of failures and Robustness

I To tolerate communication failures we essentially need topreserve k-connectivity.

I What about motion failures? Suppose a robot falls downa hole but its radio still works.

I Imperfect actuators, rough terrain and unexpectedobstacles may prevent an agent from accurately followinga trajectory.

Page 20: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

8/23

Types of failures and Robustness

I To tolerate communication failures we essentially need topreserve k-connectivity.

I What about motion failures? Suppose a robot falls downa hole but its radio still works.

I Imperfect actuators, rough terrain and unexpectedobstacles may prevent an agent from accurately followinga trajectory.

Page 21: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

8/23

Types of failures and Robustness

I To tolerate communication failures we essentially need topreserve k-connectivity.

I What about motion failures? Suppose a robot falls downa hole but its radio still works.

I Imperfect actuators, rough terrain and unexpectedobstacles may prevent an agent from accurately followinga trajectory.

Page 22: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

9/23

Assumptions

I We suppose the communication graph isdescribed by a unit disk graph.

I Each robot can compute its relative positionwrt its neighbors.

I The system operates in synchronous rounds.

I The MAC layer takes care of collisions andretransmissions and we assume if we send amessage it is received by every other agentwithin distance r .

!!

""

#"

$%

&"

'"

!"

!("

Consider the distance from one agent to the target of theother, without loss of generality consider the distance from x1

to y2, that is c2 = !x1 " y2!.If c2 # r agent 1 reaches its target in the next round,

therefore to prove progress we can assume that c2 > r. Firstwe decompose c2 into its vertical and horizontal components,in particular c2

2 = w2 + h2 where w = w2 = !r with ! < 1as the horizontal component, and h = b/2 + h2 = "r with0 # " # 3/2 as the vertical component.

We prove that in the next iteration c!1 = !x!2 " y1! # r, andtherefore agent 2 reaches its target at most one round after that.To upper bound c!1, we consider the worst case when y1 is themaximum distance apart from y2. By the “close to target”assumption the horizontal distance from y1 to x1 is also lessthan r, and therefore we assume that y1 is r units above y2.

Taking x1 to be the origin x!2 = r

!w"

w2+h2

h"w2+h2

"=

r

!!

"2+!2

""2+!2

". We decompose c!1 into its horizontal and ver-

tical components, where the horizontal component is r(! "!/

#"2 + !2) and the vertical component is r(1 " " +

"/#

"2 + !2). The length of c!1 these components is:

c!1 = r#

#2 =

$! " !#

"2 + !2

%2

+

$1" " +

"#"2 + !2

%2

= !2 + (1" ")2 " 2(!2 " " + "2)#"2 + !2

+"2 + !2

"2 + !2

= !2 + "2 " 2" + 2" 2(!2 " " + "2)#"2 + !2

= (2" ") + (!2 + "2 " ")(1" 2#"2 + !2

)

We initially assumed c2 > r which implies that !2+"2 > 1.However #2 is minimized as !2 + "2 tends to 1. Therefore#2 # 1, which implies that c2 # r and agent 1 must reach itstarget in the next round.

E. Progress of n agents.

When dealing with more than 2 agents the filtering methodneeds to be considered to prove progress. The problem isfurther complicated since not only edges are lost (whichpotentially could lead to more progress), but in a lot of casesedges are added.

Moreover, some motions might require loosing edges whichcannot be removed by local methods, this can be handledby global cycle breaking algorithms that could be startedby the service (and run in parallel) whenever no progress isbeing made. We will describe how to incorporate global cyclebreaking routines with the algorithm in a future paper.

Even ignoring filtering issues, the greedy nature of theservice means it will always try to make positive progresstowards a target. However some combinations of initial andtarget configurations require the agents to make negativeprogress (move further away from its target) on the short termso that on the long term they can reach its target. Its clear theservice does would never produce such motions.

VI. SIMULATION RESULTS

This section presents the results of computer simulationsof the intersecting disks connectivity service using differentparameters. The first subsection explores the effect of thefiltering routines on the progress of the service, and showsexperimentally that in random graphs the LMST strategyprovides close to optimal progress.

The second subsection explores the impact of the physicalparameters of the agents, such as communication speed andphysical speed, on the trajectories produced by the service.In particular the simulations show that faster agents tend tocluster closer together to guarantee connectivity.

A. Filtering routines

As the communication graph becomes dense the differencesbetween the filtering routines become more apparent. Wetested the three filtering methods described in a randomconnected graph where each agent has a random target 6raway from its initial position.

Fig. 2. Random graph with 80 agents

Page 23: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

9/23

Assumptions

I We suppose the communication graph isdescribed by a unit disk graph.

I Each robot can compute its relative positionwrt its neighbors.

I The system operates in synchronous rounds.

I The MAC layer takes care of collisions andretransmissions and we assume if we send amessage it is received by every other agentwithin distance r .

!!

""

#"

$%

&"

'"

!"

!("

Consider the distance from one agent to the target of theother, without loss of generality consider the distance from x1

to y2, that is c2 = !x1 " y2!.If c2 # r agent 1 reaches its target in the next round,

therefore to prove progress we can assume that c2 > r. Firstwe decompose c2 into its vertical and horizontal components,in particular c2

2 = w2 + h2 where w = w2 = !r with ! < 1as the horizontal component, and h = b/2 + h2 = "r with0 # " # 3/2 as the vertical component.

We prove that in the next iteration c!1 = !x!2 " y1! # r, andtherefore agent 2 reaches its target at most one round after that.To upper bound c!1, we consider the worst case when y1 is themaximum distance apart from y2. By the “close to target”assumption the horizontal distance from y1 to x1 is also lessthan r, and therefore we assume that y1 is r units above y2.

Taking x1 to be the origin x!2 = r

!w"

w2+h2

h"w2+h2

"=

r

!!

"2+!2

""2+!2

". We decompose c!1 into its horizontal and ver-

tical components, where the horizontal component is r(! "!/

#"2 + !2) and the vertical component is r(1 " " +

"/#

"2 + !2). The length of c!1 these components is:

c!1 = r#

#2 =

$! " !#

"2 + !2

%2

+

$1" " +

"#"2 + !2

%2

= !2 + (1" ")2 " 2(!2 " " + "2)#"2 + !2

+"2 + !2

"2 + !2

= !2 + "2 " 2" + 2" 2(!2 " " + "2)#"2 + !2

= (2" ") + (!2 + "2 " ")(1" 2#"2 + !2

)

We initially assumed c2 > r which implies that !2+"2 > 1.However #2 is minimized as !2 + "2 tends to 1. Therefore#2 # 1, which implies that c2 # r and agent 1 must reach itstarget in the next round.

E. Progress of n agents.

When dealing with more than 2 agents the filtering methodneeds to be considered to prove progress. The problem isfurther complicated since not only edges are lost (whichpotentially could lead to more progress), but in a lot of casesedges are added.

Moreover, some motions might require loosing edges whichcannot be removed by local methods, this can be handledby global cycle breaking algorithms that could be startedby the service (and run in parallel) whenever no progress isbeing made. We will describe how to incorporate global cyclebreaking routines with the algorithm in a future paper.

Even ignoring filtering issues, the greedy nature of theservice means it will always try to make positive progresstowards a target. However some combinations of initial andtarget configurations require the agents to make negativeprogress (move further away from its target) on the short termso that on the long term they can reach its target. Its clear theservice does would never produce such motions.

VI. SIMULATION RESULTS

This section presents the results of computer simulationsof the intersecting disks connectivity service using differentparameters. The first subsection explores the effect of thefiltering routines on the progress of the service, and showsexperimentally that in random graphs the LMST strategyprovides close to optimal progress.

The second subsection explores the impact of the physicalparameters of the agents, such as communication speed andphysical speed, on the trajectories produced by the service.In particular the simulations show that faster agents tend tocluster closer together to guarantee connectivity.

A. Filtering routines

As the communication graph becomes dense the differencesbetween the filtering routines become more apparent. Wetested the three filtering methods described in a randomconnected graph where each agent has a random target 6raway from its initial position.

Fig. 2. Random graph with 80 agents

Page 24: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

9/23

Assumptions

I We suppose the communication graph isdescribed by a unit disk graph.

I Each robot can compute its relative positionwrt its neighbors.

I The system operates in synchronous rounds.

I The MAC layer takes care of collisions andretransmissions and we assume if we send amessage it is received by every other agentwithin distance r .

!!

""

#"

$%

&"

'"

!"

!("

Consider the distance from one agent to the target of theother, without loss of generality consider the distance from x1

to y2, that is c2 = !x1 " y2!.If c2 # r agent 1 reaches its target in the next round,

therefore to prove progress we can assume that c2 > r. Firstwe decompose c2 into its vertical and horizontal components,in particular c2

2 = w2 + h2 where w = w2 = !r with ! < 1as the horizontal component, and h = b/2 + h2 = "r with0 # " # 3/2 as the vertical component.

We prove that in the next iteration c!1 = !x!2 " y1! # r, andtherefore agent 2 reaches its target at most one round after that.To upper bound c!1, we consider the worst case when y1 is themaximum distance apart from y2. By the “close to target”assumption the horizontal distance from y1 to x1 is also lessthan r, and therefore we assume that y1 is r units above y2.

Taking x1 to be the origin x!2 = r

!w"

w2+h2

h"w2+h2

"=

r

!!

"2+!2

""2+!2

". We decompose c!1 into its horizontal and ver-

tical components, where the horizontal component is r(! "!/

#"2 + !2) and the vertical component is r(1 " " +

"/#

"2 + !2). The length of c!1 these components is:

c!1 = r#

#2 =

$! " !#

"2 + !2

%2

+

$1" " +

"#"2 + !2

%2

= !2 + (1" ")2 " 2(!2 " " + "2)#"2 + !2

+"2 + !2

"2 + !2

= !2 + "2 " 2" + 2" 2(!2 " " + "2)#"2 + !2

= (2" ") + (!2 + "2 " ")(1" 2#"2 + !2

)

We initially assumed c2 > r which implies that !2+"2 > 1.However #2 is minimized as !2 + "2 tends to 1. Therefore#2 # 1, which implies that c2 # r and agent 1 must reach itstarget in the next round.

E. Progress of n agents.

When dealing with more than 2 agents the filtering methodneeds to be considered to prove progress. The problem isfurther complicated since not only edges are lost (whichpotentially could lead to more progress), but in a lot of casesedges are added.

Moreover, some motions might require loosing edges whichcannot be removed by local methods, this can be handledby global cycle breaking algorithms that could be startedby the service (and run in parallel) whenever no progress isbeing made. We will describe how to incorporate global cyclebreaking routines with the algorithm in a future paper.

Even ignoring filtering issues, the greedy nature of theservice means it will always try to make positive progresstowards a target. However some combinations of initial andtarget configurations require the agents to make negativeprogress (move further away from its target) on the short termso that on the long term they can reach its target. Its clear theservice does would never produce such motions.

VI. SIMULATION RESULTS

This section presents the results of computer simulationsof the intersecting disks connectivity service using differentparameters. The first subsection explores the effect of thefiltering routines on the progress of the service, and showsexperimentally that in random graphs the LMST strategyprovides close to optimal progress.

The second subsection explores the impact of the physicalparameters of the agents, such as communication speed andphysical speed, on the trajectories produced by the service.In particular the simulations show that faster agents tend tocluster closer together to guarantee connectivity.

A. Filtering routines

As the communication graph becomes dense the differencesbetween the filtering routines become more apparent. Wetested the three filtering methods described in a randomconnected graph where each agent has a random target 6raway from its initial position.

Fig. 2. Random graph with 80 agents

Page 25: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

9/23

Assumptions

I We suppose the communication graph isdescribed by a unit disk graph.

I Each robot can compute its relative positionwrt its neighbors.

I The system operates in synchronous rounds.

I The MAC layer takes care of collisions andretransmissions and we assume if we send amessage it is received by every other agentwithin distance r .

!!

""

#"

$%

&"

'"

!"

!("

Consider the distance from one agent to the target of theother, without loss of generality consider the distance from x1

to y2, that is c2 = !x1 " y2!.If c2 # r agent 1 reaches its target in the next round,

therefore to prove progress we can assume that c2 > r. Firstwe decompose c2 into its vertical and horizontal components,in particular c2

2 = w2 + h2 where w = w2 = !r with ! < 1as the horizontal component, and h = b/2 + h2 = "r with0 # " # 3/2 as the vertical component.

We prove that in the next iteration c!1 = !x!2 " y1! # r, andtherefore agent 2 reaches its target at most one round after that.To upper bound c!1, we consider the worst case when y1 is themaximum distance apart from y2. By the “close to target”assumption the horizontal distance from y1 to x1 is also lessthan r, and therefore we assume that y1 is r units above y2.

Taking x1 to be the origin x!2 = r

!w"

w2+h2

h"w2+h2

"=

r

!!

"2+!2

""2+!2

". We decompose c!1 into its horizontal and ver-

tical components, where the horizontal component is r(! "!/

#"2 + !2) and the vertical component is r(1 " " +

"/#

"2 + !2). The length of c!1 these components is:

c!1 = r#

#2 =

$! " !#

"2 + !2

%2

+

$1" " +

"#"2 + !2

%2

= !2 + (1" ")2 " 2(!2 " " + "2)#"2 + !2

+"2 + !2

"2 + !2

= !2 + "2 " 2" + 2" 2(!2 " " + "2)#"2 + !2

= (2" ") + (!2 + "2 " ")(1" 2#"2 + !2

)

We initially assumed c2 > r which implies that !2+"2 > 1.However #2 is minimized as !2 + "2 tends to 1. Therefore#2 # 1, which implies that c2 # r and agent 1 must reach itstarget in the next round.

E. Progress of n agents.

When dealing with more than 2 agents the filtering methodneeds to be considered to prove progress. The problem isfurther complicated since not only edges are lost (whichpotentially could lead to more progress), but in a lot of casesedges are added.

Moreover, some motions might require loosing edges whichcannot be removed by local methods, this can be handledby global cycle breaking algorithms that could be startedby the service (and run in parallel) whenever no progress isbeing made. We will describe how to incorporate global cyclebreaking routines with the algorithm in a future paper.

Even ignoring filtering issues, the greedy nature of theservice means it will always try to make positive progresstowards a target. However some combinations of initial andtarget configurations require the agents to make negativeprogress (move further away from its target) on the short termso that on the long term they can reach its target. Its clear theservice does would never produce such motions.

VI. SIMULATION RESULTS

This section presents the results of computer simulationsof the intersecting disks connectivity service using differentparameters. The first subsection explores the effect of thefiltering routines on the progress of the service, and showsexperimentally that in random graphs the LMST strategyprovides close to optimal progress.

The second subsection explores the impact of the physicalparameters of the agents, such as communication speed andphysical speed, on the trajectories produced by the service.In particular the simulations show that faster agents tend tocluster closer together to guarantee connectivity.

A. Filtering routines

As the communication graph becomes dense the differencesbetween the filtering routines become more apparent. Wetested the three filtering methods described in a randomconnected graph where each agent has a random target 6raway from its initial position.

Fig. 2. Random graph with 80 agents

Page 26: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

10/23

Difficulties

Page 27: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

11/23

Protocol

1. Collection phase: Learn the position of your neighborhoodN[i ].

2. Proposal phase: Determine a feasible trajectory γ(t)which should be connected and gets you closer to yourtarget.

3. Adjustment phase: If necessary adjust your proposedtrajectory γ′(t) to guarantee connectivity.

Page 28: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

11/23

Protocol

1. Collection phase: Learn the position of your neighborhoodN[i ].

2. Proposal phase: Determine a feasible trajectory γ(t)which should be connected and gets you closer to yourtarget.

3. Adjustment phase: If necessary adjust your proposedtrajectory γ′(t) to guarantee connectivity.

Page 29: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

11/23

Protocol

1. Collection phase: Learn the position of your neighborhoodN[i ].

2. Proposal phase: Determine a feasible trajectory γ(t)which should be connected and gets you closer to yourtarget.

3. Adjustment phase: If necessary adjust your proposedtrajectory γ′(t) to guarantee connectivity.

Page 30: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

12/23

What to propose?I Be optimistic. Suppose nobody else will move, how far

can you go without disconnecting?

Page 31: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

12/23

What to propose?I Be optimistic. Suppose nobody else will move, how far

can you go without disconnecting?

Page 32: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

12/23

What to propose?I Be optimistic. Suppose nobody else will move, how far

can you go without disconnecting?

Page 33: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

12/23

What to propose?I Be optimistic. Suppose nobody else will move, how far

can you go without disconnecting?

Page 34: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

13/23

Filtering

I As it is, the protocol does not loose any edges, it doeshowever create new ones.

I There is a simple solution to this, filter out the neighborsin the proposal phase.

I Can we filter them locally? Yes, at least to some extent.

I GG, RNG, YAO, LMST, etc...

Page 35: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

13/23

Filtering

I As it is, the protocol does not loose any edges, it doeshowever create new ones.

I There is a simple solution to this, filter out the neighborsin the proposal phase.

I Can we filter them locally?

Yes, at least to some extent.

I GG, RNG, YAO, LMST, etc...

Page 36: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

13/23

Filtering

I As it is, the protocol does not loose any edges, it doeshowever create new ones.

I There is a simple solution to this, filter out the neighborsin the proposal phase.

I Can we filter them locally? Yes, at least to some extent.

I GG, RNG, YAO, LMST, etc...

Page 37: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

14/23

Moving as your filtered neighbors change

Page 38: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

14/23

Moving as your filtered neighbors change

Page 39: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

14/23

Moving as your filtered neighbors change

Page 40: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

15/23

Wow, its nice to be optimisticI So is the protocol now correct? No!

I The optimistic approach potentially results indisconnection.

Page 41: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

15/23

Wow, its nice to be optimisticI So is the protocol now correct? No!

I The optimistic approach potentially results indisconnection.

Page 42: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

15/23

Wow, its nice to be optimisticI So is the protocol now correct? No!

I The optimistic approach potentially results indisconnection.

Page 43: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

15/23

Wow, its nice to be optimisticI So is the protocol now correct? No!

I The optimistic approach potentially results indisconnection.

Page 44: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

15/23

Wow, its nice to be optimisticI So is the protocol now correct? No!

I The optimistic approach potentially results indisconnection.

Page 45: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

16/23

Now what!

I Here is an easy fix:

I If before you had γ(t) use γ′(t) = γ(0.5 ∗ t) instead.

I Why does this work?

Proof. Consider two agents at positions xi and xj andproposals pi and pj . If they adjust their proposals they willmove to p′

i = xi + 12(pi − xi), and p′

j = xj + 12(pj − xj).

∥∥p′i − p′

j

∥∥ =

∥∥∥∥xi − xj +1

2(pi − pj + xj − xi)

∥∥∥∥=

1

2‖xi − xj + pi − pj‖

=1

2‖xi − pj‖+

1

2‖xj − pi‖

Page 46: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

16/23

Now what!

I Here is an easy fix:

I If before you had γ(t) use γ′(t) = γ(0.5 ∗ t) instead.

I Why does this work?

Proof. Consider two agents at positions xi and xj andproposals pi and pj . If they adjust their proposals they willmove to p′

i = xi + 12(pi − xi), and p′

j = xj + 12(pj − xj).

∥∥p′i − p′

j

∥∥ =

∥∥∥∥xi − xj +1

2(pi − pj + xj − xi)

∥∥∥∥

=1

2‖xi − xj + pi − pj‖

=1

2‖xi − pj‖+

1

2‖xj − pi‖

Page 47: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

16/23

Now what!

I Here is an easy fix:

I If before you had γ(t) use γ′(t) = γ(0.5 ∗ t) instead.

I Why does this work?

Proof. Consider two agents at positions xi and xj andproposals pi and pj . If they adjust their proposals they willmove to p′

i = xi + 12(pi − xi), and p′

j = xj + 12(pj − xj).

∥∥p′i − p′

j

∥∥ =

∥∥∥∥xi − xj +1

2(pi − pj + xj − xi)

∥∥∥∥=

1

2‖xi − xj + pi − pj‖

=1

2‖xi − pj‖+

1

2‖xj − pi‖

Page 48: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

16/23

Now what!

I Here is an easy fix:

I If before you had γ(t) use γ′(t) = γ(0.5 ∗ t) instead.

I Why does this work?

Proof. Consider two agents at positions xi and xj andproposals pi and pj . If they adjust their proposals they willmove to p′

i = xi + 12(pi − xi), and p′

j = xj + 12(pj − xj).

∥∥p′i − p′

j

∥∥ =

∥∥∥∥xi − xj +1

2(pi − pj + xj − xi)

∥∥∥∥=

1

2‖xi − xj + pi − pj‖

=1

2‖xi − pj‖+

1

2‖xj − pi‖

Page 49: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

17/23

But what about robustness?I Even if the current positions and the targets are

connected fault-tolerance and robustness are notguaranteed.

Page 50: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

17/23

But what about robustness?I Even if the current positions and the targets are

connected fault-tolerance and robustness are notguaranteed.

Page 51: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

18/23

Pairwise connectivity is sufficientI We just need to prove fault-tolerance and robustness for

every pair of neighboring agents.

I We can exploit the convex nature of the regions and thelinearity of the trajectories to prove robustness andfault-tolerance.

Page 52: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

18/23

Pairwise connectivity is sufficientI We just need to prove fault-tolerance and robustness for

every pair of neighboring agents.I We can exploit the convex nature of the regions and the

linearity of the trajectories to prove robustness andfault-tolerance.

Page 53: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

18/23

Pairwise connectivity is sufficientI We just need to prove fault-tolerance and robustness for

every pair of neighboring agents.I We can exploit the convex nature of the regions and the

linearity of the trajectories to prove robustness andfault-tolerance.

Page 54: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

19/23

Does it work?I So far we’ve proved the algorithm is correct, but it is not

yet clear how well it works.

I Clearly, some topology changes require global knowledge.

Page 55: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

19/23

Does it work?I So far we’ve proved the algorithm is correct, but it is not

yet clear how well it works.I Clearly, some topology changes require global knowledge.

Page 56: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

19/23

Does it work?I So far we’ve proved the algorithm is correct, but it is not

yet clear how well it works.I Clearly, some topology changes require global knowledge.

Page 57: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

20/23

How well does it work?

I Under what circumstances are the agents guaranteed toreach their target?

I What is the rate of convergence?

I What effect does the communication speed,communication radius and physical speed of the agentshave on the trajectories?

I How far are the trajectories from optimal?

Page 58: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

20/23

How well does it work?

I Under what circumstances are the agents guaranteed toreach their target?

I What is the rate of convergence?

I What effect does the communication speed,communication radius and physical speed of the agentshave on the trajectories?

I How far are the trajectories from optimal?

Page 59: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

20/23

How well does it work?

I Under what circumstances are the agents guaranteed toreach their target?

I What is the rate of convergence?

I What effect does the communication speed,communication radius and physical speed of the agentshave on the trajectories?

I How far are the trajectories from optimal?

Page 60: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

20/23

How well does it work?

I Under what circumstances are the agents guaranteed toreach their target?

I What is the rate of convergence?

I What effect does the communication speed,communication radius and physical speed of the agentshave on the trajectories?

I How far are the trajectories from optimal?

Page 61: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

21/23

Simulation

http://people.csail.mit.edu/acornejo/research

Page 62: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

22/23

Extensions

I Low hanging fruitI Extend to arbitrary convex radio patterns.

I Handle obstacles.I Provide useful information to upper layer.

I Pushing the envelope

I Forget about graph based models (use signal to noise).I Provide probabilistic guarantees to tolerate more failures.

Page 63: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

22/23

Extensions

I Low hanging fruitI Extend to arbitrary convex radio patterns.I Handle obstacles.

I Provide useful information to upper layer.

I Pushing the envelope

I Forget about graph based models (use signal to noise).I Provide probabilistic guarantees to tolerate more failures.

Page 64: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

22/23

Extensions

I Low hanging fruitI Extend to arbitrary convex radio patterns.I Handle obstacles.I Provide useful information to upper layer.

I Pushing the envelope

I Forget about graph based models (use signal to noise).I Provide probabilistic guarantees to tolerate more failures.

Page 65: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

22/23

Extensions

I Low hanging fruitI Extend to arbitrary convex radio patterns.I Handle obstacles.I Provide useful information to upper layer.

I Pushing the envelopeI Forget about graph based models (use signal to noise).

I Provide probabilistic guarantees to tolerate more failures.

Page 66: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

22/23

Extensions

I Low hanging fruitI Extend to arbitrary convex radio patterns.I Handle obstacles.I Provide useful information to upper layer.

I Pushing the envelopeI Forget about graph based models (use signal to noise).I Provide probabilistic guarantees to tolerate more failures.

Page 67: Connectivity Service for Mobile Ad-Hoc Networksprojects.csail.mit.edu/scw08/talks/cornejo.pdf · Connectivity Service for Mobile Ad-Hoc Networks Alex Cornejo and Nancy Lynch October

23/23

Questions?