Skip to main content
. 2023 Jan 25;23(3):1332. doi: 10.3390/s23031332
Algorithm 1 Algorithm for pre-optimization for corrective strategies σ
  • 1:

    compute g without applying strategies in preventive way, for σ corresponding to applying the lightest compulsory corrective strategy corresponding to every failure

  • 2:

    epoch0

  • 3:

    while no termination criterion applies (epoch number/no improvement within 1 epoch) do

  • 4:

        for every combination of component and failure type do

  • 5:

            for every corrective strategy applicable to the component after such failure do

  • 6:

               compute g if not computed with same arguments yet

  • 7:

               if the value of g is better than the optimal found so far then

  • 8:

                   update optimal σ and optimal g value

  • 9:

               end if

  • 10:

            end for

  • 11:

        end for

  • 12:

        epochepoch+1

  • 13:

    end while