Files
SabreTools.Models/Compression/Quantum/Model.cs
2023-09-22 21:24:05 -04:00

28 lines
854 B
C#

namespace SabreTools.Models.Compression.Quantum
{
/// <see href="http://www.russotto.net/quantumcomp.html"/>
public sealed class Model
{
public int Entries { get; set; }
/// <remarks>
/// All the models are initialized with the symbols in symbol
/// order in the table, and with every symbol in the table
/// having a frequency of 1
/// </remarks>
#if NET48
public ModelSymbol[] Symbols { get; set; }
#else
public ModelSymbol?[]? Symbols { get; set; }
#endif
/// <remarks>
/// The initial total frequency is equal to the number of entries
/// in the table
/// </remarks>
public int TotalFrequency { get; set; }
/// <remarks>The initial time_to_reorder value is 4</remarks>
public int TimeToReorder { get; set; }
}
}