mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-05-07 21:14:05 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.IO.Meta` builds the normal Nuget package that is used by all other projects and includes all namespaces. `SabreTools.IO` builds to `SabreTools.IO.Common` to avoid overwriting issues on publish.
25 lines
778 B
C#
25 lines
778 B
C#
namespace SabreTools.IO.Compression.Quantum
|
|
{
|
|
/// <see href="http://www.russotto.net/quantumcomp.html"/>
|
|
internal 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>
|
|
public ModelSymbol[]? Symbols { get; set; }
|
|
|
|
/// <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; }
|
|
}
|
|
}
|