Class WeightedRandomWalkGraphIteratorProvider<V>
- java.lang.Object
-
- org.deeplearning4j.graph.iterator.parallel.WeightedRandomWalkGraphIteratorProvider<V>
-
- All Implemented Interfaces:
GraphWalkIteratorProvider<V>
public class WeightedRandomWalkGraphIteratorProvider<V> extends Object implements GraphWalkIteratorProvider<V>
-
-
Constructor Summary
Constructors Constructor Description WeightedRandomWalkGraphIteratorProvider(IGraph<V,? extends Number> graph, int walkLength)
WeightedRandomWalkGraphIteratorProvider(IGraph<V,? extends Number> graph, int walkLength, long seed, NoEdgeHandling mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GraphWalkIterator<V>>
getGraphWalkIterators(int numIterators)
Get a list of GraphWalkIterators.
-
-
-
Constructor Detail
-
WeightedRandomWalkGraphIteratorProvider
public WeightedRandomWalkGraphIteratorProvider(IGraph<V,? extends Number> graph, int walkLength)
-
WeightedRandomWalkGraphIteratorProvider
public WeightedRandomWalkGraphIteratorProvider(IGraph<V,? extends Number> graph, int walkLength, long seed, NoEdgeHandling mode)
-
-
Method Detail
-
getGraphWalkIterators
public List<GraphWalkIterator<V>> getGraphWalkIterators(int numIterators)
Description copied from interface:GraphWalkIteratorProvider
Get a list of GraphWalkIterators. In general: may return less than the specified number of iterators, (for example, for small networks) but never more than it- Specified by:
getGraphWalkIterators
in interfaceGraphWalkIteratorProvider<V>
- Parameters:
numIterators
- Number of iterators to return
-
-