Files
sharpcompress/SharpCompress/Compressor/PPMd/I1/ModelRestorationMethod.cs
2013-04-28 12:32:55 +01:00

29 lines
685 B
C#

#region Using
using System;
#endregion
namespace SharpCompress.Compressor.PPMd.I1
{
/// <summary>
/// The method used to adjust the model when the memory limit is reached.
/// </summary>
internal enum ModelRestorationMethod
{
/// <summary>
/// Restart the model from scratch (this is the default).
/// </summary>
Restart = 0,
/// <summary>
/// Cut off the model (nearly twice as slow).
/// </summary>
CutOff = 1,
/// <summary>
/// Freeze the context tree (in some cases may result in poor compression).
/// </summary>
Freeze = 2
}
}