// Path: src/main/java/org/neo4j/neode/probabilities/ProbabilityDistribution.java
// public static ProbabilityDistribution flatDistribution()
// {
//     return new FlatProbabilityDistributionUnique();
// }


import java.util.List;
import static org.neo4j.neode.probabilities.ProbabilityDistribution.flatDistribution;
package org.neo4j.neode;



class RandomTargetNodesStrategy extends ChoiceOfTargetNodesStrategy
{
    protected RandomTargetNodesStrategy( List<TargetNodesStrategy>
                                                 targetNodeseStrategies )
    {
        super( targetNodeseStrategies );
    }

    @Override
    protected Commands doCreateCommandSelector( List<BatchCommand<NodeCollection>> commands )
    {
// Path: src/main/java/org/neo4j/neode/probabilities/ProbabilityDistribution.java
// public static ProbabilityDistribution flatDistribution()
// {
//     return new FlatProbabilityDistributionUnique();
// }


// Path: src/main/java/org/neo4j/neode/RandomTargetNodesStrategy.java
import java.util.List;
import static org.neo4j.neode.probabilities.ProbabilityDistribution.flatDistribution;

package org.neo4j.neode;



class RandomTargetNodesStrategy extends ChoiceOfTargetNodesStrategy
{
    protected RandomTargetNodesStrategy( List<TargetNodesStrategy>
                                                 targetNodeseStrategies )
    {
        super( targetNodeseStrategies );
    }

    @Override
    protected Commands doCreateCommandSelector( List<BatchCommand<NodeCollection>> commands )
    {
        return new Commands( commands, new RandomCommandSelectionStrategy( flatDistribution() ) );