Skip to content
Snippets Groups Projects
Commit f1827100 authored by Ramsha Narmeen's avatar Ramsha Narmeen
Browse files

Upload New File

parent a0eaf4d7
Branches main
No related tags found
No related merge requests found
function action = select_action(actor, state, CIO_min, CIO_max)
raw_action = predict(actor,dlarray(state,'BC'));
action = ceil(max(min(raw_action, CIO_max), CIO_min));
for i = 1:length(action)
CIO_updated(i) = action(i);
end
action = CIO_updated;
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment