On Variable Dependencies and Compressed Pattern Databases
|
|
- Piers Fowler
- 6 years ago
- Views:
Transcription
1 On Variable Dependencies and Compressed Pattern Databases Malte Helmert 1 Nathan Sturtevant Ariel elner 1 University of Basel, Switzerland University of Denver, USA Ben Gurion University, Israel SoCS 017
2 Introduction
3 Quotation previous work on compressed pattern databases: Sturtevant, elner and Helmert (SoCS 014) This approach worked very well for the 4-peg Towers of Hanoi, for instance, but its success for the sliding tile puzzles was limited and no significant advantage was reported for the Top-Spin domain (elner et al., 007). this paper: try to understand why
4 Compressed PDBs E G H
5 Compressed PDBs E G H h (A) = 6
6 Compressed PDBs E G H E G H h (A) = 6
7 Compressed PDBs E G H E G H h (A) = 6 AB CD E GH IJ KL 4 1 0
8 Compressed PDBs E G H E G H h (A) = 6 h PDB (A) = 4 AB CD E GH IJ KL 4 1 0
9 Compressed PDBs E G H E G H h (A) = 6 h PDB (A) = 4 PDB (A) = AB CD E GH IJ KL
10 Compressed PDBs E G H E G H h (A) = 6 h PDB (A) = 4 PDB (A) = AB CD E GH IJ KL
11 Comparing PDBs to Compressed PDBs Assume we have N units of memory. Consider three heuristics: h : fine-grained PDB (M N entries) : compressed fine-grained PDB (N entries) h C : coarse-grained PDB (N entries) Which one should we use, or h C?
12 Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
13 Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin better than h C on average Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
14 Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin worse than h C on average Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
15 Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin equal to h C on average Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
16 Good News
17 Dominance of Compressed PDBs Theorem (dominance of compressed PDBs) Let h and h C be heuristics such that h is a refinement of h C. Consider compressed heuristics with a compression regime that is compatible with h and h C. Then for all states s. (s) h C (s) informally: compression step applies further abstraction on top of the abstraction h
18 Dominance of Compressed PDBs: Proof Idea E G H E G H h (A) = 6 h (A) = 4 (A) = AB CD E GH IJ KL
19 Dominance of Compressed PDBs: Proof Idea E G H E G H E G H h (A) = 6 h (A) = 4 (A) = AB CD E GH IJ KL AB CD E GH IJ KL 1 0
20 Dominance of Compressed PDBs: Proof Idea E G H E G H E G H h (A) = 6 h (A) = 4 (A) = h C (A) = AB CD E GH IJ KL AB CD E GH IJ KL 1 0
21 Dominance of Compressed PDBs: Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
22 Dominance of Compressed PDBs: Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin (s) h C (s) for all states according to the theorem Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
23 Bad News
24 State Variables States are described in terms of state variables. Examples: Towers of Hanoi: position of one disk sliding tiles: position of a tile (or blank) TopSpin: position of a token PDBs project to a subset of variables (the pattern ).
25 Variable Dependencies Variable u depends on variable v if changing u is conditioned in any way on v. Towers of Hanoi sliding tiles TopSpin
26 Variable Dependencies Variable u depends on variable v if changing u is conditioned in any way on v. Towers of Hanoi sliding tiles TopSpin
27 Improvements vs. Dependencies Theorem (no improvements without dependencies) Consider the patterns C in an undirected state space. Let be a compressed PDB heuristic with a compression regime compatible with the refinement relation between and C. If no variable in C depends on any variable in \ C, then for all states s. (s) = h C (s)
28 Improvements vs. Dependencies: Proof Idea E G H E G H E G H h (A) = 4 h (A) = (A) = h C (A) = AB CD E GH IJ KL AB CD E GH IJ KL 1 0
29 Improvements vs. Dependencies: Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
30 Improvements vs. Dependencies: Experimental Results State Space M/N h MOD DIV random h C Hanoi Sliding Tiles A Sliding Tiles B TopSpin (s) = h C (s) for all states according to the theorem Hanoi: 4 pegs and 16 disks; pattern with 15 disks Sliding Tiles A: 4 4 puzzle; pattern blank, 1,,, 4, 5, 6 Sliding Tiles B: 4 4 puzzle; pattern 6, 5, 4,,, 1, blank TopSpin: 18 tokens and turnstile size 4; pattern with 7 tokens all use lexicographic ranking
31 Related Work in Classical Planning our result: = h C for undirected state spaces under certain dependency conditions literature (Haslum et al. 007; Pommerening et al. 01): h = h C for arbitrary state spaces under certain (different) dependency conditions neither result entails the other many more details in paper
32 Related Work in Classical Planning our result: = h C for undirected state spaces under certain dependency conditions literature (Haslum et al. 007; Pommerening et al. 01): h = h C for arbitrary state spaces under certain (different) dependency conditions neither result entails the other many more details in paper
33 Conclusion
34 Conclusion When is entry compression a good idea? never bad when compatible with refinement never good when refinement does not capture a dependency What does this mean for the benchmarks? Towers of Hanoi: must compress smaller disks away sliding tile: compressing blank the only useful refinement TopSpin: no dependencies, hence no gain (ditto: Pancakes, Rubik s Cube)
35 Thank You Thank you for your attention!
Building a Heuristic for Greedy Search
Building a Heuristic for Greedy Search Christopher Wilt and Wheeler Ruml Department of Computer Science Grateful thanks to NSF for support. Wheeler Ruml (UNH) Heuristics for Greedy Search 1 / 11 This Talk
More informationCompressing Pattern Databases
Compressing Pattern Databases Ariel Felner and Ram Meshulam Computer Science Department Bar-Ilan University Ramat-Gan, Israel 92500 Email: ffelner,meshulr1g@cs.biu.ac.il Robert C. Holte Computing Science
More informationChapter 4 Heuristics & Local Search
CSE 473 Chapter 4 Heuristics & Local Search CSE AI Faculty Recall: Admissable Heuristics f(x) = g(x) + h(x) g: cost so far h: underestimate of remaining costs e.g., h SLD Where do heuristics come from?
More information5.1 State-Space Search Problems
Foundations of Artificial Intelligence March 7, 2018 5. State-Space Search: State Spaces Foundations of Artificial Intelligence 5. State-Space Search: State Spaces Malte Helmert University of Basel March
More informationInformed search algorithms. Chapter 3 (Based on Slides by Stuart Russell, Richard Korf, Subbarao Kambhampati, and UW-AI faculty)
Informed search algorithms Chapter 3 (Based on Slides by Stuart Russell, Richard Korf, Subbarao Kambhampati, and UW-AI faculty) Intuition, like the rays of the sun, acts only in an inflexibly straight
More informationHeuristics & Pattern Databases for Search Dan Weld
CSE 473: Artificial Intelligence Autumn 2014 Heuristics & Pattern Databases for Search Dan Weld Logistics PS1 due Monday 10/13 Office hours Jeff today 10:30am CSE 021 Galen today 1-3pm CSE 218 See Website
More informationPart I: The Swap Puzzle
Part I: The Swap Puzzle Game Play: Randomly arrange the tiles in the boxes then try to put them in proper order using only legal moves. A variety of legal moves are: Legal Moves (variation 1): Swap the
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 information22c:145 Artificial Intelligence
22c:145 Artificial Intelligence Fall 2005 Informed Search and Exploration II Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material
More informationAbstraction Heuristics for Rubik s Cube
Abstraction Heuristics for Rubik s Cube Bachelor Thesis Natural Science Faculty of the University of Basel Department of Mathematics and Computer Science Artificial Intelligence http://ai.cs.unibas.ch
More informationHeuristics & Pattern Databases for Search Dan Weld
10//01 CSE 57: Artificial Intelligence Autumn01 Heuristics & Pattern Databases for Search Dan Weld Recap: Search Problem States configurations of the world Successor function: function from states to lists
More information3-5 Slopes of Lines. Warm Up Lesson Presentation Lesson Quiz. Holt McDougal Geometry
3-5 Slopes of Lines Warm Up Lesson Presentation Lesson Quiz Geometry Warm Up Find the value of m. 1. 2. 3. 4. undefined 0 Objectives Find the slope of a line. Use slopes to identify parallel and perpendicular
More informationTopspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time
Salem State University Digital Commons at Salem State University Honors Theses Student Scholarship Fall 2015-01-01 Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time Elizabeth Fitzgerald
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 informationWeek 1. 1 What Is Combinatorics?
1 What Is Combinatorics? Week 1 The question that what is combinatorics is similar to the question that what is mathematics. If we say that mathematics is about the study of numbers and figures, then combinatorics
More informationEnumerative Combinatoric Algorithms. Gray code
Enumerative Combinatoric Algorithms Gray code Oswin Aichholzer (slides TH): Enumerative Combinatoric Algorithms, 27 Standard binary code: Ex, 3 bits: b = b = b = 2 b = 3 b = 4 b = 5 b = 6 b = 7 Binary
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 informationRecent Progress in the Design and Analysis of Admissible Heuristic Functions
From: AAAI-00 Proceedings. Copyright 2000, AAAI (www.aaai.org). All rights reserved. Recent Progress in the Design and Analysis of Admissible Heuristic Functions Richard E. Korf Computer Science Department
More informationRotational Puzzles on Graphs
Rotational Puzzles on Graphs On this page I will discuss various graph puzzles, or rather, permutation puzzles consisting of partially overlapping cycles. This was first investigated by R.M. Wilson in
More informationOptimally Solving Cooperative Path-Finding Problems Without Hole on Rectangular Boards with Heuristic Search
Optimally Solving Cooperative Path-Finding Problems Without Hole on Rectangular Boards with Heuristic Search Bruno Bouzy Paris Descartes University WoMPF 2016 July 10, 2016 Outline Cooperative Path-Finding
More informationCS 32 Puzzles, Games & Algorithms Fall 2013
CS 32 Puzzles, Games & Algorithms Fall 2013 Study Guide & Scavenger Hunt #2 November 10, 2014 These problems are chosen to help prepare you for the second midterm exam, scheduled for Friday, November 14,
More informationA NUMBER THEORY APPROACH TO PROBLEM REPRESENTATION AND SOLUTION
Session 22 General Problem Solving A NUMBER THEORY APPROACH TO PROBLEM REPRESENTATION AND SOLUTION Stewart N, T. Shen Edward R. Jones Virginia Polytechnic Institute and State University Abstract A number
More informationDirected Towers of Hanoi
Richard Anstee, UBC, Vancouver January 10, 2019 Introduction The original Towers of Hanoi problem considers a problem 3 pegs and with n different sized discs that fit on the pegs. A legal move is to move
More informationThese Are a Few of My Favorite Things
Lesson.1 Assignment Name Date These Are a Few of My Favorite Things Modeling Probability 1. A board game includes the spinner shown in the figure that players must use to advance a game piece around the
More informationCounting in Algorithms
Counting Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers? How many steps to factor an integer? Counting in Games How many different
More informationTHE 15-PUZZLE (AND RUBIK S CUBE)
THE 15-PUZZLE (AND RUBIK S CUBE) KEITH CONRAD 1. Introduction A permutation puzzle is a toy where the pieces can be moved around and the object is to reassemble the pieces into their beginning state We
More informationFaster optimal and suboptimal hierarchical search
University of New Hampshire University of New Hampshire Scholars' Repository Master's Theses and Capstones Student Scholarship Spring 2012 Faster optimal and suboptimal hierarchical search Michael Leighton
More informationCoding Theory on the Generalized Towers of Hanoi
Coding Theory on the Generalized Towers of Hanoi Danielle Arett August 1999 Figure 1 1 Coding Theory on the Generalized Towers of Hanoi Danielle Arett Augsburg College Minneapolis, MN arettd@augsburg.edu
More informationLet start by revisiting the standard (recursive) version of the Hanoi towers problem. Figure 1: Initial position of the Hanoi towers.
Coding Denis TRYSTRAM Lecture notes Maths for Computer Science MOSIG 1 2017 1 Summary/Objective Coding the instances of a problem is a tricky question that has a big influence on the way to obtain the
More informationOn the Combination of Constraint Programming and Stochastic Search: The Sudoku Case
On the Combination of Constraint Programming and Stochastic Search: The Sudoku Case Rhydian Lewis Cardiff Business School Pryfysgol Caerdydd/ Cardiff University lewisr@cf.ac.uk Talk Plan Introduction:
More informationSection Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning
Section 7.1 Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning Probability of an Event Pierre-Simon Laplace (1749-1827) We first study Pierre-Simon
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 20. Combinatorial Optimization: Introduction and Hill-Climbing Malte Helmert Universität Basel April 8, 2016 Combinatorial Optimization Introduction previous chapters:
More informationGames of Skill Lesson 1 of 9, work in pairs
Lesson 1 of 9, work in pairs 21 (basic version) The goal of the game is to get the other player to say the number 21. The person who says 21 loses. The first person starts by saying 1. At each turn, the
More informationMistilings with Dominoes
NOTE Mistilings with Dominoes Wayne Goddard, University of Pennsylvania Abstract We consider placing dominoes on a checker board such that each domino covers exactly some number of squares. Given a board
More informationPermutations. = f 1 f = I A
Permutations. 1. Definition (Permutation). A permutation of a set A is a bijective function f : A A. The set of all permutations of A is denoted by Perm(A). 2. If A has cardinality n, then Perm(A) has
More informationUCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis
UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 3 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 3 Notes Goal for today: CL Section 3 Subsets,
More informationTwo-Player Tower of Hanoi
Two-Player Tower of Hanoi Jonathan Chappelon, Urban Larsson, Akihiro Matsuura To cite this version: Jonathan Chappelon, Urban Larsson, Akihiro Matsuura. Two-Player Tower of Hanoi. 16 pages, 6 figures,
More informationPrinciple of Inclusion-Exclusion Notes
Principle of Inclusion-Exclusion Notes The Principle of Inclusion-Exclusion (often abbreviated PIE is the following general formula used for finding the cardinality of a union of finite sets. Theorem 0.1.
More informationMechanism Design without Money II: House Allocation, Kidney Exchange, Stable Matching
Algorithmic Game Theory Summer 2016, Week 8 Mechanism Design without Money II: House Allocation, Kidney Exchange, Stable Matching ETH Zürich Peter Widmayer, Paul Dütting Looking at the past few lectures
More informationLAMC Junior Circle January 22, Oleg Gleizer. The Hanoi Tower. Part 2
LAMC Junior Circle January 22, 2012 Oleg Gleizer The Hanoi Tower Part 2 Definition 1 An algorithm is a finite set of clear instructions to solve a problem. An algorithm is called optimal, if the solution
More informationTHE 15 PUZZLE AND TOPSPIN. Elizabeth Senac
THE 15 PUZZLE AND TOPSPIN Elizabeth Senac 4x4 box with 15 numbers Goal is to rearrange the numbers from a random starting arrangement into correct numerical order. Can only slide one block at a time. Definition:
More informationCPS331 Lecture: Heuristic Search last revised 6/18/09
CPS331 Lecture: Heuristic Search last revised 6/18/09 Objectives: 1. To introduce the use of heuristics in searches 2. To introduce some standard heuristic algorithms 3. To introduce criteria for evaluating
More information15-381: Artificial Intelligence Assignment 3: Midterm Review
15-381: Artificial Intelligence Assignment 3: Midterm Review Handed out: Tuesday, October 2 nd, 2001 Due: Tuesday, October 9 th, 2001 (in class) Solutions will be posted October 10 th, 2001: No late homeworks
More informationImproved Heuristic and Tie-Breaking for Optimally Solving Sokoban
Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16) Improved Heuristic and Tie-Breaking for Optimally Solving Sokoban André G. Pereira Federal University
More informationNon-overlapping permutation patterns
PU. M. A. Vol. 22 (2011), No.2, pp. 99 105 Non-overlapping permutation patterns Miklós Bóna Department of Mathematics University of Florida 358 Little Hall, PO Box 118105 Gainesville, FL 326118105 (USA)
More informationNuman Sheikh FC College Lahore
Numan Sheikh FC College Lahore 2 Five men crash-land their airplane on a deserted island in the South Pacific. On their first day they gather as many coconuts as they can find into one big pile. They decide
More informationTopology Control. Chapter 3. Ad Hoc and Sensor Networks. Roger Wattenhofer 3/1
Topology Control Chapter 3 Ad Hoc and Sensor Networks Roger Wattenhofer 3/1 Inventory Tracking (Cargo Tracking) Current tracking systems require lineof-sight to satellite. Count and locate containers Search
More informationON THE ENUMERATION OF MAGIC CUBES*
1934-1 ENUMERATION OF MAGIC CUBES 833 ON THE ENUMERATION OF MAGIC CUBES* BY D. N. LEHMER 1. Introduction. Assume the cube with one corner at the origin and the three edges at that corner as axes of reference.
More informationAn Efficient Implementation of Tower of Hanoi using Gray Codes
GRD Journals Global Research and Development Journal for Engineering National Conference on Computational Intelligence Systems (NCCIS 17) March 2017 e-issn: 2455-5703 An Efficient Implementation of Tower
More informationOutline for today s lecture Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing
Informed Search II Outline for today s lecture Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing CIS 521 - Intro to AI - Fall 2017 2 Review: Greedy
More informationTask Scheduling. A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering. May 2016 Task Scheduling Slide 1
Task Scheduling A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering May 0 Task Scheduling Slide About This Presentation This presentation belongs to the lecture series
More informationFoundations of Artificial Intelligence Introduction State of the Art Summary. classification: Board Games: Overview
Foundations of Artificial Intelligence May 14, 2018 40. Board Games: Introduction and State of the Art Foundations of Artificial Intelligence 40. Board Games: Introduction and State of the Art 40.1 Introduction
More informationElevation Matrices of Surfaces
Elevation Matrices of Surfaces Frank Uhlig, Mesgana Hawando Department of Mathematics, Auburn University Auburn, AL 36849 5310, USA uhligfd@auburn.edu www.auburn.edu/ uhligfd hawanmt@auburn.edu [coimbraelmatr04.tex]
More informationStruct: Finding Structure in Permutation Sets
Michael Albert, Christian Bean, Anders Claesson, Bjarki Ágúst Guðmundsson, Tómas Ken Magnússon and Henning Ulfarsson April 26th, 2016 Classical Patterns What is a permutation? π = 431265 = Classical Patterns
More informationModeling and Solving Planning Problems With Picat
Modeling and Solving Planning Problems With Picat Neng-Fa Zhou (CUNY Brooklyn College & GC) Planning with Picat, N.F. Zhou 1 Classical Planning P = (S,,f,,s0,F) S : A set of states (finite or countably
More informationEE 123 Discussion Section 6. Frank Ong March 14th, 2016
EE 123 Discussion Section 6 Frank Ong March 14th, 2016 Plan Sparse FFT Magnitude Filter Design with convex optimization Sparse FFT Given a length-n signal, FFT takes O(N log N) time to compute its DFT
More informationON SPLITTING UP PILES OF STONES
ON SPLITTING UP PILES OF STONES GREGORY IGUSA Abstract. In this paper, I describe the rules of a game, and give a complete description of when the game can be won, and when it cannot be won. The first
More informationSolving Several Planning Problems with Picat
Solving Several Planning Problems with Picat Neng-Fa Zhou 1 and Hakan Kjellerstrand 2 1. The City University of New York, E-mail: zhou@sci.brooklyn.cuny.edu 2. Independent Researcher, hakank.org, E-mail:
More informationActivArena TEMPLATES TEACHER NOTES FOR ACTIVARENA RESOURCES BLANK WORKING SPACE SPLIT (WITH TITLE SPACE) About this template
TEMPLATES BLANK WORKING SPACE SPLIT (WITH TITLE SPACE) It contains two blank workspaces that can be the basis of many tasks. Learners may perform identical tasks or completely different tasks in their
More information28,800 Extremely Magic 5 5 Squares Arthur Holshouser. Harold Reiter.
28,800 Extremely Magic 5 5 Squares Arthur Holshouser 3600 Bullard St. Charlotte, NC, USA Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA hbreiter@uncc.edu
More informationCS 188: Artificial Intelligence Spring 2007
CS 188: Artificial Intelligence Spring 2007 Lecture 7: CSP-II and Adversarial Search 2/6/2007 Srini Narayanan ICSI and UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell or
More informationLEARN TO SOLVE THE RUBIK'S CUBE
LEARN TO SOLVE THE RUBIK'S CUBE Contents: Lesson Focus & Standards p. 2-3 Review Prior Stages... p. 4 Lesson Content p. 5-9 Review.. p. 9 Math Connection. p. 10 Vocabulary... p. 10 Trivia. p. 10 Scrambling
More informationGame Theory and Randomized Algorithms
Game Theory and Randomized Algorithms Guy Aridor Game theory is a set of tools that allow us to understand how decisionmakers interact with each other. It has practical applications in economics, international
More informationG53CLP Constraint Logic Programming
G53CLP Constraint Logic Programming Dr Rong Qu Modeling CSPs Case Study I Constraint Programming... represents one of the closest approaches computer science has yet made to the Holy Grail of programming:
More informationGames of Skill ANSWERS Lesson 1 of 9, work in pairs
Lesson 1 of 9, work in pairs 21 (basic version) The goal of the game is to get the other player to say the number 21. The person who says 21 loses. The first person starts by saying 1. At each turn, the
More informationA construction of infinite families of directed strongly regular graphs
A construction of infinite families of directed strongly regular graphs Štefan Gyürki Matej Bel University, Banská Bystrica, Slovakia Graphs and Groups, Spectra and Symmetries Novosibirsk, August 2016
More informationTetsuo JAIST EikD Erik D. Martin L. MIT
Tetsuo Asano @ JAIST EikD Erik D. Demaine @MIT Martin L. Demaine @ MIT Ryuhei Uehara @ JAIST Short History: 2010/1/9: At Boston Museum we met Kaboozle! 2010/2/21 accepted by 5 th International Conference
More informationarxiv: v1 [math.co] 24 Nov 2018
The Problem of Pawns arxiv:1811.09606v1 [math.co] 24 Nov 2018 Tricia Muldoon Brown Georgia Southern University Abstract Using a bijective proof, we show the number of ways to arrange a maximum number of
More informationComputing Science (CMPUT) 496
Computing Science (CMPUT) 496 Search, Knowledge, and Simulations Martin Müller Department of Computing Science University of Alberta mmueller@ualberta.ca Winter 2017 Part IV Knowledge 496 Today - Mar 9
More informationUNIVERSITY OF TWENTE. Guard-based Partial-Order Reduction in LTSmin. Formal Methods & Tools.
UNIVERSITY OF TWENTE. Formal Methods & Tools. Guard-based Partial-Order Reduction in LTSmin Alfons Laarman, Elwin Pater, Jaco van de Pol, Michael Weber 8 july 2013 SPIN 13, Stony Brook LTSmin Tool Architecture
More informationAIMA 3.5. Smarter Search. David Cline
AIMA 3.5 Smarter Search David Cline Uninformed search Depth-first Depth-limited Iterative deepening Breadth-first Bidirectional search None of these searches take into account how close you are to the
More informationName Date Class. 2. dime. 3. nickel. 6. randomly drawing 1 of the 4 S s from a bag of 100 Scrabble tiles
Name Date Class Practice A Tina has 3 quarters, 1 dime, and 6 nickels in her pocket. Find the probability of randomly drawing each of the following coins. Write your answer as a fraction, as a decimal,
More informationUnit 12: Artificial Intelligence CS 101, Fall 2018
Unit 12: Artificial Intelligence CS 101, Fall 2018 Learning Objectives After completing this unit, you should be able to: Explain the difference between procedural and declarative knowledge. Describe the
More informationApplications of Fermat s Little Theorem and Congruences
Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4
More informationMID-MICHIGAN OLYMPIAD IN MATHEMATICS 2014 PROBLEMS GRADES 5-6
PROBLEMS GRADES 5-6 1. Find any integer solution of the puzzle: WE+ST+RO+NG=128 (different letters mean different digits between 1 and 9). Solution: there are many solutions, for instance, 15+26+38+49=128
More informationWelcome! U4H2: Worksheet # s 2-7, 9-13, 16, 20. Updates: U4T is 12/12. Announcement: December 16 th is the last day I will accept late work.
Welcome! U4H2: Worksheet # s 2-7, 9-13, 16, 20 Updates: U4T is 12/12 Announcement: December 16 th is the last day I will accept late work. 1 Review U4H1 2 Theoretical Probability 3 Experimental Probability
More informationSF2972 GAME THEORY Normal-form analysis II
SF2972 GAME THEORY Normal-form analysis II Jörgen Weibull January 2017 1 Nash equilibrium Domain of analysis: finite NF games = h i with mixed-strategy extension = h ( ) i Definition 1.1 Astrategyprofile
More informationOutline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM
Constructing Manifolds Lecture 3 - February 3, 2009-1-2 PM Outline Sets of gluing data The cocycle condition Parametric pseudo-manifolds (PPM s) Conclusions 2 Let n and k be integers such that n 1 and
More informationGrade Level/Course: 6 7. Lesson/Unit Plan Name: Probability, Maybe?
Grade Level/Course: 6 7 Lesson/Unit Plan Name: Probability, Maybe? Rationale/Lesson Abstract: This lesson will use the bar model & number line concept as an additional method for determining the probability
More informationPUZZLES ON GRAPHS: THE TOWERS OF HANOI, THE SPIN-OUT PUZZLE, AND THE COMBINATION PUZZLE
PUZZLES ON GRAPHS: THE TOWERS OF HANOI, THE SPIN-OUT PUZZLE, AND THE COMBINATION PUZZLE LINDSAY BAUN AND SONIA CHAUHAN ADVISOR: PAUL CULL OREGON STATE UNIVERSITY ABSTRACT. The Towers of Hanoi is a well
More informationGod's Number in the Simultaneously-Possible Turn Metric
University of Wisconsin Milwaukee UWM Digital Commons Theses and Dissertations 12-1-2017 God's Number in the Simultaneously-Possible Turn Metric Andrew James Gould University of Wisconsin-Milwaukee Follow
More informationCSC/MATA67 Tutorial, Week 12
CSC/MATA67 Tutorial, Week 12 November 23, 2017 1 More counting problems A class consists of 15 students of whom 5 are prefects. Q: How many committees of 8 can be formed if each consists of a) exactly
More informationFunctions of several variables
Chapter 6 Functions of several variables 6.1 Limits and continuity Definition 6.1 (Euclidean distance). Given two points P (x 1, y 1 ) and Q(x, y ) on the plane, we define their distance by the formula
More informationError-Correcting Codes for Rank Modulation
ISIT 008, Toronto, Canada, July 6-11, 008 Error-Correcting Codes for Rank Modulation Anxiao (Andrew) Jiang Computer Science Department Texas A&M University College Station, TX 77843, U.S.A. ajiang@cs.tamu.edu
More informationCS 229 Final Project: Using Reinforcement Learning to Play Othello
CS 229 Final Project: Using Reinforcement Learning to Play Othello Kevin Fry Frank Zheng Xianming Li ID: kfry ID: fzheng ID: xmli 16 December 2016 Abstract We built an AI that learned to play Othello.
More informationBuzz Contest Rules and Keywords
Buzz Contest Rules and Keywords 1 Introduction Contestants take turns in rotation. The group of contestants is counting out loud, starting with 1, each person saying the next number when it comes his turn.
More informationSpring 06 Assignment 2: Constraint Satisfaction Problems
15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment
More informationChapter 2 Basic Counting
Chapter 2 Basic Counting 2. The Multiplication Principle Suppose that we are ordering dinner at a small restaurant. We must first order our drink, the choices being Soda, Tea, Water, Coffee, and Wine (respectively
More informationMaxima and Minima. Terminology note: Do not confuse the maximum f(a, b) (a number) with the point (a, b) where the maximum occurs.
10-11-2010 HW: 14.7: 1,5,7,13,29,33,39,51,55 Maxima and Minima In this very important chapter, we describe how to use the tools of calculus to locate the maxima and minima of a function of two variables.
More informationCSC384 Introduction to Artificial Intelligence : Heuristic Search
CSC384 Introduction to Artificial Intelligence : Heuristic Search September 18, 2014 September 18, 2014 1 / 12 Heuristic Search (A ) Primary concerns in heuristic search: Completeness Optimality Time complexity
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 information6.2 Slopes of Parallel and Perpendicular Lines
. Slopes of Parallel and Perpendicular Lines FOCUS Use slope to find out if two lines are parallel or perpendicular. These two lines are parallel. Slope of line AB Slope of line CD These two lines have
More informationCCO Commun. Comb. Optim.
Communications in Combinatorics and Optimization Vol. 2 No. 2, 2017 pp.149-159 DOI: 10.22049/CCO.2017.25918.1055 CCO Commun. Comb. Optim. Graceful labelings of the generalized Petersen graphs Zehui Shao
More informationGame Theory and Algorithms Lecture 3: Weak Dominance and Truthfulness
Game Theory and Algorithms Lecture 3: Weak Dominance and Truthfulness March 1, 2011 Summary: We introduce the notion of a (weakly) dominant strategy: one which is always a best response, no matter what
More informationClassic Puzzles Series 2 Spud bashing
Spud bashing A horticulture research team has 100 kg of potatoes. When tested the potatoes are found to be 99% water. They are left lying around for several months and they shrivel and dry out. The potatoes
More informationAn interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,
Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence
More informationCarmen s Core Concepts (Math 135)
Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 7 1 Congruence Definition 2 Congruence is an Equivalence Relation (CER) 3 Properties of Congruence (PC) 4 Example 5 Congruences
More information2005 Fryer Contest. Solutions
Canadian Mathematics Competition n activity of the Centre for Education in Mathematics and Computing, University of Waterloo, Waterloo, Ontario 2005 Fryer Contest Wednesday, pril 20, 2005 Solutions c 2005
More informationActivity Sheet #1 Presentation #617, Annin/Aguayo,
Activity Sheet #1 Presentation #617, Annin/Aguayo, Visualizing Patterns: Fibonacci Numbers and 1,000-Pointed Stars n = 5 n = 5 n = 6 n = 6 n = 7 n = 7 n = 8 n = 8 n = 8 n = 8 n = 10 n = 10 n = 10 n = 10
More informationMidterm. CS440, Fall 2003
Midterm CS440, Fall 003 This test is closed book, closed notes, no calculators. You have :30 hours to answer the questions. If you think a problem is ambiguously stated, state your assumptions and solve
More information