Skip to main content
. 2019 Dec 24;20(1):122. doi: 10.3390/s20010122
Algorithm 1 Block Coordinate Descent based Multi-flow Algorithm
  • Input: 

    λi,μj,μm,τ1,τ2,τ3,Hi,B,σ,prj,prm;

  • Output: 

    x,P;

  • 1:

    Initialize Pi as Pmin

  • 2:

    whileUoldUnew>εdo

  • 3:

        solve MCMF problem with Pi fixed to get xij

  • 4:

        update each Pi iteratively with xij and the other Pj fixed, ij

  • 5:

        renew U, P if Unew descends

  • 6:

    end while

  • 7:

    returnx,P