MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / get_action

Method get_action

src/pymgrid/algos/rbc/rbc.py:99–103  ·  view source on GitHub ↗

Given the priority list, define an action.

(self)

Source from the content-addressed store, hash-verified

97 return self.microgrid.final_step - self.microgrid.initial_step
98
99 def get_action(self):
100 """
101 Given the priority list, define an action.
102 """
103 return self._populate_action(self._priority_list)
104
105 def get_empty_action(self):
106 """

Callers 1

runMethod · 0.95

Calls 1

_populate_actionMethod · 0.80

Tested by

no test coverage detected