public NumSequenceExtendedBuilder(byte letterSize, int length, int suffixLength, bool suffixLengthSet, ICtzCompute ctzCompute, IPopCountCompute popCountCompute) : base(letterSize, length, suffixLength, suffixLengthSet) { this.ctzCompute = ctzCompute; this.popCountCompute = popCountCompute; }
public NumSequenceExtendedWsBuilder(byte letterSize, int length, int suffixLength, bool suffixLengthSet, ICtzCompute ctzCompute, IPopCountCompute popCountCompute, ulong[] words) : base(letterSize, length, suffixLength, suffixLengthSet, ctzCompute, popCountCompute) { this.words = words; }
public NumSequenceExtended GetNumSequence(ulong[] words, byte letterSize, int length, int suffixLength, ICtzCompute ctzCompute, IPopCountCompute popCountCompute) { IExtendedWsBuilderFactory builderFactory = GetBuilderFactory(); SetBaseAttributes(words, letterSize, length, builderFactory); SetCtzPopCountCompute(ctzCompute, popCountCompute, builderFactory); builderFactory.SetSuffixLength(suffixLength); return(GetNumSequence(builderFactory)); }
protected void SetCtzCompute(ICtzCompute ctzCompute) { this.ctzCompute = ctzCompute; }
public abstract void SetCtzCompute(ICtzCompute ctzCompute);
private void SetCtzPopCountCompute(ICtzCompute ctzCompute, IPopCountCompute popCountCompute, IExtendedWsBuilderFactory builderFactory) { builderFactory.SetCtzCompute(ctzCompute); builderFactory.SetPopCountCompute(popCountCompute); }
public NumSequenceExtendedFactory(ICtzCompute ctzCompute, IPopCountCompute popCountCompute) { this.ctzCompute = ctzCompute; this.popCountCompute = popCountCompute; Reset(); }
public NumSequenceExtendedFactory() { ctzCompute = NumberOperationsDefaultFactory.GetCtzCompute(); popCountCompute = NumberOperationsDefaultFactory.GetPopCountCompute(); Reset(); }
public override void SetCtzCompute(ICtzCompute ctzCompute) { CtzComputeSet(); builder.SetCtzCompute(ctzCompute); }
protected NumSequenceExtended(INumSequenceExtendedBuilder builder) : base(builder) { ctzCompute = builder.GetCtzCompute(); popCountCompute = builder.GetPopCountCompute(); }