ModelRestorationMethod.cs 645 B

1234567891011121314151617181920212223242526272829
  1. #region Using
  2. #endregion
  3. namespace SharpCompress.Compressors.PPMd.I1
  4. {
  5. /// <summary>
  6. /// The method used to adjust the model when the memory limit is reached.
  7. /// </summary>
  8. internal enum ModelRestorationMethod
  9. {
  10. /// <summary>
  11. /// Restart the model from scratch (this is the default).
  12. /// </summary>
  13. Restart = 0,
  14. /// <summary>
  15. /// Cut off the model (nearly twice as slow).
  16. /// </summary>
  17. CutOff = 1,
  18. /// <summary>
  19. /// Freeze the context tree (in some cases may result in poor compression).
  20. /// </summary>
  21. Freeze = 2
  22. }
  23. }