Rumour spreading. KOSTRYGIN Anatolii, NOGNENG Dorian. April 2, 2015 LIX
|
|
- Veronica Clarke
- 5 years ago
- Views:
Transcription
1 Rumour spreading KOSTRYGIN Anatolii, NOGNENG Dorian LIX April 2, 2015
2 Plan Rumor spreading game 2 players 3 players n players
3 Table of Contents Introduction 2 players 3 players n players Conclusion
4 Introduction - Content In this talk : Rumour spreading in social networks
5 Introduction - Content In this talk : Rumour spreading in social networks Game on graphs
6 Introduction - Content In this talk : Rumour spreading in social networks Game on graphs Different cases: who can win?
7 Introduction - Setting Rumor spreading: Distributed algorithm Fast propagation of rumor in social network
8 Introduction - Setting A Friendship graph Each player picks a vertex in the row
9 Introduction - Setting A B Friendship graph Each player picks a vertex in the row
10 Introduction - Setting A B Rumors are spreading
11 Introduction - Setting A B Rumors are spreading
12 Introduction - Setting A B A convinced 5 vertices B convinced 4 vertices
13 Introduction - Setting A B Other case
14 Introduction - Setting A B Rumors are spreading A and B convinced 3 vertices
15 Introduction - Setting A B Last case : A convinced 4 vertices B convinced 5 vertices
16 Table of Contents Introduction 2 players 3 players n players Conclusion
17 2 players - First can win A A wins
18 2 players - Last can win A B B wins
19 2 players - Last can win A B B wins
20 Table of Contents Introduction 2 players 3 players n players Conclusion
21 3 players - Middle cannot win Assume by contradiction that B has a strategy for graph G
22 3 players - Middle cannot win Assume by contradiction that B has a strategy for graph G If A chooses 1 then B chooses k and wins for any choice of C
23 3 players - Middle cannot win Assume by contradiction that B has a strategy for graph G If A chooses 1 then B chooses k and wins for any choice of C If A chooses k and C chooses 1 if not chosen by B then A wins!
24 3 players - Middle cannot win Assume by contradiction that B has a strategy for graph G If A chooses 1 then B chooses k and wins for any choice of C If A chooses k and C chooses 1 if not chosen by B then A wins! Can be extended: a player who is not last nor first cannot win
25 3 players - Last can win Build graph G:
26 3 players - Last can win Build graph G: m >> 1 queues of length L >>> anything else
27 3 players - Last can win Build graph G: m >> 1 queues of length L >>> anything else m! vertices S σ for σ permutation of {1,..., m}
28 3 players - Last can win Build graph G: m >> 1 queues of length L >>> anything else m! vertices S σ for σ permutation of {1,..., m} path from S σ to the head of jth queue ; length m + σ(j)
29 3 players - Last can win Sσ σ(1) m + σ(m) Q1 Q2 Qm... L >> m m!... m queues players should choose some S σ
30 3 players - Last can win Sσ σ(1) m + σ(m) Q1 Q2 Qm... L >> m m!... m queues After A and B have played, C can stay below them
31 Table of Contents Introduction 2 players 3 players n players Conclusion
32 n players - Last can win Use the same graph G as above, with m >> n
33 n players - Last can win Use the same graph G as above, with m >> n See the game without the last player
34 n players - Last can win Use the same graph G as above, with m >> n See the game without the last player Best player conquers v m n 1 queues
35 n players - Last can win Use the same graph G as above, with m >> n See the game without the last player Best player conquers v m queues n 1 Last player can steal v 1 queues
36 n players - Last can win Use the same graph G as above, with m >> n See the game without the last player Best player conquers v m queues n 1 Last player can steal v 1 queues It can be stolen evenly: other players keep at most v ( 1 n 1) 1 queues
37 Table of Contents Introduction 2 players 3 players n players Conclusion
38 Conclusion - Summary First player can always win, and get a ratio close to 1
39 Conclusion - Summary First player can always win, and get a ratio close to 1 Last player can always win, and get a ratio close to 1 n 1
40 Conclusion - Summary First player can always win, and get a ratio close to 1 Last player can always win, and get a ratio close to 1 n 1 Other players cannot
41 Conclusion - Open questions Can we reduce the size of graphs involved?
42 Conclusion - Open questions Can we reduce the size of graphs involved? Are the above ratios tight?
43 Conclusion - Open questions Can we reduce the size of graphs involved? Are the above ratios tight? 1 n 1 can be improved to 2 n
BMT 2018 Combinatorics Test Solutions March 18, 2018
. Bob has 3 different fountain pens and different ink colors. How many ways can he fill his fountain pens with ink if he can only put one ink in each pen? Answer: 0 Solution: He has options to fill his
More informationMath 152: Applicable Mathematics and Computing
Math 152: Applicable Mathematics and Computing May 8, 2017 May 8, 2017 1 / 15 Extensive Form: Overview We have been studying the strategic form of a game: we considered only a player s overall strategy,
More informationProblem Solving By Cynthia Northrup
UCI Math Circle September 28, 2013 Problem Solving By Cynthia Northrup 1. Graph Theory 2. The Game of Nim 3. The Calendar Game 4. Operating a Security System 5. Planets 6. Pie and Pawns 7. Games of Stones
More informationDesign and Analysis of Algorithms Prof. Madhavan Mukund Chennai Mathematical Institute. Module 6 Lecture - 37 Divide and Conquer: Counting Inversions
Design and Analysis of Algorithms Prof. Madhavan Mukund Chennai Mathematical Institute Module 6 Lecture - 37 Divide and Conquer: Counting Inversions Let us go back and look at Divide and Conquer again.
More informationHackenbush. Nim with Lines (and something else) Rules: Example Boards:
Hackenbush Nim with Lines (and something else) 1. There is a long horizontal line at the bottom of the picture known as the ground line. All line segments in the picture must be connected by some path
More information3. If you can t make the sum with your cards, you must draw one card. 4. Players take turns rolling and discarding cards.
1 to 10 Purpose: The object of the game is to get rid of all your cards. One player gets all the red cards, the other gets all the black cards. Players: 2-4 players Materials: 2 dice, a deck of cards,
More informationFifteen puzzle. Sasha Patotski. Cornell University November 16, 2015
Fifteen puzzle. Sasha Patotski Cornell University ap744@cornell.edu November 16, 2015 Sasha Patotski (Cornell University) Fifteen puzzle. November 16, 2015 1 / 7 Last time The permutation group S n is
More informationEdge-disjoint tree representation of three tree degree sequences
Edge-disjoint tree representation of three tree degree sequences Ian Min Gyu Seong Carleton College seongi@carleton.edu October 2, 208 Ian Min Gyu Seong (Carleton College) Trees October 2, 208 / 65 Trees
More informationSOME MORE DECREASE AND CONQUER ALGORITHMS
What questions do you have? Decrease by a constant factor Decrease by a variable amount SOME MORE DECREASE AND CONQUER ALGORITHMS Insertion Sort on Steroids SHELL'S SORT A QUICK RECAP 1 Shell's Sort We
More informationPennies vs Paperclips
Pennies vs Paperclips Today we will take part in a daring game, a clash of copper and steel. Today we play the game: pennies versus paperclips. Battle begins on a 2k by 2m (where k and m are natural numbers)
More informationMohr-Mascheroni theorem
Mohr-Mascheroni theorem NOGNENG Dorian LIX October 25, 2016 Table of Contents Introduction Constructible values Projection Intersecting a circle with a line Ratio a b c Intersecting 2 lines Conclusion
More informationBinary Games. Keep this tetrahedron handy, we will use it when we play the game of Nim.
Binary Games. Binary Guessing Game: a) Build a binary tetrahedron using the net on the next page and look out for patterns: i) on the vertices ii) on each edge iii) on the faces b) For each vertex, we
More information12. 6 jokes are minimal.
Pigeonhole Principle Pigeonhole Principle: When you organize n things into k categories, one of the categories has at least n/k things in it. Proof: If each category had fewer than n/k things in it then
More informationThrottling numbers for cop vs gambler
Throttling numbers for cop vs gambler James Lin Carl Joshua Quines Espen Slettnes Mentor: Dr. Jesse Geneson May 19 20, 2018 MIT PRIMES Conference J. Lin, C. J. Quines, E. Slettnes Throttling numbers for
More informationDiscussion 8 Solution Thursday, February 10th. Consider the function f(x, y) := y 2 x 2.
Discussion 8 Solution Thursday, February 10th. 1. Consider the function f(x, y) := y 2 x 2. (a) This function is a mapping from R n to R m. Determine the values of n and m. The value of n is 2 corresponding
More informationLecture 1. Permutations and combinations, Pascal s triangle, learning to count
18.440: Lecture 1 Permutations and combinations, Pascal s triangle, learning to count Scott Sheffield MIT 1 Outline Remark, just for fun Permutations Counting tricks Binomial coefficients Problems 2 Outline
More informationJunior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?
Junior Circle Meeting 5 Probability May 2, 2010 1. We have a standard coin with one side that we call heads (H) and one side that we call tails (T). a. Let s say that we flip this coin 100 times. i. How
More informationArray Cards (page 1 of 21)
Array Cards (page 1 of 21) 9 11 11 9 3 11 11 3 3 12 12 3 Session 1.2 and throughout Investigations 1, 2, and 4 Unit 3 M17 Array Cards (page 2 of 21) 2 8 8 2 2 9 9 2 2 10 10 2 2 11 11 2 3 8 8 3 3 6 6 3
More informationEXPLAINING THE SHAPE OF RSK
EXPLAINING THE SHAPE OF RSK SIMON RUBINSTEIN-SALZEDO 1. Introduction There is an algorithm, due to Robinson, Schensted, and Knuth (henceforth RSK), that gives a bijection between permutations σ S n and
More informationCreating Your Own PowerPoint Jeopardy Game
Creating Your Own PowerPoint Jeopardy Game Playing jeopardy is a wonderful way to review vocabulary. Creating a game board using PowerPoint is relatively easy and makes the activity even more exciting
More informationSetup. These rules are for three, four, or five players. A two-player variant is described at the end of this rulebook.
Imagine you are the head of a company of thieves oh, not a filthy band of cutpurses and pickpockets, but rather an elite cadre of elegant ladies and gentlemen skilled in the art of illegal acquisition.
More informationLink State Routing. Stefano Vissicchio UCL Computer Science CS 3035/GZ01
Link State Routing Stefano Vissicchio UCL Computer Science CS 335/GZ Reminder: Intra-domain Routing Problem Shortest paths problem: What path between two vertices offers minimal sum of edge weights? Classic
More informationNew Sliding Puzzle with Neighbors Swap Motion
Prihardono AriyantoA,B Kenichi KawagoeC Graduate School of Natural Science and Technology, Kanazawa UniversityA Faculty of Mathematics and Natural Sciences, Institut Teknologi Bandung, Email: prihardono.ari@s.itb.ac.id
More informationThe Sweet Learning Computer
A cs4fn / Teaching London Computing Special The Sweet Learning Computer Making a machine that learns www.cs4fn.org/machinelearning/ The Sweet Learning Computer How do machines learn? Don t they just blindly
More informationCOMP Online Algorithms. Paging and k-server Problem. Shahin Kamali. Lecture 9 - Oct. 4, 2018 University of Manitoba
COMP 7720 - Online Algorithms Paging and k-server Problem Shahin Kamali Lecture 9 - Oct. 4, 2018 University of Manitoba COMP 7720 - Online Algorithms Paging and k-server Problem 1 / 20 Review & Plan COMP
More informationColor-matching Non-matching Symmetries Patterns Game
Ages 6 to adult For 1 or 2 players 9 unique four-color squares MiniMatch-ITM Color-matching Non-matching Symmetries Patterns Game A product of Kadon Enterprises, Inc. MiniMatch-I is a trademark of Kadon
More information7 = Part-Part-Whole. Games = 6 + 1
Part-Part-Whole Games 7 = 6 + 1 5 + 2 = 6 + 1 Capture 4 Materials: Regular dice, Capture 4 board game, and cubes or whiteboard markers Play Capture 4 with 2 dice or 1 die. Kids can capture as many spaces
More informationDomino Tilings of Aztec Diamonds, Baxter Permutations, and Snow Leopard Permutations
Domino Tilings of Aztec Diamonds, Baxter Permutations, and Snow Leopard Permutations Benjamin Caffrey 212 N. Blount St. Madison, WI 53703 bjc.caffrey@gmail.com Eric S. Egge Department of Mathematics and
More informationSarah has done something mean to you at school. Should you spread bad rumors about Sarah to hurt her back? What should you do?
Sarah has done something mean to you at school. Should you spread bad rumors about Sarah to hurt her back? You accidently sent your uncle an email that was supposed to go to your mother saying that you
More informationZsombor Sárosdi THE MATHEMATICS OF SUDOKU
EÖTVÖS LORÁND UNIVERSITY DEPARTMENT OF MATHTEMATICS Zsombor Sárosdi THE MATHEMATICS OF SUDOKU Bsc Thesis in Applied Mathematics Supervisor: István Ágoston Department of Algebra and Number Theory Budapest,
More informationSOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS
INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 8 (2008), #G04 SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS Vincent D. Blondel Department of Mathematical Engineering, Université catholique
More information1111: Linear Algebra I
1111: Linear Algebra I Dr. Vladimir Dotsenko (Vlad) Lecture 7 Dr. Vladimir Dotsenko (Vlad) 1111: Linear Algebra I Lecture 7 1 / 8 Invertible matrices Theorem. 1. An elementary matrix is invertible. 2.
More informationPermutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.
Permutation Groups 5-9-2013 A permutation of a set X is a bijective function σ : X X The set of permutations S X of a set X forms a group under function composition The group of permutations of {1,2,,n}
More information17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.
7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}
More informationNorman Do. Bags and eggs If you have 20 bags, what is the minimum number of eggs required so that you can have a different number of eggs in each bag?
Norman Do Welcome to the Australian Mathematical Society Gazette s Puzzle Corner. Each issue will include a handful of entertaining puzzles for adventurous readers to try. The puzzles cover a range of
More informationClasswork Example 1: Exploring Subtraction with the Integer Game
7.2.5 Lesson Date Understanding Subtraction of Integers Student Objectives I can justify the rule for subtraction: Subtracting a number is the same as adding its opposite. I can relate the rule for subtraction
More information...and then, we held hands.
...and then, we held hands. David Chircop Yannick Massa Art by Marie Cardouat 2 30-45 12+ Components 4 player tokens There are two tokens in each of the player colors. One token is used to represent a
More informationGame Preparation. Round Setup
7+ ~8 0 min One player is the monster, others may be hunters. How can you tell who is who? As the cards keep getting exchanged, the identity of the monster remains vague. In one turn you can be a hunter
More informationWhich Rectangular Chessboards Have a Bishop s Tour?
Which Rectangular Chessboards Have a Bishop s Tour? Gabriela R. Sanchis and Nicole Hundley Department of Mathematical Sciences Elizabethtown College Elizabethtown, PA 17022 November 27, 2004 1 Introduction
More informationSoutheastern European Regional Programming Contest Bucharest, Romania Vinnytsya, Ukraine October 21, Problem A Concerts
Problem A Concerts File: A.in File: standard output Time Limit: 0.3 seconds (C/C++) Memory Limit: 128 megabytes John enjoys listening to several bands, which we shall denote using A through Z. He wants
More informationLectures: Feb 27 + Mar 1 + Mar 3, 2017
CS420+500: Advanced Algorithm Design and Analysis Lectures: Feb 27 + Mar 1 + Mar 3, 2017 Prof. Will Evans Scribe: Adrian She In this lecture we: Summarized how linear programs can be used to model zero-sum
More information10/5/2015. Constraint Satisfaction Problems. Example: Cryptarithmetic. Example: Map-coloring. Example: Map-coloring. Constraint Satisfaction Problems
0/5/05 Constraint Satisfaction Problems Constraint Satisfaction Problems AIMA: Chapter 6 A CSP consists of: Finite set of X, X,, X n Nonempty domain of possible values for each variable D, D, D n where
More informationDependence. Math Circle. October 15, 2016
Dependence Math Circle October 15, 2016 1 Warm up games 1. Flip a coin and take it if the side of coin facing the table is a head. Otherwise, you will need to pay one. Will you play the game? Why? 2. If
More informationMathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170
2015-2016 Mathematics Competition Practice Session 6 Hagerstown Community College: STEM Club November 20, 2015 12:00 pm - 1:00 pm STC-170 1 Warm-Up (2006 AMC 10B No. 17): Bob and Alice each have a bag
More informationSituations Involving Multiplication and Division with Products to 50
Mathematical Ideas Composing, decomposing, addition, and subtraction of numbers are foundations of multiplication and division. The following are examples of situations that involve multiplication and/or
More informationEasy to Win, Hard to Master:
Easy to Win, Hard to Master: Optimal Strategies in Parity Games with Costs Joint work with Martin Zimmermann Alexander Weinert Saarland University December 13th, 216 MFV Seminar, ULB, Brussels, Belgium
More informationChapter 5 Backtracking. The Backtracking Technique The n-queens Problem The Sum-of-Subsets Problem Graph Coloring The 0-1 Knapsack Problem
Chapter 5 Backtracking The Backtracking Technique The n-queens Problem The Sum-of-Subsets Problem Graph Coloring The 0-1 Knapsack Problem Backtracking maze puzzle following every path in maze until a dead
More informationPositive Triangle Game
Positive Triangle Game Two players take turns marking the edges of a complete graph, for some n with (+) or ( ) signs. The two players can choose either mark (this is known as a choice game). In this game,
More informationRobust Location Detection in Emergency Sensor Networks. Goals
Robust Location Detection in Emergency Sensor Networks S. Ray, R. Ungrangsi, F. D. Pellegrini, A. Trachtenberg, and D. Starobinski. Robust location detection in emergency sensor networks. In Proceedings
More informationFirst Cycle Games. Benjamin Aminof (IST Austria) and Sasha Rubin (TU Wien) Strategic Reasoning /20
First Cycle Games Benjamin Aminof (IST Austria) and Sasha Rubin (TU Wien) Strategic Reasoning 2014 1/20 Games in computer science Examples geography, parity games, mean-payoff games, energy games,... Types
More informationTic-Tac-Toe on graphs
AUSTRALASIAN JOURNAL OF COMBINATORICS Volume 72(1) (2018), Pages 106 112 Tic-Tac-Toe on graphs Robert A. Beeler Department of Mathematics and Statistics East Tennessee State University Johnson City, TN
More informationMovement of the pieces
Movement of the pieces Rook The rook moves in a straight line, horizontally or vertically. The rook may not jump over other pieces, that is: all squares between the square where the rook starts its move
More informationCSC 110 Lab 4 Algorithms using Functions. Names:
CSC 110 Lab 4 Algorithms using Functions Names: Tic- Tac- Toe Game Write a program that will allow two players to play Tic- Tac- Toe. You will be given some code as a starting point. Fill in the parts
More informationLECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties.
LECTURE 3: CONGRUENCES 1. Basic properties of congruences We begin by introducing some definitions and elementary properties. Definition 1.1. Suppose that a, b Z and m N. We say that a is congruent to
More informationHeuristic Search with Pre-Computed Databases
Heuristic Search with Pre-Computed Databases Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Use pre-computed partial results to improve the efficiency of heuristic
More informationSolution Algorithm to the Sam Loyd (n 2 1) Puzzle
Solution Algorithm to the Sam Loyd (n 2 1) Puzzle Kyle A. Bishop Dustin L. Madsen December 15, 2009 Introduction The Sam Loyd puzzle was a 4 4 grid invented in the 1870 s with numbers 0 through 15 on each
More informationBroken Hearts Rhythm Game/Flashcards
Broken Hearts Rhythm Game/Flashcards Note: This set covers rhythms in order of difficulty from quarter notes to sixteenth notes, and includes matches for rests and ties. There are a total of 25 broken
More informationSituations Involving Multiplication and Division with Products to 100
Mathematical Ideas Composing, decomposing, addition, and subtraction of numbers are foundations of multiplication and division. The following are examples of situations that involve multiplication and/or
More informationThe Galaxy. Christopher Gutierrez, Brenda Garcia, Katrina Nieh. August 18, 2012
The Galaxy Christopher Gutierrez, Brenda Garcia, Katrina Nieh August 18, 2012 1 Abstract The game Galaxy has yet to be solved and the optimal strategy is unknown. Solving the game boards would contribute
More informationThe Sign of a Permutation Matt Baker
The Sign of a Permutation Matt Baker Let σ be a permutation of {1, 2,, n}, ie, a one-to-one and onto function from {1, 2,, n} to itself We will define what it means for σ to be even or odd, and then discuss
More informationMore Great Ideas in Theoretical Computer Science. Lecture 1: Sorting Pancakes
15-252 More Great Ideas in Theoretical Computer Science Lecture 1: Sorting Pancakes January 19th, 2018 Question If there are n pancakes in total (all in different sizes), what is the max number of flips
More informationRamsey Theory The Ramsey number R(r,s) is the smallest n for which any 2-coloring of K n contains a monochromatic red K r or a monochromatic blue K s where r,s 2. Examples R(2,2) = 2 R(3,3) = 6 R(4,4)
More informationOptimal Yahtzee A COMPARISON BETWEEN DIFFERENT ALGORITHMS FOR PLAYING YAHTZEE DANIEL JENDEBERG, LOUISE WIKSTÉN STOCKHOLM, SWEDEN 2015
DEGREE PROJECT, IN COMPUTER SCIENCE, FIRST LEVEL STOCKHOLM, SWEDEN 2015 Optimal Yahtzee A COMPARISON BETWEEN DIFFERENT ALGORITHMS FOR PLAYING YAHTZEE DANIEL JENDEBERG, LOUISE WIKSTÉN KTH ROYAL INSTITUTE
More informationCSE548, AMS542: Analysis of Algorithms, Fall 2016 Date: Sep 25. Homework #1. ( Due: Oct 10 ) Figure 1: The laser game.
CSE548, AMS542: Analysis of Algorithms, Fall 2016 Date: Sep 25 Homework #1 ( Due: Oct 10 ) Figure 1: The laser game. Task 1. [ 60 Points ] Laser Game Consider the following game played on an n n board,
More informationVillage Pillage. A fast-paced game of luck and cunning for 2-5 players by Tom Lang and Peter C. Hayward
Village Pillage A fast-paced game of luck and cunning for 2-5 players by Tom Lang and Peter C. Hayward It s another beautiful day in the village! Your farmers are hard-working and defenseless, your walls
More informationMultiplayer Pushdown Games. Anil Seth IIT Kanpur
Multiplayer Pushdown Games Anil Seth IIT Kanpur Multiplayer Games we Consider These games are played on graphs (finite or infinite) Generalize two player infinite games. Any number of players are allowed.
More informationTwos, Fives, and Tens. 100 Chart. Pearson Education 1 M15
100 Chart 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
More informationMa/CS 6a Class 16: Permutations
Ma/CS 6a Class 6: Permutations By Adam Sheffer The 5 Puzzle Problem. Start with the configuration on the left and move the tiles to obtain the configuration on the right. The 5 Puzzle (cont.) The game
More informationProblem A. Worst Locations
Problem A Worst Locations Two pandas A and B like each other. They have been placed in a bamboo jungle (which can be seen as a perfect binary tree graph of 2 N -1 vertices and 2 N -2 edges whose leaves
More informationThe Human Calculator: (Whole class activity)
More Math Games and Activities Gordon Scott, November 1998 Apart from the first activity, all the rest are untested. They are closely related to others that have been tried in class, so they should be
More informationTic-tac-toe. Lars-Henrik Eriksson. Functional Programming 1. Original presentation by Tjark Weber. Lars-Henrik Eriksson (UU) Tic-tac-toe 1 / 23
Lars-Henrik Eriksson Functional Programming 1 Original presentation by Tjark Weber Lars-Henrik Eriksson (UU) Tic-tac-toe 1 / 23 Take-Home Exam Take-Home Exam Lars-Henrik Eriksson (UU) Tic-tac-toe 2 / 23
More informationChapter 4: Patterns and Relationships
Chapter : Patterns and Relationships Getting Started, p. 13 1. a) The factors of 1 are 1,, 3,, 6, and 1. The factors of are 1,,, 7, 1, and. The greatest common factor is. b) The factors of 16 are 1,,,,
More informationProgramming Problems 14 th Annual Computer Science Programming Contest
Programming Problems 14 th Annual Computer Science Programming Contest Department of Mathematics and Computer Science Western Carolina University April 8, 2003 Criteria for Determining Team Scores Each
More informationCSE 332: Data Structures and Parallelism Games, Minimax, and Alpha-Beta Pruning. Playing Games. X s Turn. O s Turn. X s Turn.
CSE 332: ata Structures and Parallelism Games, Minimax, and Alpha-Beta Pruning This handout describes the most essential algorithms for game-playing computers. NOTE: These are only partial algorithms:
More informationCSC Curriculum Term One Lesson Plans
CSC Curriculum Term One Lesson Plans Core Lesson 1: The Pawn Move Learning Objectives To learn about the chess board, and how pawns move and capture. To play a game in which you win by getting a pawn to
More informationAutomatic Wordfeud Playing Bot
Automatic Wordfeud Playing Bot Authors: Martin Berntsson, Körsbärsvägen 4 C, 073-6962240, mbernt@kth.se Fredric Ericsson, Adolf Lemons väg 33, 073-4224662, fericss@kth.se Course: Degree Project in Computer
More informationChained Permutations. Dylan Heuer. North Dakota State University. July 26, 2018
Chained Permutations Dylan Heuer North Dakota State University July 26, 2018 Three person chessboard Three person chessboard Three person chessboard Three person chessboard - Rearranged Two new families
More informationBuilding Successful Problem Solvers
Building Successful Problem Solvers Genna Stotts Region 16 ESC How do math games support problem solving for children? 1. 2. 3. 4. Diffy Boxes (Draw a large rectangle below) 1 PIG (Addition & Probability)
More informationLesson 10. Unit 2. Reading Maps. Graphing Points on the Coordinate Plane
Lesson Graphing Points on the Coordinate Plane Reading Maps In the middle ages a system was developed to find the location of specific places on the Earth s surface. The system is a grid that covers the
More information1. a. Miki tosses a coin 50 times, and the coin shows heads 28 times. What fraction of the 50 tosses is heads? What percent is this?
A C E Applications Connections Extensions Applications 1. a. Miki tosses a coin 50 times, and the coin shows heads 28 times. What fraction of the 50 tosses is heads? What percent is this? b. Suppose the
More informationMaking Middle School Math Come Alive with Games and Activities
Making Middle School Math Come Alive with Games and Activities For more information about the materials you find in this packet, contact: Sharon Rendon (605) 431-0216 sharonrendon@cpm.org 1 2-51. SPECIAL
More informationA Memory-Efficient Method for Fast Computation of Short 15-Puzzle Solutions
A Memory-Efficient Method for Fast Computation of Short 15-Puzzle Solutions Ian Parberry Technical Report LARC-2014-02 Laboratory for Recreational Computing Department of Computer Science & Engineering
More informationAdvanced Automata Theory 4 Games
Advanced Automata Theory 4 Games Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory 4 Games p. 1 Repetition
More informationCONSTRUCTION #1: Segment Copy
CONSTRUCTION #1: Segment Copy Objective: Given a line segment, construct a line segment congruent to the given one. Procedure: After doing this Your work should look like this Start with a line segment
More informationCommon Mistakes. Quick sort. Only choosing one pivot per iteration. At each iteration, one pivot per sublist should be chosen.
Common Mistakes Examples of typical mistakes Correct version Quick sort Only choosing one pivot per iteration. At each iteration, one pivot per sublist should be chosen. e.g. Use a quick sort to sort the
More informationAlgorithms. Abstract. We describe a simple construction of a family of permutations with a certain pseudo-random
Generating Pseudo-Random Permutations and Maimum Flow Algorithms Noga Alon IBM Almaden Research Center, 650 Harry Road, San Jose, CA 9510,USA and Sackler Faculty of Eact Sciences, Tel Aviv University,
More informationATHS FC Math Department Al Ain Remedial worksheet. Lesson 10.4 (Ellipses)
ATHS FC Math Department Al Ain Remedial worksheet Section Name ID Date Lesson Marks Lesson 10.4 (Ellipses) 10.4, 10.5, 0.4, 0.5 and 0.6 Intervention Plan Page 1 of 19 Gr 12 core c 2 = a 2 b 2 Question
More informationAssigning altitude levels to flyovers. - Tejaswani Narla
Assigning altitude levels to flyovers - Tejaswani Narla Plan for the talk Real World Problem Description Constructing a graph from the problem Graph Problem Description Introduction to Permutation Graphs
More informationEasy Games and Hard Games
Easy Games and Hard Games Igor Minevich April 30, 2014 Outline 1 Lights Out Puzzle 2 NP Completeness 3 Sokoban 4 Timeline 5 Mancala Original Lights Out Puzzle There is an m n grid of lamps that can be
More information1st Grade Math. Please complete the activity below for the day indicated. Day 1: Double Trouble. Day 2: Greatest Sum. Day 3: Make a Number
1st Grade Math Please complete the activity below for the day indicated. Day 1: Double Trouble Day 2: Greatest Sum Day 3: Make a Number Day 4: Math Fact Road Day 5: Toy Store Double Trouble Paper 1 Die
More informationthe alien has the option of asserting that all 100 aliens have been to the living room by now. If this assertion is false, all 100 aliens are thrown
UW Math Circle 1. Jafar has four prisoners. He lines up three of them: Aladdin faces the wall, the Sultan stands behind Aladdin, and Abu stands behind the Sultan. The fourth prisoner, Jasmine, is put in
More informationInvestigation of Algorithmic Solutions of Sudoku Puzzles
Investigation of Algorithmic Solutions of Sudoku Puzzles Investigation of Algorithmic Solutions of Sudoku Puzzles The game of Sudoku as we know it was first developed in the 1979 by a freelance puzzle
More informationLesson 1: The Rules of Pentago
Lesson 1: The Rules of Pentago 1.1 Learning the Rules The Board The Pentago game board is a 6x6 grid of places, each containing a detent or divot (a small round depression in the surface) that can hold
More informationAfter learning the Rules, What should beginners learn next?
After learning the Rules, What should beginners learn next? Chess Puzzling Presentation Nancy Randolph Capital Conference June 21, 2016 Name Introduction to Chess Test 1. How many squares does a chess
More informationSTUDENT'S BOOKLET. Inclination: Explorations on Slopes Part 1. Contents. 1 Flights 2 The slope of a line. 3 How Tall are you? 4 Duplicating Squares
Meeting 3 Student s Booklet Inclination: Explorations on Slopes Part 1 February 1 2017 @ UCI Contents 1 Flights 2 The slope of a line STUDENT'S BOOKLET 3 How Tall are you? 4 Duplicating Squares UC IRVINE
More informationLittle Songbirds. Overview. Components 110 cards:
Little Songbirds Overview A clever card game for 2-4 players of ages 8 and up. Playing time: about 30 minutes. In Songbirds, you skillfully play bird cards from your hand to collect seeds and birds at
More informationA Distant Episode. The game takes place predominantly in the desert, where he looks for camelutter boxes.
A Distant Episode Short Description: This is a multiplayer assymetrical game where the Professor must find the french troops after collecting all or more camel-udder boxes than the opponents. The other
More informationGame Simulation and Analysis
Game Simulation and Analysis Sarah Eichhorn and Jason Wilkinson Department of Mathematics University of California, Irvine June 29, 2012 Abstract In the following notes, we present an introduction to game
More informationProblem F. Chessboard Coloring
Problem F Chessboard Coloring You have a chessboard with N rows and N columns. You want to color each of the cells with exactly N colors (colors are numbered from 0 to N 1). A coloring is valid if and
More information4.4 Shortest Paths in a Graph Revisited
4.4 Shortest Paths in a Graph Revisited shortest path from computer science department to Einstein's house Algorithm Design by Éva Tardos and Jon Kleinberg Slides by Kevin Wayne Copyright 2004 Addison
More information