Skip to content

Manage state information more cleanly #133

@dilpath

Description

@dilpath

Currently, the method state information is mostly stored in the candidate space object. All state information could be moved into a separate state object, such that the candidate space is no longer stateful. e.g. there are a few objects (Problem, ModelSubspace, ModelSpace, CandidateSpace) that each contain some logic to manage exclusions -- this could all be moved to the state object.

State information (some of which is only used by the FAMoS method currently):

  • each iteration:
    • the identified models
    • the calibrated models
    • the method
  • exclusions (accumulative over iterations)

Partially resolved by #128 , where all calibrated models from all iterations are now stored in Problem.state.

Use this in plotting code too, e.g.:

  • add method information from each iteration to graph_iteration_layers, to make FAMoS method switches clear

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions