lds revisited (aka chinese whispers) Send reinforcements. We’re going to advance.

Slides:



Advertisements
Similar presentations
My Internet Safety Guide I have used scratch to program a guide to internet safety using QR codes.
Advertisements

Backward Checking Search BT, BM, BJ, CBJ. An example problem Colour each of the 5 nodes, such that if they are adjacent, they take different colours 12.
Backward Checking Search BT, BM, BJ, CBJ. An example problem Colour each of the 5 nodes, such that if they are adjacent, they take different colours.
An intro to programming concepts with Scratch Session 8 of 10 sessions Working with lists; sorting a list.
Stanford University CS243 Winter 2006 Wei Li 1 Register Allocation.
Permutations and Combinations
Lecture 12: Revision Lecture Dr John Levine Algorithms and Complexity March 27th 2006.
CP2014: Teaching CP. Context Final Year 120 credits (1 credit approx 10 hours) 30 credit project 4 modules in semester 1 4 modules in semester 2.
Snick  snack CPSC 121: Models of Computation 2010 Winter Term 2 Introduction to Induction Steve Wolfman 1.
Snick  snack CPSC 121: Models of Computation 2009 Winter Term 1 Introduction to Induction Steve Wolfman 1.
C241 PLTL SESSION – 2/22/2015 Graph Theory & Binary Search Trees.
Foundations of Constraint Processing, Fall 2004 November 8, 2004Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Chapter 5 Trees PROPERTIES OF TREES 3 4.
Algorithms in Exponential Time. Outline Backtracking Local Search Randomization: Reducing to a Polynomial-Time Case Randomization: Permuting the Evaluation.
Foundations of Constraint Processing, Fall 2005 October 20, 2005Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Satisfaction Problems
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Revisions If you received the grade: “R” If you received the grade: “R” You must do a revision to receive a grade for lab 2. You must do a revision to.
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Othello.
Chapter 5 Outline Formal definition of CSP CSP Examples
Backtracking.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Variables “To be is to be the value of a variable.” - William Quine.
1 What NOT to do I get sooooo Frustrated! Marking the SAME wrong answer hundreds of times! I will give a list of mistakes which I particularly hate marking.
MA/CSSE 473 Day 31 Student questions Data Compression Minimal Spanning Tree Intro.
Algorithms and Programming
Constrainedness Including slides from Toby Walsh.
Lecture 10: Class Review Dr John Levine Algorithms and Complexity March 13th 2006.
Shop Scheduling Reformulation of Vehicle Routing Evgeny Selensky Dept of Computing Science Glasgow University.
B-Trees. CSM B-Trees 2 Motivation for B-Trees So far we have assumed that we can store an entire data structure in main memory What if we have so.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l inference l all learning.
I am Patrick Prosser I am a senior lecturer at Glasgow (and Strathclyde till mid April) I teach algorithms & data structures in java I am a member of.
Constraint Satisfaction Read Chapter 5. Model Finite set of variables: X1,…Xn Variable Xi has values in domain Di. Constraints C1…Cm. A constraint specifies.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
A talk with 3 titles By Patrick Prosser Research … how not to do it LDS revisited (aka Chinese whispers) Yet Another Flawed Talk by Patrick Prosser.
Solving a System of Equations by SUBSTITUTION. GOAL: I want to find what x equals, and what y equals. Using substitution, I can say that x = __ and y.
B-Trees. CSM B-Trees 2 Motivation for B-Trees So far we have assumed that we can store an entire data structure in main memory What if we have so.
Friday, October 18, 2013 “What really matters is what happens in us, not to us.” John C. Maxwell.
Large Scale Assembly of DNA Strings using Suffix Trees David Rivshin Parallel 2 4/11/2001.
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
Put a different number in each circle (1 to 8) such that adjacent circles cannot take consecutive numbers.
Introduction to LISP Atoms, Lists Math. LISP n LISt Processing n Function model –Program = function definition –Give arguments –Returns values n Mathematical.
LaZy Man Visor Derrick Huff (The Lazy Man) EKU, Dept. of Technology, Computer Electronic Networking.
Version Control and SVN ECE 297. Why Do We Need Version Control?
CS 127 Exceptions and Decision Structures. Exception Handling This concept was created to allow a programmer to write code that catches and deals with.
ECE 101 An Introduction to Information Technology Information Coding.
Maths quiz KS 2: Use sequence in programs. Today we are learning about: Programs & Selection ●I can explain what selection is ●I can write a program using.
Error-Correcting Code
I have used Scratch, to program a guide to internet safety. This is done by using QR codes to make it more interactive and interesting for people playing.
Best-first search is a search algorithm which explores a graph by expanding the most promising node chosen according to a specified rule.
I am a senior lecturer at Glasgow
Data Structures and Algorithms
I am a senior lecturer at Glasgow
Alyce Brady CS 470: Data Structures CS 510: Computer Algorithms
Alyce Brady CS 470: Data Structures CS 510: Computer Algorithms
Computer Science cpsc322, Lecture 13
Complexity Present sorting methods. Binary search. Other measures.
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Constraint Satisfaction Problems
Constraints and Search
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
COMP108 Algorithmic Foundations Searching
CPSC 121: Models of Computation 2008/9 Winter Term 2
Intelligent Backtracking Algorithms: A Theoretical Evaluation
COMP108 Algorithmic Foundations Searching
Core Methods in Educational Data Mining
You will see some dots very quickly. Then they will be hidden.
Presentation transcript:

lds revisited (aka chinese whispers)

Send reinforcements. We’re going to advance.

Send three and fourpence. We’re going to a dance!

Motivation (rooted in footnote 279/1998) lds (improved) for non-binary domains present the algorithm how does it perform

A refresher Chronological Backtracking (BT) what’s that then? when/why do we need it? Quick Intro Limited Discrepancy Search (lds) what’s that then Then the story

An example problem (to show bt) Colour each of the 5 nodes, such that if they are adjacent, they take different colours

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v5

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v5

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v5

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v5

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

A Tree Trace of BT (assume domain ordered {R,B,G}) v1 v2 v3 v4 v

LDS show the search process assume binary branching assume we have 4 variables only

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take no discrepancies (go with the heuristic) What’s a heuristic

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take no discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take no discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take no discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 1 discrepancy

Now take 2 discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 2 discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 2 discrepancies

Limited Discrepancy Search (LDS)Ginsberg & Harvey Take 2 discrepancies

And now for the Chinese whispers

Motivation for lds

First proposal For discrepancies 0 to n

First proposal For discrepancies 0 to n k is remaining discrepancies

First proposal For discrepancies 0 to n k is remaining discrepancies Go with heuristic

First proposal For discrepancies 0 to n k is remaining discrepancies Go with heuristic Go against then go with

The lds search process: how it goes

NOTE: lds revisits search states with k discrepancies When searching with > k discrepancies

My pseudo code

lds revisits nodes: Korf’s improvement (AAAI 96)

Korf’s improvement

Korf’s 1 st mistake! Woops! Do you see it? He’s taking his discrepancies late/deep!

Korf’s 1 st mistake! Wrong way round Richard

Richard, was that a bug?

Yip, but so?

Korf’s 2 nd bug

Richard, you know there is another bug?

Woops! Richard, you know there is another bug?

Richard, are you there?

My pseudo code

Toby, do you do it late or early?

Chris, late or early?

Wafa, late or early?

Wafa’s response

My pseudo code I think this has not been reported

Are all discrepancies the same? Does it make a difference if we take discrepancies late or early?

Measuring discrepancies

Putting a cost on a discrepancy

No experiments done yet

Car sequencing Does it matter if we take discrepancies late or early? (basically, is H&G’s motivation for lds correct?)

Car Sequencing Problem Assessed exercise 2

My empirical study on car sequencing problems Using various search algorithms, heuristics. Question: does the order (late/early) that we take discrepancies in lds matter?

Well, did you see a pattern? If there is no pattern what does this say about H&G’s hypothesis? And, if no pattern, why is lds any good?

See anything?

Is this work worthy of more effort?

What does this tell us about how we do research? we can just follow on without question we can forget the basic/initial hypothesis we can forget to really look at our results we can be frightened or disinterested in –ve results we can publish papers with multiple errors we are human