Skip to content

vec scaling enhancement and improved harmonization with ALTRIOS #206

@calbaker

Description

@calbaker
  • make an enum like:
    pub enum ScalingStyle {
        /// Min -> Max values are all scaled
        ScaleAll,
        /// Values are scaled proportionally so that min stays anchored when setting max or vice versa
        ScaleProportionally,
        /// Values are all scaled by same absolute amount
        Slide
    }
    fn set_min(&mut self, style: ScalingStyle) -> anyhow::Result<()> { ...}
  • make a new crate that both ALTRIOS and FASTSim-3 have as a dependency so that all the commonality can be in one place
  • implement TrackedState and TrackedStateWithMemory in the above new crate so that state mutations, if expected, are guarnteed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions