Class StateStatisticsSimple<StateType>

java.lang.Object
com.amalgamasimulation.utils.StateStatisticsSimple<StateType>

@Deprecated public class StateStatisticsSimple<StateType> extends Object
Deprecated.
  • Field Details

    • lastResetTime

      protected double lastResetTime
      Deprecated.
    • lastEnteredState

      protected StateType lastEnteredState
      Deprecated.
    • statesToDurations

      protected HashMap<StateType,Double> statesToDurations
      Deprecated.
    • statesLastBeginTimes

      protected HashMap<StateType,Double> statesLastBeginTimes
      Deprecated.
  • Constructor Details

    • StateStatisticsSimple

      public StateStatisticsSimple()
      Deprecated.
  • Method Details

    • onEnteredState

      public void onEnteredState(StateType state, double time)
      Deprecated.
    • onExitedState

      public void onExitedState(StateType state, double time)
      Deprecated.
    • resetStats

      public void resetStats(double time)
      Deprecated.
    • getStateDuration

      public double getStateDuration(StateType state, double time)
      Deprecated.
    • onNonZeroStateEnded

      public void onNonZeroStateEnded(StateType state, double beginTime, double endTime)
      Deprecated.
    • onAnyStateEnded

      public void onAnyStateEnded(StateType state, double beginTime, double endTime)
      Deprecated.
    • onStateBegan

      public void onStateBegan(StateType state, double beginTime)
      Deprecated.
    • getTotalDuration

      public double getTotalDuration(double time)
      Deprecated.
    • getLastEnteredState

      public StateType getLastEnteredState()
      Deprecated.
    • getCurrentStates

      public List<StateType> getCurrentStates()
      Deprecated.
    • getMostRecentCurrentState

      public StateType getMostRecentCurrentState()
      Deprecated.
    • add

      public void add(StateStatisticsSimple<StateType> otherStateStatistics)
      Deprecated.