2013-04-07 10:58:58 +01:00
|
|
|
#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
|
|
|
|
|
}
|
2013-04-28 12:32:55 +01:00
|
|
|
}
|