Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceWeighted ¶
type InterfaceWeighted interface {
GetProbability() float64
}
InterfaceWeighted interface to represent a weighted object
type WeightedElement ¶
type WeightedElement struct {
Probability float64 `json:"probability"`
}
WeightedElement represents a probability based weighted object
func (WeightedElement) GetProbability ¶
func (we WeightedElement) GetProbability() float64
GetProbability gets match probability
Click to show internal directories.
Click to hide internal directories.