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 -skyscrapers.
| 4 | 3 | 4 | 2 |
Let’s start with the bottom row.
| 4 | 3 | 4 | 2 |
It might already be obvious to you where the should go, but bear with me.
Well, 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 -clue. (Silhouette)
| 3 | 4 | 2 |
If we place the in front of the -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.
| 4 | 3 | 4 | 2 |
Remember, we’re only talking about the bottom row here.
Very vividly, there is only one safe column, and so that’s where the must go.
| 5 | ||||||
| 4 | 3 | 4 | 2 |
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 | ||||||
| 4 | 3 | 4 | 2 |
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 , the first cell which could contain a lane peak is the th cell of the lane.
Take this lane with a -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 | ||||||
| 4 | 3 | 4 | 2 |
The lasers themselves even look like skyscrapers! xD
Now what happens when we consider the next row above?
As before, the and -clue lanes are off-limits, since a would block those lanes and prevent the clue from being satisfiable.
| 5 | ||||||
| 4 | 3 | 4 | 2 |
The 4th column already has a , so it can’t go there either. The only safe place left is in the rightmost column.
| 5 | ||||||
| 5 | ||||||
| 4 | 3 | 4 | 2 |
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 | |||||||
| 2 | 4 | 5 |
We’re going to try and find the lane peak (now the -skyscraper) in the -clue row.
| 36 | |||||||
| 36 | |||||||
| 2 | 6 | 6 | 6 | 6 | 6 | 6 | |
| 6 | |||||||
| 2 | 4 | 5 |
As usual we can ignore the head cell (because of course, the -clue also fires its own laser!). The already present in the 3rd column also eliminates that as an option.
| 36 | |||||||
| 36 | |||||||
| 2 | 6 | 6 | 6 | 6 | |||
| 6 | |||||||
| 2 | 4 | 5 |
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 can reside.
The -clue’s laser only spans 1 cell, so isn’t of concern.
| 36 | |||||||
| 36 | |||||||
| 2 | 6 | 6 | 6 | 6 | |||
| 6 | |||||||
| 2 | 4 | 5 |
However, the and -clues fire lasers that do hit our .
| 36 | |||||||
| 36 | |||||||
| 2 | 6 | 6 | |||||
| 6 | |||||||
| 2 | 4 | 5 |
This means those cells aren’t safe, and the can’t go in them.
| 36 | |||||||
| 36 | |||||||
| 2 | 6 | 6 | |||||
| 6 | |||||||
| 2 | 4 | 5 |
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 | ||||||||
| 5 | 3 | 5 |
Sometimes, skyscraping can feel a bit like dodging lasers.