BCA: Bookmark Coloring Algorithm

View source: R/BCA.R

BCAR Documentation

Bookmark Coloring Algorithm

Description

This function calculates a teleportation vector from a given starting node to other nodes in a given network.

Usage

BCA(graph, v, retentionCoefficient = 0.4, tol = 0.001)

Arguments

graph

an object of type igraph.

v

a starting vertex from the above graph. Can be either its identifier or a igraph.vs object.

retentionCoefficient

the restart probability for each node.

tol

a tolerance treshold, indicating what the smalltest value of color is, that should propagate further

Value

a preference/teleportation vector

References

\insertRef

Berkhin2006Raspository

Examples

library(igraph)
g <- make_ring(5)
preferenceVector <- BCA(g, 1)

David-J-R/Raspository documentation built on April 17, 2023, 12:55 a.m.