Documentation ¶
Overview ¶
Package signal provides types for working with feedback signal.
Index ¶
- func FilterRaw(raw []uint64, ignore, alwaysTake Signal) []uint64
- func Minimize(corpus []Context) []interface{}
- type Context
- type Signal
- func (s Signal) Copy() Signal
- func (s Signal) Diff(s1 Signal) Signal
- func (s Signal) DiffFromRaw(raw []uint64) []uint64
- func (s Signal) DiffRaw(raw []uint64, prio uint8) Signal
- func (s Signal) Empty() bool
- func (s Signal) HasNew(raw []uint64) bool
- func (s Signal) Intersection(s1 Signal) Signal
- func (s Signal) IntersectsWith(other Signal) bool
- func (s Signal) Len() int
- func (s *Signal) Merge(s1 Signal)
- func (s *Signal) Split(n int) Signal
- func (s *Signal) Subtract(s1 Signal)
- func (s Signal) ToRaw() []uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Signal ¶
type Signal map[elemType]prioType
func (Signal) DiffFromRaw ¶
DiffFromRaw returns a subset of the raw elements that is not present in Signal.
func (Signal) Intersection ¶
func (Signal) IntersectsWith ¶
Click to show internal directories.
Click to hide internal directories.