Technique: Firing Range

Note: This article is currently unfinished.

Recommended reading: Skyling

There’s many ways we can think of the relationship between clues and lane peaks when skylining. One way I quite like is to visualise the clues firing ‘lasers’, and the lane peaks trying to find a ‘safe spot’ where they aren’t hit.

Laser Tag

As always, an example will probably explain the best. We’re going to find the lane peaks of this 5x5 puzzle, i.e. the 55-skyscrapers.

4342

Let’s start with the bottom row.

4342

It might already be obvious to you where the 55 should go, but bear with me.

Well, 55 blocks all skyscrapers behind it, so if we’re placing it as in the head cell of a lane, then the only clue that could be satisfied is the 11-clue. (Silhouette)

5
4342

If we place the 55 in front of the 44-clue, we definitely can’t see 4 skyscrapers.

So we can think of the clues as firing lasers which prohibit the lane peak from being in their column.

××××
××××
××××
××××
××××
4342

Remember, we’re only talking about the bottom row here.

Very vividly, there is only one safe column, and so that’s where the 55 must go.

5
4342

Advancing the Front Line

The use of this firing range analogy might become a bit more apparent once we consider the rows higher up.

5
4342

Of course, the clues don’t fire lasers indefinitely; then there couldn’t be a lane peak at all, which wouldn’t make sense.

The value of the clue is what tells us how far the laser travels. For a clue nn, the first cell which could contain a lane peak is the nnth cell of the lane.

Take this lane with a 44-clue. The laser travels 3 cells, so the first safe cell for the lane peak is the 4th cell.

4×××5

Applying this to all the columns, see the structure we obtain?

××
×××
×××5×
4342

The lasers themselves even look like skyscrapers! xD

Now what happens when we consider the next row above?

As before, the 33 and 44-clue lanes are off-limits, since a 55 would block those lanes and prevent the clue from being satisfiable.

××
×××
×××5×
4342

The 4th column already has a 55, so it can’t go there either. The only safe place left is in the rightmost column.

××
××××5
×××5×
4342

TODO

The Lone Scout

The example above was a fairly trivial one. Let’s look at a less obvious case with a 6x6 Skyscrapers.

36
36
2
6
245

We’re going to try and find the lane peak (now the 66-skyscraper) in the 22-clue row.

36
36
2666666
6
245

As usual we can ignore the head cell (because of course, the 22-clue also fires its own laser!). The 66 already present in the 3rd column also eliminates that as an option.

36
36
2×6×666
6
245

This still leaves things fairly open. Now we turn our attention to the clues at the bottom. These are firing lasers upwards, which could restrict where our 66 can reside.

The 22-clue’s laser only spans 1 cell, so isn’t of concern.

36
36
26666
×6
245

However, the 44 and 55-clues fire lasers that do hit our 66.

36
×
××36
26666
××
6××
245

This means those cells aren’t safe, and the 66 can’t go in them.

36
36
26××6
6
245

In fact, this laser metaphor is pretty general, and is sort of how I think about Sudoku-style eliminations as well. Any time a skyscraper can’t go in a lane because it would conflict with a duplicate, or block a clue, you can visualise it as that duplicate or clue firing a laser at your skyscraper, which your skyscraper must dodge.

7××××××
×6
×
×××
×××××4
××××
×××××2
535

Sometimes, skyscraping can feel a bit like dodging lasers.