Steve Levine. Programs with Flexible Time. When? Tuesday, Feb 16 th. courtesy of JPL

Size: px
Start display at page:

Download "Steve Levine. Programs with Flexible Time. When? Tuesday, Feb 16 th. courtesy of JPL"

Transcription

1 Programs with Flexible Time When? Contributions: Brian Williams Patrick Conrad Simon Fang Paul Morris Nicola Muscettola Pedro Santana Julie Shah John Stedl Andrew Wang Steve Levine Tuesday, Feb 16 th courtesy of JPL

2 Assignments Problems Sets: Pset 1 due tomorrow (Wednesday) at 11:59pm Pset 2 released tomorrow Interesting references: Dechter, R., I. Meiri, J. Pearl, Temporal Constraint Networks, Artificial Intelligence, 49, pp ,1991. Muscettola, N., P. Morris and I. Tsamardinos, Reformulating Temporal Plans for Efficient Execution. Intl Conf. on Knowledge Representation and Reasoning (KRR), 1998.

3 Outline Programs with Flexible Time Intro Describing temporal plans Exposing implicit constraints Consistency checking Offline scheduling Online execution Reformulating for faster online execution

4 A single cognitive system language and executive. Uhura Kirk Burton Pike Sulu Bones source unknown. All rights reserved. This content is excluded from our Creative Commons license. For moreinformation, see

5 Flexible Time Flexible time = more robustness We tell cognitive robot: Timing requirements ( engage boosters 2-4 minutes after launch but before reaching orbit ) Cognitive robot schedules autonomously. This image is in the public domain.

6 Execution of Timed Model-based Programs 1 2 in RMPL [williams et al 01] [5,10] [5,10] [2,5] [5,10] [5,10] [5,10] [2,5] [5,10] Decisions include what, how, who and when. Focus of today [Muscettola, Morris, Tsamardinos,KR 98]

7 To Execute a Temporal Plan 1. Describe Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 2. Test Consistency 3. Schedule Plan 3. Reformulate Plan 4. Execute Plan 4. Dynamically Schedule Plan

8 To Execute a Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 3. Schedule Plan 4. Execute Plan

9 Describe Temporal Plan Activities to perform Relationships among activities This image is in the public domain.

10 Metric Temporal Relations [10min, 30min] Activity: Going to the store Activity: Bake Bread [0d, 1d] Activity: Eat Bread

11 Simplify by reducing interval relations to relations on timepoints. Activity A A - A + Start Activity A End Activity A

12 Metric Temporal Relations [10m,30m] G - G + 10 < [G + -G - ] < 30 Start Going to Store End Going to Store [0d,1d] B + E - 0 < [E - -B + ] < 1 End Bake Bread Start Eat Bread

13 Qualitative Temporal Relations [Allen 83] X Y X Y X Y XY X Y Y X Y X

14 Qualitative Temporal Relations Expressed as timepoint inequalities: X Y X Y X + X + [0,inf] [0,0] Y - Y - and X - < Y + X X XY Y Y X Y and X + < Y + and X + < Y + and X + = Y + Y X and X + = Y + or Y + < X - [Villain & Kautz; Simmons]

15 Temporal Relations Described by a Simple Temporal Network (STN) Simple Temporal Network Tuple <X, C> where: variables X 1, X n, represent time points (real-valued domains) binary constraints C of the form: ( X X ) [ a b ]. k i ik, ik [l 1, u 1 ] X 1 X 3 [l 2, u 2 ] [l 3, u 3 ] X 2 [Dechter, Meiri, Pearl 91] called links. Sufficient to represent: simple metric constraints all Allen relations but 1 Can t represent: Allen s disjoint relation

16 Modeling Visualization

17 To Execute a Temporal Plan 1. Describe Temporal Plan A [1,10] B [1,1] D [0,9] C [2,2] 2. Test Consistency 3. Schedule Plan 4. Execute Plan

18 Consistency of an STN Input: STN <X, C> where C j = < <X k, X i >, <a j, b j > > A [1,10] [1,1] B D [0,9] C [2,2] STN is consistent iff there exists an assignment to times X satisfying C.

19 Schedule of an STN Input: STN <X, C> where C j = < <X k, X i >, <a j, b j > > A [1,10] [0,9] B C [1,1] D [2,2] Schedule is assignment to all timepoints X consistent with constraints.

20 How to find schedule? Idea: Transform STN Transform to distance-graph Common graph algorithms (i.e., shortest path) will apply

21 Transformation to distance graph (Board)

22 Simple Temporal Network Distance Graph u A [l, u] B A B -l l B A u B A u l B A A B -l [Dechter, Meiri, Pearl 91]

23 Algorithm: offline scheduling Initialize execution window to [-, ] for each event while unexecuted events: x i = pick any unexecuted event t i = pick any time in x i s execution window Propagate to all x i s neighbors & update their windows

24 Naïve (and wrong) scheduling (Board)

25 Propagating to neighbors Tighten neighbor s execution windows: - outgoing edges to neighbor: u = min(u, t i + w u ) - incoming edges from neighbor: l = max(l, t i -w) l [u, l] tightened [u, l ] w u x i = t i w l

26 Exposing Implicit Constraints (Board)

27 [10,20] [30,40] [10,20] [60,70] [40,50]

28 APSP Graph: Windows of Feasible Values

29 Dispatchable form An STN or distance graph is dispatchable if: Can be properly scheduled via local propagations to neighbors only Requires all implicit constraints be explicit

30 Checking Consistency (Board)

31 1 A [2, 1] B A B Simple Temporal Network Distance Graph

32 Summary To schedule, want a simple, local-propagation algorithm Requires exposing implicit constraints All-pairs shortest path (APSP) exposes all implicit constraints Puts network in dispatchable form Negative cycle in APSP: inconsistent.

33 To Execute a Temporal Plan 1. Describe Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 2. Test Consistency 3. Schedule Plan 3. Reformulate Plan 4. Execute Plan 4. Dynamically Schedule Plan

34 Algorithm: offline scheduling Compute dispatchable form (i.e., APSP) Initialize execution window to [-, ] for each event while unexecuted events: x i = pick any unexecuted event t i = pick any time in x i s execution window Propagate to all x i s neighbors & update their windows

35 The original STN [0,10] [1, 1] [0,10] [2, 2]

36 Distance graph transformation

37 All pairs shortest path A B C D A B C D

38 Computing a schedule

39 Computing a schedule [-, ] [-, ] 1-1 [-, ] 2 0 [-, ] 11 Initialize execution windows for each event in the plan

40 Computing a schedule [-, ] t = [-, ] 2 0 [-, ] 11 Assign the first event

41 outgoing edges to neighbor: u = min(u, t i + w u ) incoming edges from neighbor: l = max(l, t i Computing a schedule w) l [-, 10] t = [-, ] 2 0 [-, ] 11 Propagate updated time bounds to neighbors

42 Computing a schedule outgoing edges to neighbor: u = min(u, t i + w u ) incoming edges from neighbor: l = max(l, t i 10 -w) l [1, 10] 1-1 t = [-, ] [-, ] 11 Propagate updated time bounds to neighbors

43 Computing a schedule [1, 10] t = [-, ] [0, 9] 11 Propagate updated time bounds to neighbors

44 Computing a schedule [1, 10] t = [2, 11] [0, 9] 11 Propagate updated time bounds to neighbors

45 Computing a schedule t = 3 t = [2, 11] 2 0 [0, 9] 11 Arbitrarily pick another time point and assign it...

46 Computing a schedule 10 t = t = [2, 11] [2, 2] 11 Propagate updated time bounds to neighbors

47 Computing a schedule 10 t = t = [4, 4] [2, 2] 11 Propagate updated time bounds to neighbors

48 Computing a schedule t = 3 t = [4, 4] 2 0 t = 2 11 Pick another event and assign it

49 Computing a schedule t = 3 t = [4, 4] 2 0 t = 2 11 Propagate to neighbors

50 Computing a schedule t = 3 t = t = t = 2 11 Assign the final event

51 Pre-computed schedules not robust against fluctuations We ve just computed a schedule: ta = 0, tb = 3, tc = 2, td = 4 But what if there s a disturbance? i.e., what if tb = 3.1? i.e., what if tb = 4? i.e., what if tb = 100? Pre-computed schedules not robust against fluctuations! Solution:Dispatch dynamically online. Schedule events on the fly, after observing past event times. Increases robustness to many unanticipated fluctuations. Flexible temporal constraints allow this!

52 To Execute a Temporal Plan 1. Describe Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 2. Test Consistency 3. Schedule Plan 3. Reformulate Plan 4. Execute Plan 4. Dynamically Schedule Plan

53 How do we schedule online? First, consider naive (incorrect!) approach. Similar to offline schedule algorithm, but now online: Wait until current time in execution window ( active ) (Still a problem though as we ll see shortly)

54 Naïve (wrong!) online dispatcher Compute dispatchable form (i.e., APSP) Initialize execution window to [-, ] for each event while unexecuted events: x i = pick any unexecuted event if current time in window t i = now Propagate to all x i s neighbors & update their windows

55 Naïve (wrong!) online scheduling [-, ] t = [-, ] [-, ] 11 Arbitrarily picking next event

56 Naïve (wrong!) online scheduling 10 t = t = [2, 11] [0, 9] 11 Arbitrarily picking next event

57 Naïve (wrong!) online scheduling 10 t = t = [4, 4] t = but wait! We just assigned a past time!

58 Enablement conditions dictate the ordering of dispatched events Online: must assign monotonically increasing times whereas offline algorithms may assign in any order. How can we constrain dispatcher to do this? Solution:determine enablement conditions by analyzing negative edges. Allows us to infer if some edges must precede other edges

59 Enablement conditions dictate the ordering of dispatched events Negative edges from APSP dictate ordering constraints

60 Enablement conditions dictate the ordering of dispatched events Negative edges from APSP dictate ordering constraints B must occur after both A and C!

61 Enablement conditions dictate the ordering of dispatched events An event is enabled if all its neighbors over negative edges have already been dispatched. All predecessors have been dispatched. Modify online dispatching algorithm to only dispatch events if they are enabled. An event is active is the current time is within that event s execution window

62 Corrected online dispatcher Compute dispatchable form (i.e., APSP) Initialize execution window to [-, ] for each event E {events with no predecessors} # set of enabled events S {} # set of executed events while unexecuted events: Wait until some event x i in E is active t i = now # dispatch x i now at t i Propagate to all x i s neighbors & update their windows Add x i to S Add to E any now-enabled events

63 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {A, C} Initialize execution windows to [-, ] S = {} E {events with no predecessors} S {} [-, ] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 [-, ] [-, ] A, C initially in E have no [-, ] negative, outgoing edges

64 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {A, C} Initialize execution windows to [-, ] S = {} E {events with no predecessors} S {} [-, ] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 [-, ] [-, ] A is enabled and in E. [-, ] (could have chosen C too)

65 Running online dispatcher Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} [1, 10] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events E = {C} S = {A} t = 0 [2, 11] Dispatch A and propagate [0, 9]

66 Running online dispatcher Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} [1, 10] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events E = {C} S = {A} t = 0 [2, 11] B, D not enabled! But C still is. [0, 9]

67 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {} Initialize execution windows to [-, ] S = {A, C} E {events with no predecessors} S {} [3, 3] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 t = 0 [4, 4] Dispatch & propagate C. t =

68 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {B} Initialize execution windows to [-, ] S = {A, C} E {events with no predecessors} S {} [3, 3] while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 t = 0 [4, 4] B is now enabled (but still not D). t =

69 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {} Initialize execution windows to [-, ] S = {A, C, B} E {events with no predecessors} S {} t = 3 while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 t = 0 [4, 4] Dispatch & propagate B. t =

70 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {D} Initialize execution windows to [-, ] S = {A, C, B} E {events with no predecessors} S {} t = 3 while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 t = 0 [4, 4] D is finally enabled. t =

71 Running online dispatcher Compute dispatchable form (i.e., APSP) E = {} Initialize execution windows to [-, ] S = {A, C, B, D} E {events with no predecessors} S {} t = 3 while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 10 t = 0 t = 4 Finish up by dispatching D! t =

72 Online dispatching algorithm remarks By considering predecessors, we guarantee that events assigned monotonically increasing times online. Capable of responding to fluctuations that do not affect overall temporal feasibility. (Note: must be run on an dispatchable / APSP graph!) 2

73 Online dispatcher efficiency Consider an STN with n edges. How many edges in APSP distance graph? Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 3

74 Online dispatcher efficiency Consider an STN with n edges. How many edges in APSP distance graph? n 2. Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 4

75 Online dispatcher efficiency Consider an STN with n edges. How many edges in APSP distance graph? n 2. How many neighbors to propagate to each step? Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 5

76 Online dispatcher efficiency Consider an STN with n edges. How many edges in APSP distance graph? n 2. How many neighbors to propagate to each step? n. Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 6

77 Online dispatcher efficiency Consider an STN with n edges. How many edges in APSP distance graph? n 2. How many neighbors to propagate to each step? n. Large STNs: propagation slow. Want to reduce this. Compute dispatchable form (i.e., APSP) Initialize execution windows to [-, ] E {events with no predecessors} S {} while unexecuted events: Wait until some event x i in E is active t i = now Propagate to x i s neighbors Add x i to S Add to E any now-enabled events 7

78 To Execute a Temporal Plan 1. Describe Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 2. Test Consistency 3. Schedule Plan 3. Reformulate Plan 4. Execute Plan 4. Dynamically Schedule Plan 7

79 79

80 You don t need all those edges!

81 You don t need all those edges! Equivalent minimal dispatchable network 1

82 You don t need all those edges! Let s consider a specific triangle of edges

83 You don t need all those edges! 10 1 Let s consider a specific triangle of edges. Do we really need the bottom edge?

84 You don t need all those edges! 10 1 Let s consider a different triangle of edges. Do we really need the bottom edge?

85 A ropes analogy Imagine a unidirectional rope of length 10 constraining sliders on a track. 5

86 Rope analogy Imagine a unidirectional rope of length 10 constraining sliders on a track. 6

87 Rope analogy Now add in ropes for other constraints 7

88 Rope analogy Imagine pulling A and D as tightly as possible

89 Rope analogy Can we remove rope AD without changing behavior? Yes! Same possible positions for A, B, D. 8

90 Rope analogy Can we remove ropes AB, BD without changing behavior? No. AD still constrained, but B could slide freely! Not the same behavior. Collectively, AB and BD entail AD (but AD does not entail both AB and AD). 0

91 Upper dominating edges - detection from APSP d BC If d AC, d BC 0 and d AB + d BC =d AC then BC dominates AC d AC (Proof omitted - based on triangle rule property of APSP. Please see notes / reading for more info) 1

92 Lower dominating edges - detection from APSP d AB If d AB, d AC <0and d AB + d BC =d AC then AB dominates AC d AC (Proof omitted - based on triangle rule property of APSP. Please see notes / reading for more info) 2

93 Dominance example

94 Dominance example Upper dominated! 4

95 Dominance example Upper dominated! 5

96 Dominance example Upper dominated!

97 Dominance example Upper dominated!

98 Dominance example Upper dominated! 98

99 Dominance example Upper dominated! 99

100 Dominance example Lower dominated!

101 Dominance example Lower dominated!

102 Dominance example Lower dominated! 2

103 Dominance example Lower dominated! 3

104 Dominance example Lower dominated! 4

105 Dominance example Lower dominated! 5

106 Dominance example

107 10 1 Dominance example Original APSP distance graph now in minimal dispatchable form!

108 Dominance example [0,10] [1, 1] Original STN [0,10] [2, 2] 1... now in minimal dispatchable form!

109 FilteringAlgorithm(G) Input: A dispatchable APSP-graph G Output: A minimal dispatchable graph 1 for each pair of intersecting edges in G 2 if both dominate each other 3 if neither is marked 4 arbitrarily mark one for elimination 5 end if 6 else if one dominates the other 7 mark dominated edge for elimination 8 end if 9 end for 10 remove all marked edges from graph 11 return G 09

110 Problem: Avoiding Intermediate Graph Explosion All pairs shortest path table computation consumed O(n 2 ) space Only used as an intermediate - not needed after minimal dispatchable graph obtained. Solution: Interleave process of APSP construction with edge elimination. Never have to build whole APSP graph. [Tsarmardinos 1998] 0

111 Recap Recap To schedule online, times must monotonically increase - use enablement conditions Running online allows greater flexibility to fluctuations However, propagation costs can be large for large graphs Can reduce edges by using domination to make graph smaller 1

112 To Execute a Temporal Plan STN D Graph 1. Describe Temporal Plan A [1,10] [0,9] B C [1,1] [2,2] D A 10 B C D 2. Test Consistency Detect negative loops (SSSP). 3. Schedule Plan APSP + Decomposition. 4. Execute Plan 2 [Dechter, Meiri, Pearl 91]

113 To Execute a Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 3. Schedule Plan 4. Execute Plan Problem: delays and fluctuations in task duration can cause plan failure. Observation: temporal constraints leave room to adapt. Flexible Execution adapts through dynamic scheduling: Assign time to event when executed. Guarantee that all constraints will be satisfied. Schedule with low latency through pre-compilation. [Muscettola, Morris, Tsmardinos KR98] 3

114 To Execute a Temporal Plan 1. Describe Temporal Plan 1. Describe Temporal Plan 2. Test Consistency 2. Test Consistency 3. Schedule Plan 3. Reformulate Plan ~ Decomposable STN 4. Execute Plan 4. Dynamically Execute Plan 4 How do we schedule on line?

115 Outline: To Execute a Temporal Plan 1. Describe Temporal Plan [1,10] B [1,1] A [0,9] C [2,2] D 2. Test Consistency 3. Reformulate Plan 4. Dynamically Execute Plan 5 [0,9] B [1,1] A [1,1] D [0,9] C t=3 t=0 B [1,1] t=4 A [1,1] D C t=2

116 MIT OpenCourseWare J / 6.834J Cognitive Robotics Spring 2016 For information about citing these materials or our Terms of Use, visit:

Robust Execution of Temporal Plans. Assignments. Remember: Problem Set #5 due today, Wed, Oct. 6 th, Problem Set #6 out today.

Robust Execution of Temporal Plans. Assignments. Remember: Problem Set #5 due today, Wed, Oct. 6 th, Problem Set #6 out today. Massachusetts Institute of Technology Robust Execution of Temporal Plans Slide Contributions: Andreas Hofmann Julie Shah Prof Brian Williams 16.410 / 16.413 October.6 th, 2010 Assignments Remember: Problem

More information

Flexible Execution of Plans with Choice and Uncertainty Patrick R Conrad and Brian C Williams

Flexible Execution of Plans with Choice and Uncertainty Patrick R Conrad and Brian C Williams Computer Science and Artificial Intelligence Laboratory Technical Report MIT-CSAIL-TR-2011-002 January 15, 2011 Flexible Execution of Plans with Choice and Uncertainty Patrick R Conrad and Brian C Williams

More information

Flexible Execution of Plans with Choice

Flexible Execution of Plans with Choice Flexible Execution of Plans with Choice The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation As Published Publisher Conrad, Patrick

More information

Temporal Dynamic Controllability Revisited

Temporal Dynamic Controllability Revisited Temporal Dynamic Controllability Revisited Paul Morris and Nicola Muscettola NASA Ames Research Center Moffett Field, CA 94043 (pmorris mus)@email.arc.nasa.gov Abstract An important issue for temporal

More information

Drake: An Efficient Executive for Temporal Plans with Choice

Drake: An Efficient Executive for Temporal Plans with Choice Journal of Artificial Intelligence Research 42 (2011) 607-659 Submitted 09/11; published 12/11 Drake: An Efficient Executive for Temporal Plans with Choice Patrick R. Conrad Brian C. Williams Room 32-227

More information

Distributed Method Selection and Dispatching of Contingent, Temporally Flexible Plans Stephen Block

Distributed Method Selection and Dispatching of Contingent, Temporally Flexible Plans Stephen Block Computer Science and Artificial Intelligence Laboratory Technical Report MIT-CSAIL-TR-27-6 March 5, 27 Distributed Method Selection and Dispatching of Contingent, Temporally Flexible Plans Stephen Block

More information

Flexible Execution of Plans with Choice and Uncertainty. Patrick Raymond Conrad

Flexible Execution of Plans with Choice and Uncertainty. Patrick Raymond Conrad Flexible Execution of Plans with Choice and Uncertainty by Patrick Raymond Conrad Submitted to the Department of Aeronautics and Astronautics in partial fulfillment of the requirements for the degree of

More information

Cognitive Robotics I.e., How to create thinking robots

Cognitive Robotics I.e., How to create thinking robots Cognitive Robotics I.e., How to create thinking robots Slide contributions: Jacob Beal Prof. Brian Williams and Steve Levine (TA) Introduction February 3rd, 2015. 2/3/2016 Cognitive Robotics-Introduction

More information

Fast Distributed Multi-agent Plan Execution with Dynamic Task Assignment and Scheduling

Fast Distributed Multi-agent Plan Execution with Dynamic Task Assignment and Scheduling Fast Distributed Multi-agent Plan Execution with Dynamic Task Assignment and Scheduling Julie A. Shah, Patrick R. Conrad, and Brian C. Williams MIT CSAIL MERS 32 Vassar St. Room 32-D224, Cambridge, MA

More information

Activity Planning and Execution I: Operator-based Planning and Plan Graphs. Assignments

Activity Planning and Execution I: Operator-based Planning and Plan Graphs. Assignments Activity Planning and Execution I: Operator-based Planning and Plan Graphs Slides draw upon material from: Prof. Maria Fox, Univ Strathclyde Brian C. Williams 16.410-13 October 4 th, 2010 Assignments Remember:

More information

Fast Transformation of Temporal Plans for Efficient Execution

Fast Transformation of Temporal Plans for Efficient Execution From: AAAI-98 Proceedings. Copyright 1998, AAAI (www.aaai.org). All rights reserved. Fast Transformation of Temporal Plans for Efficient Execution Ioannis Tsamardinos Intelligent Systems Program University

More information

Determining Resource Needs of Autonomous Agents in Decoupled Plans

Determining Resource Needs of Autonomous Agents in Decoupled Plans Determining Resource Needs of Autonomous Agents in Decoupled Plans Jasper Oosterman a Remco Ravenhorst a Pim van Leeuwen b Cees Witteveen a a Delft University of Technology, Algorithmics group, Delft b

More information

6.033 Spring Lecture #6. Monolithic kernels vs. Microkernels Virtual Machines spring 2018 Katrina LaCurts

6.033 Spring Lecture #6. Monolithic kernels vs. Microkernels Virtual Machines spring 2018 Katrina LaCurts 6.033 Spring 2018 Lecture #6 Monolithic kernels vs. Microkernels Virtual Machines 1 operating systems enforce modularity on a single machine using virtualization in order to enforce modularity + build

More information

6.033 Spring Lecture #1. Complexity Modularity and abstraction Enforced modularity via client/server models spring 2018 Katrina LaCurts

6.033 Spring Lecture #1. Complexity Modularity and abstraction Enforced modularity via client/server models spring 2018 Katrina LaCurts 6.033 Spring 2018 Lecture #1 Complexity Modularity and abstraction Enforced modularity via client/server models 1 what is a system? a set of interconnected components that has an expected behavior observed

More information

Efficient Processing of Simple Temporal Networks with Uncertainty: Algorithms for Dynamic Controllability Verification

Efficient Processing of Simple Temporal Networks with Uncertainty: Algorithms for Dynamic Controllability Verification Efficient Processing of Simple Temporal Networks with Uncertainty: Algorithms for Dynamic Controllability Verification Mikael Nilsson, Jonas Kvarnström and Patrick Doherty Linköping University Post Print

More information

Eddie Schwalb, Rina Dechter. It is well known that all these tasks are NP-hard.

Eddie Schwalb, Rina Dechter.  It is well known that all these tasks are NP-hard. Coping With Disjunctions in Temporal Constraint Satisfaction Problems 3 Eddie Schwalb, Rina Dechter Department of Information and Computer Science University of California at Irvine, CA 977 eschwalb@ics.uci.edu,

More information

Lightweight Simulation of Air Traffic Control Using Simple Temporal Networks

Lightweight Simulation of Air Traffic Control Using Simple Temporal Networks Lightweight Simulation of Air Traffic Control Using Simple Temporal Networks Russell Knight Jet Propulsion Laboratory, California Institute of Technology 4800 Oak Grove Drive MS 126-347 Pasadena, CA 91109

More information

Exploiting the Structure of Hierarchical Plans in Temporal Constraint Propagation

Exploiting the Structure of Hierarchical Plans in Temporal Constraint Propagation Exploiting the Structure of Hierarchical Plans in Temporal Constraint Propagation Neil Yorke-Smith Artificial Intelligence Center, SRI International, Menlo Park, CA 94025, USA nysmith@ai.sri.com Abstract

More information

CSE 417 Network Flows (pt 3) Modeling with Min Cuts

CSE 417 Network Flows (pt 3) Modeling with Min Cuts CSE 417 Network Flows (pt 3) Modeling with Min Cuts Reminders > HW6 is due on Friday start early bug fixed on line 33 of OptimalLineup.java: > change true to false Review of last two lectures > Defined

More information

Distributed Method Selection and Dispatching of Contingent, Temporally Flexible Plans

Distributed Method Selection and Dispatching of Contingent, Temporally Flexible Plans istributed ethod Selection and ispatching of ontingent, Temporally lexible Plans Stephen. lock and rian. Williams omputer Science and rtificial ntelligence Laboratory, assachusetts nstitute of Technology,

More information

CSE 417 Network Flows (pt 4) Min Cost Flows

CSE 417 Network Flows (pt 4) Min Cost Flows CSE 417 Network Flows (pt 4) Min Cost Flows Reminders > HW6 is due Monday Review of last three lectures > Defined the maximum flow problem find the feasible flow of maximum value flow is feasible if it

More information

Revisiting Classical Dynamic Controllability

Revisiting Classical Dynamic Controllability Revisiting lassical Dynamic ontrollability Tighter omplexity nalysis Mikael Nilsson, Jonas Kvarnström, and Patrick Doherty Department of omputer and Information Science, Linköping University, SE58183 Linköping,

More information

CS 188: Artificial Intelligence Fall 2011

CS 188: Artificial Intelligence Fall 2011 CS 188: Artificial Intelligence Fall 2011 Lecture 5: CSPs II 9/8/2011 Dan Klein UC Berkeley Multiple slides over the course adapted from either Stuart Russell or Andrew Moore 1 Today Efficient Solution

More information

On Redundancy in Simple Temporal Networks 1

On Redundancy in Simple Temporal Networks 1 On Redundancy in Simple Temporal Networks 1 Jae Hee Lee 2 and Sanjiang Li 3 and Zhiguo Long 4 and Michael Sioutis 5 Abstract. The Simple Temporal Problem (STP) has been widely used in various applications

More information

Temporal Constraint Satisfaction Problems An Evaluation of Search Strategies

Temporal Constraint Satisfaction Problems An Evaluation of Search Strategies Introduction Temporal Constraint Satisfaction Problems An Evaluation of Search Strategies Bruce Lo, John Duchi, and James Connor brucelo@cs.stanford.edu, jduchi@stanford.edu, jconnor@stanford.edu Stanford

More information

16.410/413 Principles of Autonomy and Decision Making

16.410/413 Principles of Autonomy and Decision Making 16.410/413 Principles of Autonomy and Decision Making Lecture 16: Mathematical Programming I Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology November 8, 2010 E. Frazzoli

More information

The Encoding Complexity of Network Coding

The Encoding Complexity of Network Coding The Encoding Complexity of Network Coding Michael Langberg Alexander Sprintson Jehoshua Bruck California Institute of Technology Email: mikel,spalex,bruck @caltech.edu Abstract In the multicast network

More information

Flexible Execution of Partial Order Plans With Temporal Constraints

Flexible Execution of Partial Order Plans With Temporal Constraints Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Flexible Execution of Partial Order Plans With Temporal Constraints Christian Muise 1, J. Christopher Beck 2, and

More information

16.410/413 Principles of Autonomy and Decision Making

16.410/413 Principles of Autonomy and Decision Making 16.410/413 Principles of Autonomy and Decision Making Lecture 17: The Simplex Method Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology November 10, 2010 Frazzoli (MIT)

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,

More information

Announcements. Reminder: CSPs. Today. Example: N-Queens. Example: Map-Coloring. Introduction to Artificial Intelligence

Announcements. Reminder: CSPs. Today. Example: N-Queens. Example: Map-Coloring. Introduction to Artificial Intelligence Introduction to Artificial Intelligence 22.0472-001 Fall 2009 Lecture 5: Constraint Satisfaction Problems II Announcements Assignment due on Monday 11.59pm Email search.py and searchagent.py to me Next

More information

15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018

15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 In this lecture, we describe a very general problem called linear programming

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 11 Rou+ng: Deep Dive Spring 2018 Rachit Agarwal 2 Goals for Today s Lecture Learning about Routing Protocols Link State (Global view) Distance

More information

Announcements. CS 188: Artificial Intelligence Spring Production Scheduling. Today. Backtracking Search Review. Production Scheduling

Announcements. CS 188: Artificial Intelligence Spring Production Scheduling. Today. Backtracking Search Review. Production Scheduling CS 188: Artificial Intelligence Spring 2009 Lecture : Constraint Satisfaction 2/3/2009 Announcements Project 1 (Search) is due tomorrow Come to office hours if you re stuck Today at 1pm (Nick) and 3pm

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053 Recitation 9 TAs: Giacomo Nannicini, Ebrahim Nasrabadi Problem 1 We apply Dijkstra s algorithm to the network given below to find the shortest path

More information

Abstract. I. Introduction. 2. The T CS ode1. vide answers to a variety of additional queries.

Abstract. I. Introduction. 2. The T CS ode1. vide answers to a variety of additional queries. From: AAAI-93 Proceedings. Copyright 1993, AAAI (www.aaai.org). All rights reserved. in Temporal it Constraint Eddie Schwalb, Rina Dechter Department of Information and Computer Science University of California

More information

6.033 Spring Lecture #3. Operating systems Virtual memory OS abstractions spring 2018 Katrina LaCurts

6.033 Spring Lecture #3. Operating systems Virtual memory OS abstractions spring 2018 Katrina LaCurts 6.033 Spring 2018 Lecture #3 Operating systems Virtual memory OS abstractions 1 Lingering Problem Client internet Server load(amazon.com/buy.html?socks) what if we don t want our modules to be on entirely

More information

On Redundancy in Simple Temporal Networks 1

On Redundancy in Simple Temporal Networks 1 828 ECAI 2016 G.A. Kaminka et al. (Eds.) 2016 The Authors and IOS Press. This article is published online with Open Access by IOS Press and distributed under the terms of the Creative Commons Attribution

More information

CONSTRAINT Networks Chapters 1-2

CONSTRAINT Networks Chapters 1-2 CONSTRAINT Networks Chapters 1-2 Compsci-275 Fall 2010 Fall 2010 1 Class Information Instructor: Rina Dechter Days: Time: Tuesday & Thursday 11:00-12:20 pm Class page: http://www.ics.uci.edu/~dechter/ics-275a/fall-2010/

More information

WELCOME! (download slides and.py files and follow along!) LECTURE 1

WELCOME! (download slides and.py files and follow along!) LECTURE 1 WELCOME! (download slides and.py files and follow along!) 6.0001 LECTURE 1 6.0001 LECTURE 1 1 TODAY course info what is computation python basics mathematical operations python variables and types NOTE:

More information

Classical Planning: Limits

Classical Planning: Limits Classical Planning: Limits Spacecraft Domain Spacecraft Domain Extensions Time Resources Constraints Uncertainty Utility Model Temporal Interval Relations Interval Algebra (aka Allen Algebra) [Allen 83]

More information

Faster Constraint Satisfaction Algorithms for Temporal Reasoning' (*)

Faster Constraint Satisfaction Algorithms for Temporal Reasoning' (*) TECHNICAL REPORT R-151 July, 1990 Faster Constraint Satisfaction Algorithms for Temporal Reasoning' (*) Itay Meiri and Judea Pearl Cognitive Systems Laboratory Computer Science Department University of

More information

Robotics Tasks. CS 188: Artificial Intelligence Spring Manipulator Robots. Mobile Robots. Degrees of Freedom. Sensors and Effectors

Robotics Tasks. CS 188: Artificial Intelligence Spring Manipulator Robots. Mobile Robots. Degrees of Freedom. Sensors and Effectors CS 188: Artificial Intelligence Spring 2006 Lecture 5: Robot Motion Planning 1/31/2006 Dan Klein UC Berkeley Many slides from either Stuart Russell or Andrew Moore Motion planning (today) How to move from

More information

CS 126 Lecture P1: Introduction to C

CS 126 Lecture P1: Introduction to C CS 126 Lecture P1: Introduction to C Administrivia Background Syntax Libraries Algorithms Outline CS126 2-1 Randy Wang To Get Started Visit course web page: - http://www.cs.princeton.edu/courses/cs126

More information

Announcements. Homework 4. Project 3. Due tonight at 11:59pm. Due 3/8 at 4:00pm

Announcements. Homework 4. Project 3. Due tonight at 11:59pm. Due 3/8 at 4:00pm Announcements Homework 4 Due tonight at 11:59pm Project 3 Due 3/8 at 4:00pm CS 188: Artificial Intelligence Constraint Satisfaction Problems Instructor: Stuart Russell & Sergey Levine, University of California,

More information

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS What is discrete? Sets (Rosen, Chapter 2) TOPICS Discrete math Set Definition Set Operations Tuples Consisting of distinct or unconnected elements, not continuous (calculus) Helps us in Computer Science

More information

Planar convex hulls (I) Computational Geometry [csci 3250] Laura Toma Bowdoin College

Planar convex hulls (I) Computational Geometry [csci 3250] Laura Toma Bowdoin College Planar convex hulls (I) Computational Geometry [csci 3250] Laura Toma Bowdoin College Convex Hull Given a set P of points in 2D, their convex hull is the smallest convex polygon that contains all points

More information

Class 2 Constraint Networks

Class 2 Constraint Networks Class 2 Constraint Networks The constraint network model Inference. 1 Road Map (classes 2 3) The constraint network model Inference Search Hybrids of search and inference 2 Constraint Networks A Example:

More information

4&5 Binary Operations and Relations. The Integers. (part I)

4&5 Binary Operations and Relations. The Integers. (part I) c Oksana Shatalov, Spring 2016 1 4&5 Binary Operations and Relations. The Integers. (part I) 4.1: Binary Operations DEFINITION 1. A binary operation on a nonempty set A is a function from A A to A. Addition,

More information

Math: Question 10

Math: Question 10 1 of 1 9/22/2016 7:55 PM Math: Question 10 A carpenter has $60 with which to buy supplies. The carpenter needs to buy both nails and screws. Nails cost $12.99 per box, and screws cost $14.99 per box. If

More information

A Faster Algorithm for Checking the Dynamic Controllability. of Simple Temporal Networks with Uncertainty

A Faster Algorithm for Checking the Dynamic Controllability. of Simple Temporal Networks with Uncertainty A Faster Algorithm for Checking the Dynamic Controllability of Simple Temporal Networks with Uncertainty Luke Hunsberger Vassar College ICAART-2014 March 8, 2014 A Faster DC-Checking Algorithm for STNUs

More information

1 Non greedy algorithms (which we should have covered

1 Non greedy algorithms (which we should have covered 1 Non greedy algorithms (which we should have covered earlier) 1.1 Floyd Warshall algorithm This algorithm solves the all-pairs shortest paths problem, which is a problem where we want to find the shortest

More information

: Principles of Automated Reasoning and Decision Making Sample Midterm

: Principles of Automated Reasoning and Decision Making Sample Midterm 16.410-13: Principles of Automated Reasoning and Decision Making Sample Midterm October 20 th, 2010 Name E-mail Note: Budget your time wisely. Some parts of this quiz could take you much longer than others.

More information

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 9 Notes. Class URL:

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 9 Notes. Class URL: Notes slides from before lecture CSE 21, Winter 2017, Section A00 Lecture 9 Notes Class URL: http://vlsicad.ucsd.edu/courses/cse21-w17/ Notes slides from before lecture Notes February 8 (1) HW4 is due

More information

Strong Controllability of Disjunctive Temporal Problems with Uncertainty

Strong Controllability of Disjunctive Temporal Problems with Uncertainty Strong Controllability of Disjunctive Temporal Problems with Uncertainty Bart Peintner 1, Kristen Brent Venable 2, and Neil Yorke-Smith 1 1 Artificial Intelligence Center, SRI International. {peintner,nysmith}@ai.sri.com

More information

A New Efficient Algorithm for Solving the Simple Temporal Problem

A New Efficient Algorithm for Solving the Simple Temporal Problem University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln CSE Conference and Workshop Papers Computer Science and Engineering, Department of 2003 A New Efficient Algorithm for Solving

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Network Layer Chapter goals: understand principles behind layer services: routing (path selection) dealing with scale how a router works advanced topics: IPv6, mobility instantiation and implementation

More information

What cameras can do for you and how they do it!

What cameras can do for you and how they do it! What cameras can do for you and how they do it! Kris Clark Girls Who Build - Cameras June 4, 2016 Outline A very small bit about me What is a camera? What can cameras do? What can you do with cameras?

More information

Pipelining. Handouts: Lecture Slides Reminder: Quiz 2 tomorrow! It s that time of the semester again First trip to the laundry

Pipelining. Handouts: Lecture Slides Reminder: Quiz 2 tomorrow! It s that time of the semester again First trip to the laundry Pipelining It s that time of the semester again First trip to the laundry Handouts: Lecture Slides Reminder: Quiz 2 tomorrow! L09 - Pipelining 1 Forget 6.004 lets solve a Real Problem INPUT: dirty laundry

More information

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines Math 18.02 (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines February 12 Reading Material: From Simmons: 17.1 and 17.2. Last time: Square Systems. Word problem. How many solutions?

More information

1 Minimum Cut Problem

1 Minimum Cut Problem CS 6 Lecture 6 Min Cut and Karger s Algorithm Scribes: Peng Hui How, Virginia Williams (05) Date: November 7, 07 Anthony Kim (06), Mary Wootters (07) Adapted from Virginia Williams lecture notes Minimum

More information

Periodicity-based Temporal Constraints Paolo Terenziani*,

Periodicity-based Temporal Constraints Paolo Terenziani*, Periodicity-based Temporal Constraints Paolo Terenziani*, Luca Anselma, Stefania Montani* *{terenz terenz,stefania}@mfn.unipmn.it, DI, Univ.. del Piemonte Orientale A. Avogadro, Italy anselma@di.unito.it,

More information

Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions

Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions EE210: Switching Systems Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions Prof. YingLi Tian Feb. 5/7, 2019 Department of Electrical Engineering The City College of New

More information

Class2: Constraint Networks Rina Dechter

Class2: Constraint Networks Rina Dechter Algorithms for Reasoning with graphical models Class2: Constraint Networks Rina Dechter Dbook: chapter 2-3, Constraint book: chapters 2 and 4 Text Books Road Map Graphical models Constraint networks Model

More information

Algorithms on Graphs: Part III. Shortest Path Problems. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar..

Algorithms on Graphs: Part III. Shortest Path Problems. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar.. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar.. Shortest Path Problems Algorithms on Graphs: Part III Path in a graph. Let G = V,E be a graph. A path p = e 1,...,e k, e i E,

More information

Incrementally Solving the STP by Enforcing Partial Path Consistency

Incrementally Solving the STP by Enforcing Partial Path Consistency Incrementally Solving the STP by Enforcing Partial Path Consistency Léon Planken Delft University of Technology, The Netherlands l.r.planken@tudelft.nl Abstract The Simple Temporal Problem (STP) appears

More information

Generating Feasible Schedules under Complex Metric Constraints *

Generating Feasible Schedules under Complex Metric Constraints * From: AAAI-94 Proceedings. Copyright 1994, AAAI (www.aaai.org). All rights reserved. Generating Feasible Schedules under Complex Metric Constraints * Cheng-Chung Cheng The Robotics Institute Carnegie Mellon

More information

Algorithms Dr. Haim Levkowitz

Algorithms Dr. Haim Levkowitz 91.503 Algorithms Dr. Haim Levkowitz Fall 2007 Lecture 4 Tuesday, 25 Sep 2007 Design Patterns for Optimization Problems Greedy Algorithms 1 Greedy Algorithms 2 What is Greedy Algorithm? Similar to dynamic

More information

6.033 Spring Lecture #12. In-network resource management Queue management schemes Traffic differentiation spring 2018 Katrina LaCurts

6.033 Spring Lecture #12. In-network resource management Queue management schemes Traffic differentiation spring 2018 Katrina LaCurts 6.033 Spring 2018 Lecture #12 In-network resource management Queue management schemes Traffic differentiation 1 Internet of Problems How do we route (and address) scalably, while dealing with issues of

More information

Model-Based Testing. (DIT848 / DAT260) Spring Lecture 10 FSMs, EFSMs and ModelJUnit

Model-Based Testing. (DIT848 / DAT260) Spring Lecture 10 FSMs, EFSMs and ModelJUnit Model-Based Testing (DIT848 / DAT260) Spring 2015 Lecture 10 FSMs, EFSMs and ModelJUnit Gerardo Schneider Department of Computer Science and Engineering Chalmers University of Gothenburg 1 Outline The

More information

Previously Local sensitivity analysis: having found an optimal basis to a problem in standard form,

Previously Local sensitivity analysis: having found an optimal basis to a problem in standard form, Recap, and outline of Lecture 20 Previously Local sensitivity analysis: having found an optimal basis to a problem in standard form, if the cost vectors is changed, or if the right-hand side vector is

More information

Temporal Decoupling and Determining Resource Needs of Autonomous Agents in the Airport Turnaround Process

Temporal Decoupling and Determining Resource Needs of Autonomous Agents in the Airport Turnaround Process Temporal Decoupling and Determining Resource Needs of Autonomous Agents in the Airport Turnaround Process Pim van Leeuwen National Aerospace Laboratory NLR Amsterdam, The Netherlands Email: leeuwenp@nlr.nl

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE, Winter 8 Design and Analysis of Algorithms Lecture : Graphs, DFS (Undirected, Directed), DAGs Class URL: http://vlsicad.ucsd.edu/courses/cse-w8/ Graphs Internet topology Graphs Gene-gene interactions

More information

Final Exam Solutions

Final Exam Solutions Introduction to Algorithms December 14, 2010 Massachusetts Institute of Technology 6.006 Fall 2010 Professors Konstantinos Daskalakis and Patrick Jaillet Final Exam Solutions Final Exam Solutions Problem

More information

Local Search Methods. CS 188: Artificial Intelligence Fall Announcements. Hill Climbing. Hill Climbing Diagram. Today

Local Search Methods. CS 188: Artificial Intelligence Fall Announcements. Hill Climbing. Hill Climbing Diagram. Today CS 188: Artificial Intelligence Fall 2006 Lecture 5: Robot Motion Planning 9/14/2006 Local Search Methods Queue-based algorithms keep fallback options (backtracking) Local search: improve what you have

More information

CSE 417 Network Flows (pt 2) Modeling with Max Flow

CSE 417 Network Flows (pt 2) Modeling with Max Flow CSE 47 Network Flows (pt 2) Modeling with Max Flow Reminders > HW6 is due on Friday start early may take time to figure out the sub-structure Review of last lecture > Defined the maximum flow problem find

More information

Advanced Digital Logic Design EECS 303

Advanced Digital Logic Design EECS 303 Advanced Digital Logic Design EECS 303 http://ziyang.eecs.northwestern.edu/eecs303/ Teacher: Robert Dick Office: L477 Tech Email: dickrp@northwestern.edu Phone: 847 467 2298 Outline 1. 2. 2 Robert Dick

More information

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

CS 43: Computer Networks. 24: Internet Routing November 19, 2018 CS 43: Computer Networks 24: Internet Routing November 19, 2018 Last Class Link State + Fast convergence (reacts to events quickly) + Small window of inconsistency Distance Vector + + Distributed (small

More information

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc. Chapter 1 Linear Equations and Straight Lines 2 of 71 Outline 1.1 Coordinate Systems and Graphs 1.4 The Slope of a Straight Line 1.3 The Intersection Point of a Pair of Lines 1.2 Linear Inequalities 1.5

More information

Missing Pieces of the Puzzle

Missing Pieces of the Puzzle Missing Pieces of the Puzzle EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and

More information

CSP- and SAT-based Inference Techniques Applied to Gnomine

CSP- and SAT-based Inference Techniques Applied to Gnomine CSP- and SAT-based Inference Techniques Applied to Gnomine Bachelor Thesis Faculty of Science, University of Basel Department of Computer Science Artificial Intelligence ai.cs.unibas.ch Examiner: Prof.

More information

A COMPARISON OF ATMS AND CSP TECHNIQUES

A COMPARISON OF ATMS AND CSP TECHNIQUES A COMPARISON OF ATMS AND CSP TECHNIQUES Johan de Kleer Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto CA 94304 Abstract A fundamental problem for most AI problem solvers is how to control

More information

Announcements. CS 188: Artificial Intelligence Spring Today. Example: Map-Coloring. Example: Cryptarithmetic.

Announcements. CS 188: Artificial Intelligence Spring Today. Example: Map-Coloring. Example: Cryptarithmetic. CS 188: Artificial Intelligence Spring 2010 Lecture 5: CSPs II 2/2/2010 Pieter Abbeel UC Berkeley Many slides from Dan Klein Announcements Project 1 due Thursday Lecture videos reminder: don t count on

More information

EE 122: Intra-domain routing

EE 122: Intra-domain routing EE : Intra-domain routing Ion Stoica September 0, 00 (* this presentation is based on the on-line slides of J. Kurose & K. Rose) Internet Routing Internet organized as a two level hierarchy First level

More information

Sung-Eui Yoon ( 윤성의 )

Sung-Eui Yoon ( 윤성의 ) Path Planning for Point Robots Sung-Eui Yoon ( 윤성의 ) Course URL: http://sglab.kaist.ac.kr/~sungeui/mpa Class Objectives Motion planning framework Classic motion planning approaches 2 3 Configuration Space:

More information

6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, :05-12pm Two hand-written sheet of notes (4 pages) allowed 1 SSD [ /17]

6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, :05-12pm Two hand-written sheet of notes (4 pages) allowed 1 SSD [ /17] 6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, 2011 9:05-12pm Two hand-written sheet of notes (4 pages) allowed NAME: 1 / 17 2 / 12 3 / 35 4 / 8 5 / 18 Total / 90 1 SSD [ /17]

More information

Finding 2D Shapes and the Hough Transform

Finding 2D Shapes and the Hough Transform CS 4495 Computer Vision Finding 2D Shapes and the Aaron Bobick School of Interactive Computing Administrivia Today: Modeling Lines and Finding them CS4495: Problem set 1 is still posted. Please read the

More information

On Computing the Minimal Labels in Time. Point Algebra Networks. IRST { Istituto per la Ricerca Scientica e Tecnologica. I Povo, Trento Italy

On Computing the Minimal Labels in Time. Point Algebra Networks. IRST { Istituto per la Ricerca Scientica e Tecnologica. I Povo, Trento Italy To appear in Computational Intelligence Journal On Computing the Minimal Labels in Time Point Algebra Networks Alfonso Gerevini 1;2 and Lenhart Schubert 2 1 IRST { Istituto per la Ricerca Scientica e Tecnologica

More information

On the Traveling Salesman Problem with Simple Temporal Constraints

On the Traveling Salesman Problem with Simple Temporal Constraints On the Traveling Salesman Problem with Simple Temporal Constraints T. K. Satish Kumar Computer Science Department University of Southern California California, USA tkskwork@gmail.com Marcello Cirillo AASS

More information

Constraint Satisfaction Problems. Chapter 6

Constraint Satisfaction Problems. Chapter 6 Constraint Satisfaction Problems Chapter 6 Constraint Satisfaction Problems A constraint satisfaction problem consists of three components, X, D, and C: X is a set of variables, {X 1,..., X n }. D is a

More information

Integrating etrie a alitativ TernDora. easoning. Henry A. Kautz AT&T Bell Laboratories Murray Hill, NJ

Integrating etrie a alitativ TernDora. easoning. Henry A. Kautz AT&T Bell Laboratories Murray Hill, NJ From: AAAI-91 Proceedings. Copyright 1991, AAAI (www.aaai.org). All rights reserved. Integrating etrie a alitativ TernDora 4. easoning Henry A. Kautz AT&T Bell Laboratories Murray Hill, NJ 07974 kautz@research.att.com

More information

Recall: The Routing problem: Local decisions. Recall: Multidimensional Meshes and Tori. Properties of Routing Algorithms

Recall: The Routing problem: Local decisions. Recall: Multidimensional Meshes and Tori. Properties of Routing Algorithms CS252 Graduate Computer Architecture Lecture 16 Multiprocessor Networks (con t) March 14 th, 212 John Kubiatowicz Electrical Engineering and Computer Sciences University of California, Berkeley http://www.eecs.berkeley.edu/~kubitron/cs252

More information

3 No-Wait Job Shops with Variable Processing Times

3 No-Wait Job Shops with Variable Processing Times 3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select

More information

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats What is Routing? Routing implements the core function of a network: : Shortest Path Routing Ion Stoica Ts: Junda Liu, K Moon, avid Zats http://inst.eecs.berkeley.edu/~ee/fa9 (Materials with thanks to Vern

More information

Going to cover; - Why we have SPIR-V - Brief history of SPIR-V - Some of the core required features we wanted - How OpenCL will use SPIR-V - How

Going to cover; - Why we have SPIR-V - Brief history of SPIR-V - Some of the core required features we wanted - How OpenCL will use SPIR-V - How 1 Going to cover; - Why we have SPIR-V - Brief history of SPIR-V - Some of the core required features we wanted - How OpenCL will use SPIR-V - How Vulkan will use SPIR-V - The differences between compute/graphics

More information

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture Network Routing Packet Routing, Routing Algorithms, Routers, Router Architecture Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction

More information

CS 188: Artificial Intelligence Fall 2011

CS 188: Artificial Intelligence Fall 2011 Announcements Project 1: Search is due next week Written 1: Search and CSPs out soon Piazza: check it out if you haven t CS 188: Artificial Intelligence Fall 2011 Lecture 4: Constraint Satisfaction 9/6/2011

More information

Magic Loops and the Dynamic Controllability of Simple Temporal Networks with Uncertainty

Magic Loops and the Dynamic Controllability of Simple Temporal Networks with Uncertainty Magic Loops and the Dynamic Controllability of Simple Temporal Networks with Uncertainty Luke Hunsberger (B) Computer Science Department, Vassar College, Poughkeepsie, NY 12604, USA hunsberg@cs.vassar.edu

More information

Lecture #7. 1 Introduction. 2 Dijkstra s Correctness. COMPSCI 330: Design and Analysis of Algorithms 9/16/2014

Lecture #7. 1 Introduction. 2 Dijkstra s Correctness. COMPSCI 330: Design and Analysis of Algorithms 9/16/2014 COMPSCI 330: Design and Analysis of Algorithms 9/16/2014 Lecturer: Debmalya Panigrahi Lecture #7 Scribe: Nat Kell 1 Introduction In this lecture, we will further examine shortest path algorithms. We will

More information

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch] NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Dealing with NP-Complete Problems Dealing with NP-Completeness Suppose the problem you need to solve is NP-complete. What

More information