Uses of Interface
com.jgalgo.alg.traversal.NeighborSampler
Packages that use NeighborSampler
Package
Description
Algorithms for traversing graphs, such as depth-first search and breadth-first search.
-
Uses of NeighborSampler in com.jgalgo.alg.traversal
Subinterfaces of NeighborSampler in com.jgalgo.alg.traversalMethods in com.jgalgo.alg.traversal that return NeighborSamplerModifier and TypeMethodDescriptionstatic <V,E> NeighborSampler<V, E> NeighborSampler.edgeUniform(Graph<V, E> g) Create a new sampler that samples neighbors according to a uniform distribution of the out edges of a vertex.static <V,E> NeighborSampler<V, E> NeighborSampler.edgeWeighted(Graph<V, E> g, WeightFunction<E> weights) Create a new sampler that samples neighbors according to a weighted distribution of the out edges of a vertex.