question: public static MultiSegmentPowerLawBipartiteGraph buildRandomMultiSegmentBipartiteGraph ( int maxNumSegments , int maxNumEdgesPerSegment , int leftSize , int rightSize , double edgeProbability , Random random ) { MultiSegmentPowerLawBipartiteGraph multiSegmentPowerLawBipartiteGraph = new MultiSegmentPowerLawBipartiteGraph ( maxNumSegments , maxNumEdgesPerSegment , leftSize / 2 , ( int ) ( rightSize * edgeProbability / 2 ) , 2.0 , rightSize / 2 , ( int ) ( leftSize * edgeProbability / 2 ) , 2.0 , new IdentityEdgeTypeMask ( ) , new NullStatsReceiver ( ) ) ; for ( int i = 0 ; i < leftSize ; i ++ ) { for ( int j = 0 ; j < rightSize ; j ++ ) { if ( random . nextDouble ( ) < edgeProbability ) { multiSegmentPowerLawBipartiteGraph . addEdge ( i , j , ( byte ) 0 ) ; } } } return multiSegmentPowerLawBipartiteGraph ; }
target:  Build a random left-regular bipartite graph of given left and right sizes.