Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interval ¶
type Interval struct {
// contains filtered or unexported fields
}
func NewInterval ¶
type Intervals ¶
type Intervals struct { MinInterval *Interval ZeroInterval *Interval MidInterval *Interval MaxInterval *Interval }
func NewIntervals ¶
type SScore ¶
func NewMaxScore ¶
func NewMidScore ¶
func NewMinScore ¶
func NewZeroScore ¶
func NewZeroScore() SScore
type ScoreBucket ¶
type ScoreBucket struct {
// contains filtered or unexported fields
}
func NewScoreBuckets ¶
func NewScoreBuckets() *ScoreBucket
func (*ScoreBucket) AvoidScore ¶
func (b *ScoreBucket) AvoidScore() int
func (*ScoreBucket) NormalScore ¶
func (b *ScoreBucket) NormalScore() int
func (*ScoreBucket) PreferScore ¶
func (b *ScoreBucket) PreferScore() int
func (*ScoreBucket) SetScore ¶
func (b *ScoreBucket) SetScore(score SScore, prefer tristate.TriState) *ScoreBucket
func (*ScoreBucket) String ¶
func (b *ScoreBucket) String() string
Click to show internal directories.
Click to hide internal directories.