algorithm

package
v0.0.0-...-c564278 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm interface {
	Select(activated set.Set) set.Set
}

type CELF

type CELF struct {
	// contains filtered or unexported fields
}

func NewCELF

func NewCELF(graph *util.Graph, config *util.Config, t int) *CELF

func (*CELF) Select

func (c *CELF) Select(activated set.Set) set.Set

type DiscountDegree

type DiscountDegree struct {
	// contains filtered or unexported fields
}

func NewDiscountDegree

func NewDiscountDegree(graph *util.Graph, config *util.Config, t int) *DiscountDegree

func (*DiscountDegree) Select

func (dd *DiscountDegree) Select(activated set.Set) set.Set

type MaxDegree

type MaxDegree struct {
	// contains filtered or unexported fields
}

func NewMaxDegree

func NewMaxDegree(graph *util.Graph, config *util.Config, t int) *MaxDegree

func (*MaxDegree) Select

func (md *MaxDegree) Select(activated set.Set) set.Set

type Node

type Node struct {
	// contains filtered or unexported fields
}

type PMC

type PMC struct {
	// contains filtered or unexported fields
}

N. Ohsaka et al., Fast and Accurate Influence Maximization on Large Networks with Pruned Monte-Carlo Simulations, AAAI 2014. https://github.com/todo314/pruned-monte-carlo

func NewPMC

func NewPMC(graph *util.Graph, config *util.Config, t int) *PMC

func (*PMC) Select

func (c *PMC) Select(activated set.Set) set.Set

type TIM

type TIM struct {
	// contains filtered or unexported fields
}

func NewTIM

func NewTIM(graph *util.Graph, config *util.Config, t int) *TIM

func (*TIM) Select

func (c *TIM) Select(activated set.Set) set.Set

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL