I have weighted function

-----------------------------------------------

"Running-Gag" solved the my previous question:

You can show that

Therefore to get for some given you must have

------------------------------------------------

I have many source and destination values i.e. signal but I have to use only one .

If target is defined such that

Then iterating I can find e.g that if

So what is function for if and is given ?: