extension/src/main/java/org/justinnk/masonssa/extension/ssa/OptimizedDirectMethod.java
/**
   * Remove the actions old rate from the sum. This is useful if the agent owning that action was
   * killed.
   *
   * @param action The action to account for
   */
Remove the actions old rate from the sum. This is useful if the agent owning that action was
killed.

@param action The action to account for
Remove the actions old rate from the sum . This is useful if the agent owning that action was killed . @param action The action to account for
public void removeFromRateSum(Action action) {
    if (action.getCurrentGuard()) {
      double oldRate = action.getCurrentRate();
      this.rateSum -= oldRate;
    }
  }
public void removeFromRateSum ( Action action ) { if ( action . getCurrentGuard ( ) ) { double oldRate = action . getCurrentRate ( ) ; this . rateSum -= oldRate ; } }
Remove the actions old rate from the sum.
Remove the actions old rate from the sum .