def transition_fluctuate(self, hr_fluctuate, sysbp_fluctuate, percoxyg_fluctuate, glucose_fluctuate):
    '\n        all (non-treatment) states fluctuate +/- 1 w.p. .1\n        exception: glucose flucuates +/- 1 w.p. .3 if diabetic\n        '
    if hr_fluctuate:
        hr_prob = np.random.uniform(0, 1)
        if (hr_prob < 0.1):
            self.state.hr_state = max(0, (self.state.hr_state - 1))
        elif (hr_prob < 0.2):
            self.state.hr_state = min(2, (self.state.hr_state + 1))
    if sysbp_fluctuate:
        sysbp_prob = np.random.uniform(0, 1)
        if (sysbp_prob < 0.1):
            self.state.sysbp_state = max(0, (self.state.sysbp_state - 1))
        elif (sysbp_prob < 0.2):
            self.state.sysbp_state = min(2, (self.state.sysbp_state + 1))
    if percoxyg_fluctuate:
        percoxyg_prob = np.random.uniform(0, 1)
        if (percoxyg_prob < 0.1):
            self.state.percoxyg_state = max(0, (self.state.percoxyg_state - 1))
        elif (percoxyg_prob < 0.2):
            self.state.percoxyg_state = min(1, (self.state.percoxyg_state + 1))
    if glucose_fluctuate:
        glucose_prob = np.random.uniform(0, 1)
        if (self.state.diabetic_idx == 0):
            if (glucose_prob < 0.1):
                self.state.glucose_state = max(0, (self.state.glucose_state - 1))
            elif (glucose_prob < 0.2):
                self.state.glucose_state = min(1, (self.state.glucose_state + 1))
        elif (glucose_prob < 0.3):
            self.state.glucose_state = max(0, (self.state.glucose_state - 1))
        elif (glucose_prob < 0.6):
            self.state.glucose_state = min(4, (self.state.glucose_state + 1))
all (non-treatment) states fluctuate +/- 1 w.p. .1
exception: glucose flucuates +/- 1 w.p. .3 if diabetic
def transition_fluctuate(self, hr_fluctuate, sysbp_fluctuate, percoxyg_fluctuate, glucose_fluctuate):
    '\n        all (non-treatment) states fluctuate +/- 1 w.p. .1\n        exception: glucose flucuates +/- 1 w.p. .3 if diabetic\n        '
    if hr_fluctuate:
        hr_prob = np.random.uniform(0, 1)
        if (hr_prob < 0.1):
            self.state.hr_state = max(0, (self.state.hr_state - 1))
        elif (hr_prob < 0.2):
            self.state.hr_state = min(2, (self.state.hr_state + 1))
    if sysbp_fluctuate:
        sysbp_prob = np.random.uniform(0, 1)
        if (sysbp_prob < 0.1):
            self.state.sysbp_state = max(0, (self.state.sysbp_state - 1))
        elif (sysbp_prob < 0.2):
            self.state.sysbp_state = min(2, (self.state.sysbp_state + 1))
    if percoxyg_fluctuate:
        percoxyg_prob = np.random.uniform(0, 1)
        if (percoxyg_prob < 0.1):
            self.state.percoxyg_state = max(0, (self.state.percoxyg_state - 1))
        elif (percoxyg_prob < 0.2):
            self.state.percoxyg_state = min(1, (self.state.percoxyg_state + 1))
    if glucose_fluctuate:
        glucose_prob = np.random.uniform(0, 1)
        if (self.state.diabetic_idx == 0):
            if (glucose_prob < 0.1):
                self.state.glucose_state = max(0, (self.state.glucose_state - 1))
            elif (glucose_prob < 0.2):
                self.state.glucose_state = min(1, (self.state.glucose_state + 1))
        elif (glucose_prob < 0.3):
            self.state.glucose_state = max(0, (self.state.glucose_state - 1))
        elif (glucose_prob < 0.6):
            self.state.glucose_state = min(4, (self.state.glucose_state + 1))