Documentation
¶
Index ¶
- type Element
- func (e *Element) Id() Id
- func (e *Element) IsValid() bool
- func (e *Element) Level() int
- func (e *Element) New(v any) *Element
- func (e *Element) NewInvalid() *Element
- func (e *Element) Propagation() int
- func (e *Element) SetInvalid()
- func (e *Element) SetMax(n int)
- func (e *Element) String() string
- func (e *Element) V() any
- type Elements
- type Id
- type Iterator
- type Level
- type StableChannel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func NewElement ¶
func NewPropagationElement ¶
func (*Element) NewInvalid ¶
func (*Element) Propagation ¶
func (*Element) SetInvalid ¶
func (e *Element) SetInvalid()
type Elements ¶
type Elements interface {
SetKnown()
Elements(yield func(*Element) bool)
Values(yield func(any) bool)
IsComplete() bool
Add(v *Element)
Iterator() Iterator
SetKnownSize(n int)
// contains filtered or unexported methods
}
func NewElements ¶
func NewElements() Elements
func NewKnownElements ¶
type StableChannel ¶
type StableChannel struct {
// contains filtered or unexported fields
}
func NewStableChannel ¶
func NewStableChannel(elems Elements) *StableChannel
func (*StableChannel) Close ¶
func (c *StableChannel) Close()
func (*StableChannel) Get ¶
func (c *StableChannel) Get() *Element
func (*StableChannel) Iterator ¶
func (c *StableChannel) Iterator(yield func(v *Element) bool)
func (*StableChannel) Put ¶
func (c *StableChannel) Put(e *Element)
func (*StableChannel) SetInputSize ¶
func (c *StableChannel) SetInputSize(n int)
Click to show internal directories.
Click to hide internal directories.