Skip to main content
. 2026 Aug 6;26(15):4994. doi: 10.3390/s26154994
Algorithm 1 Profit-aware Reinforcement Learning State Construction
  • Require: Aligned multimodal sequence S={St}t=1T, historical management actions M={Mt}t=1T, intervention sequence A={At}t=1T

  • Ensure: Profit-aware RL state sequence X={xt}t=1T

  •   1:

    for  t=1,…,T  do

  •   2:

           zts←fs(St)

  •   3:

           (Y^t,C^t,R^t)←gcausal(St,At)

  •   4:

           zte←fe(Y^t,C^t,R^t)

  •   5:

           ztm←fm(Mt)

  •   6:

           xt←zts;zte;ztm

  •   7:

           at←πθ(xt)

  •   8:

           (rt,xt+1)←E(at)

  •   9:

           Update critic network

  • 10:

           Update actor network

  • 11:

    end for

  • 12:

    return  X