I have a doubt in piper

Hello, I have a doubt this piper:


I dont know if here is right local for put this doubt, but i need of help in understand this lette "k" that appear in many formulas, how in page 2 in topic "2.1 The Insertion Neighborhood" in formula:

vij (k) =

k if k < i or k > j
k + 1 if i < k ≤ j
j if k = i.

What's this lette k. I don't get understand. Help me.
Last edited on
k is the input value to the function.

So if k = 17, then the output is:

17 if 17<i or 17>j
18 if i < 17 ≤ j
j if 17=i
Topic archived. No new replies allowed.