Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Computational Thinking Project: Where should we put the Pokestops?

Niantic is paying you big bucks to come up with an algorithm that helps them dynamically determine where Poke-stops should be located on a map. The information available will be the population density at each cell on the map, and the number of stops that should be on that map. The objective is to place the stops at cells where they are as near to as many people as possible so that it is convenient for them to visit the stops.

Problem statement:

Inputs to your algorithm:

  • Map showing population density at each cell
  • Number of stops that Niantic wants on this map

Output.

  • Your algorithm is expected to make recommendations as to where the stops should be placed on the map, and return the coordinates of these cells. The "quality" of your recommended stops will be scored (details about scoring later).

Here is an example of a 15-celled map with population density indicated in each cell. We shall call this small map map0:

 

0

1

2

3

4

0

2

5

5

1

3

1

8

4

4

0

2

2

1

5

2

0

6

All maps will be rectangular (i.e. each row has the same number of columns), and the upper-leftmost cell of the map is always the origin (0, 0). We will also use (y, x) instead of the traditional (x, y) to indicate the position of a particular cell on the map;the population densities at cells (1, 2) and (2, 1) in map0are 4 and 5 respectively.

Your task:

Your challenge is to come up with a get_pokestops method that returns selected stops that produce a low score (the lower the better) for different maps and number of stops.

Attachment:- Project.zip

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91986395

Have any Question?


Related Questions in Computer Engineering

What effect does the teacher have on creating a learning

What effect does the teacher have on creating a learning environment with little to no behavior problems?

How do you apply the five components of the information

How do you apply the five components of the information systems to an information systems application like "online bill pay" system offered by many banks.

Question suppose the ieee 80211 rts and cts frames were as

Question : Suppose the IEEE 802.11 RTS and CTS frames were as long as the standard DATA and ACK frames. Would there be any advantages to using the CTS and RTS frames? Why or why not?

Question suppose you are developing a program that

Question : Suppose you are developing a program that frequently tests whether a student is in a soccer team, what is the best data structure to store the students in a soccer team? Justify your answer.

Explain why some organizations may not place enough

Explain why some organizations may not place enough importance on disaster recovery. What might happen to these organizations in the event of an actual disaster?

Let sigmaab give the transition diagram for a

Let Σ={a,b}. Give the transition diagram for a nondeterministic ?nite state machine that accepts the set of strings in {a,b}∗ that contain a substring of length four that begins and ends with the same symbol. For example ...

Recently the discovery of a new data structure wonder heap

Recently, the discovery of a new data structure WONDER HEAP was announced. A WONDER HEAP has the same functionality and worst case behaviour as a binary heap except for DELETE MAX, which is implemented in O(log log n) (i ...

The demand for salt is relatively price inelastic while the

The demand for salt is relatively price inelastic, while the demand for pretzels is relatively price elastic. How can you best explain why and elaborate your answer.

Software engineeringsuppose you are writing software for a

Software Engineering: Suppose you are writing software for a radio station that manages its playlists. The program will generate candidate playlists from a record library automatically and station personnel can then chec ...

Use the management studio to create a new database called

Use the Management Studio to create a new database called the default settings(If the database already exists, use the Management Studio to delete it and than create it.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As