Open biyue111 opened 6 years ago
pre-work to make the code simpler
terminal
, is_terminal
etc, which are totally useless in our casekey="%d-%d"%(state, action)
if possibleisChannelBlocked
and getChannelNumber
to convert state to channel's availability and channel number
s
to a list )a
and return a column of next states_
ChannelEnv
class need to store the actions of all user in T timeslots.