Our current SystemModel requires users to annotate which attributes belong to different categories, such as "state" or "health" parameters. It would be cleaner to have those separated into two subclasses.
Current:
class MySystemModel(SystemModel):
attr_1
attr_2
state_params = ('attr_1',)
Proposed
class State:
attr_1
class Health:
attr_2
class JointState():
state = State()
att_2 = Health()
Our current
SystemModel
requires users to annotate which attributes belong to different categories, such as "state" or "health" parameters. It would be cleaner to have those separated into two subclasses.Current:
Proposed