Versions in this module Expand all Collapse all v0 v0.4.0 Oct 30, 2021 v0.3.0 May 13, 2021 v0.2.0 Apr 5, 2021 v0.1.0 Mar 21, 2021 Changes in this version + func RunsChain(lc addchain.Chain) (addchain.Chain, error) + type Algorithm struct + func NewAlgorithm(d Decomposer, a alg.SequenceAlgorithm) *Algorithm + func (a Algorithm) FindChain(n *big.Int) (addchain.Chain, error) + func (a Algorithm) String() string + type Decomposer interface + Decompose func(x *big.Int) Sum + String func() string + type FixedWindow struct + K uint + func (w FixedWindow) Decompose(x *big.Int) Sum + func (w FixedWindow) String() string + type Hybrid struct + K uint + T uint + func (h Hybrid) Decompose(x *big.Int) Sum + func (h Hybrid) String() string + type RunLength struct + T uint + func (r RunLength) Decompose(x *big.Int) Sum + func (r RunLength) String() string + type RunsAlgorithm struct + func NewRunsAlgorithm(a alg.SequenceAlgorithm) *RunsAlgorithm + func (a RunsAlgorithm) FindChain(n *big.Int) (addchain.Chain, error) + func (a RunsAlgorithm) String() string + type SlidingWindow struct + K uint + func (w SlidingWindow) Decompose(x *big.Int) Sum + func (w SlidingWindow) String() string + type Sum []Term + func (s Sum) Dictionary() []*big.Int + func (s Sum) Int() *big.Int + func (s Sum) SortByExponent() + type Term struct + D *big.Int + E uint + func (t Term) Int() *big.Int