Documentation ¶
Index ¶
- type IndependentCascade
- func (ic *IndependentCascade) Diffuse(seeds set.Set) set.Set
- func (ic *IndependentCascade) Sample(activated, seeds set.Set) float64
- func (ic *IndependentCascade) Trial(activated, seeds set.Set, inv bool) float64
- func (ic *IndependentCascade) Trials() []util.TrialType
- func (b *IndependentCascade) Type() int
- type LinearThreshold
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndependentCascade ¶
type IndependentCascade struct {
// contains filtered or unexported fields
}
func NewIndependentCascade ¶
func (*IndependentCascade) Sample ¶
func (ic *IndependentCascade) Sample(activated, seeds set.Set) float64
func (*IndependentCascade) Trial ¶
func (ic *IndependentCascade) Trial(activated, seeds set.Set, inv bool) float64
func (*IndependentCascade) Trials ¶
func (ic *IndependentCascade) Trials() []util.TrialType
type LinearThreshold ¶
type LinearThreshold struct {
// contains filtered or unexported fields
}
func NewLinearThreshold ¶
Click to show internal directories.
Click to hide internal directories.