Entity-based graph search
Public fields
graph
Knowledge graph
k
Number of seed entities
traversal_depth
Max hops
Methods
Method new()
Create a new LocalSearcher
Arguments
graph
KnowledgeGraph
k
Seed entities
traversal_depth
Max depth
Search the graph
Usage
LocalSearcher$search(query)
Returns
LocalSearchResult
Method clone()
The objects of this class are cloneable with this method.
Usage
LocalSearcher$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.