Rook Polynomial Relaxation Labeling Ofir Cohen Shay Horonchik.

Slides:



Advertisements
Similar presentations
3.4 Rational Functions I. A rational function is a function of the form Where p and q are polynomial functions and q is not the zero polynomial. The domain.
Advertisements

Optical Architecture for (Restricted) Exponential Time Hard Problems Nova Fandina Ben-Gurion University of the Negev, Israel Joint work with: Prof. Shlomi.
8 Queens. Problem: Placing 8 queens on a chessboard such that they don’t attack each other Three different Prolog programs are suggessted as solutions.
A spreadsheet is like a big table. It contains rows and columns which work together. Left-click to go to the next slide.
PHYLOGENETIC TREES Bulent Moller CSE March 2004.
Totally Unimodular Matrices
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
Chapter 7 Multidimensional Arrays. Defining a two dimensional array elementType[][] arrayName; // Java pro elementType arrayName[][]; // C++ alternate.
Rational Expressions, Vertical Asymptotes, and Holes.
Allocation problems - The Hungarian Algorithm The Hungarian algorithm Step 1Reduce the array by both row and column subtractions Step 2Cover the zero elements.
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
Duality Lecture 10: Feb 9. Min-Max theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Section 5.2 – Properties of Rational Functions
Section4.2 Rational Functions and Their Graphs. Rational Functions.
ACT Class Openers:
4.2 DAY 2 WRITING DOMAIN AND RANGE AS INEQUALITIES Today’s Goal: -To write the domain and range using an inequality. -To understand the domain and ranges.
SUDOKU Via Relaxation Labeling
Rational Functions. 5 values to consider 1)Domain 2)Horizontal Asymptotes 3)Vertical Asymptotes 4)Holes 5)Zeros.
Computer vision: models, learning and inference
SOLVING SUDOKU WITH MATLAB Raluca Marinescu, Andrea Garcia, Ivan Castro, Eduard Enoiu Mälardalen University, Västerås,
9.3 Rational Functions and Their Graphs Rational Function – A function that is written as, where P(x) and Q(x) are polynomial functions. The domain of.
First, let’s review the structure and use of a breadboard.
Copyright © Cengage Learning. All rights reserved. 7 Rational Functions.
Back Tracking Project Due August 11, 1999 N-queens: –A classic puzzle for chess buffs is the N- Queens problem. Simply stated: is it possible to place.
1 N -Queens via Relaxation Labeling Ilana Koreh ( ) Luba Rashkovsky ( )
Computation Model and Complexity Class. 2 An algorithmic process that uses the result of a random draw to make an approximated decision has the ability.
Lesson 2.6 Rational Functions and Asymptotes. Graph the function: Domain: Range: Increasing/Decreasing: Line that creates a split in the graph:
Rational Functions Intro - Chapter 4.4.  Let x = ___ to find y – intercepts A rational function is the _______ of two polynomials RATIO Graphs of Rational.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 28, 2014.
1 On Completing Latin Squares Iman Hajirasouliha Joint work with Hossein Jowhari, Ravi Kumar, and Ravi Sundaram.
Gesture Recognition in a Class Room Environment Michael Wallick CS766.
Adding and Subtracting Polynomials Objective: Students will add and subtract polynomials. S. Calahan March 2008.
MATH 1314 JEOPARDY $7500 $7400$7300$7200$7100$7000$6900$6800$6700$6600$6500$6400$6300$6200$6100$6000$5900$5800$5700$5600$5500$5400$5300$5200$5100$5000$4900$4800$4700$4600$4500$4400$4300$4200$4100$4000$3900$3800$3700$3600$3500$3400$3300$3200$3100$3000$2900
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
Removable Discontinuities & Vertical Asymptotes
Backtracking & Brute Force Optimization Intro2CS – weeks
N- Queens Solution with Genetic Algorithm By Mohammad A. Ismael.
Do I Understand Spreadsheets? Assessment Game. Question 1 What is a spreadsheet?
Rational Functions Objective: Finding the domain of a rational function and finding asymptotes.
EXAMPLE 1 Add polynomials vertically and horizontally a. Add 2x 3 – 5x 2 + 3x – 9 and x 3 + 6x in a vertical format. SOLUTION a. 2x 3 – 5x 2 + 3x.
Lesson 21 Finding holes and asymptotes Lesson 21 February 21, 2013.
Rational Functions and Their Graphs Objective: Identify and evaluate rational functions and graph them.
Rational Functions.
BnB vs Label Relaxation.
Graph Sketching: Asymptotes and Rational Functions
8.2 Rational Functions and Their Graphs
Multi-Party Proofs and Computation
Rational functions are quotients of polynomial functions.
Lecture 22 Complexity and Reductions
Póth Miklós Polytechnical Engineering College, Subotica
Sit-In Lab 1 Ob-CHESS-ion
Microsoft Excel 2003 Illustrated Complete
Section 3.5 Rational Functions and Their Graphs
MATRICES MATRIX OPERATIONS.
Simplifying rational expressions
CS Software Studio Assignment 1
Humanities Matching Final
Danny Z. Chen1, Yan Gu2, Jian Li2, and Haitao Wang1
To add polynomials: like terms standard form
3.4 Rational Functions I.
Sudoku.
Humanities Matching Final
Matrices An appeaser is one who feeds a crocodile—hoping it will eat him last. Winston Churchhill.
Polynomial and Rational Functions
Students, Take out your calendar and your homework
Solving and Graphing Rational Functions
4.3 Rational Functions I.
Properties of Rational Functions
Lecture 22 Complexity and Reductions
Presentation transcript:

Rook Polynomial Relaxation Labeling Ofir Cohen Shay Horonchik

Problem Domain Rooks can only move horizontally or vertically. Place n Rooks on a n*n chess board with holes, where no piece can challenge other rooks. This is an NP Complete problem

Problem Domain (cont.) Rook Polynomial can be reduced to:  Resource distribution under constraints Known Solutions  Algorithms using back tracking  Include / exclude mechanism

Rook Polynomial via Relaxation Labeling Set of Objects:  We declared each cell (except holes) as an object. Set of Labels:  We declared two labels: {Empty, Rook} Initial Confidence:  Rook => 1 / Maximum between empty cells in row and clumn  Empty => 1 - Empty

Rook Polynomial via Relaxation Labeling Compatibility -  Example:

Rook Polynomial via Relaxation Labeling Results:  Very long running time  it doesn’t converge to the correct solution  The algorithm doesn’t try to achieve maximum rook number on board  Successful runs. (only on small boards)

Rook Polynomial via Relaxation Labeling (phase b) We perform the following changes:  Initial confidence  Randomize rooks on several cells on the board  Support function  Zeroing cells where found rooks in both row and column  Increasing cells value where found an empty row/column

Implementation  Input:  Number Of Columns  Number Of Rows  Number Of Cells With Holes

Problems And Conclusion Relaxation algorithm purpose don’t match the problem specification.  Relaxation labeling purpose is to match objects and labels  The rook polynomial problem purpose is to find maximal “Rook labels”

Any Questions ?

Thank You