-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Patient interface is defined as :
"""Base class for patient"""
class Patient(object):
def step(self, action):
"""
Run one time step of the patient dynamiBodySimiFace_setPatisetPatient
Input
action: a namedtuple
------
Outputs
t: current time
state: updated state
observation: the observable states
"""
raise NotImplementedError
@staticmethod
def model(t, state, action, params):
"""
ordinary differential equations
"""
raise NotImplementedError
def reset(self):
"""
Reset to the initial state
Return observation
"""
raise NotImplementedError
However, the code uses patient.observation, patient.state and patient.t.
Should those properties be part of the interface or not?
Additionally, it seems like the static method model is not really part of required interface, so could be removed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels