Skip to contents

Community-based graph search

Public fields

communities

List of communities

k

Number of communities

Methods


Method new()

Create a new GlobalSearcher

Usage

GlobalSearcher$new(communities, k = 5)

Arguments

communities

List of Community objects

k

Number of communities


Method search()

Search communities

Usage

GlobalSearcher$search(query)

Arguments

query

Query string

Returns

GlobalSearchResult


Method clone()

The objects of this class are cloneable with this method.

Usage

GlobalSearcher$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.