Closed rohitvarkey closed 7 years ago
They should agree.
On Nov 3, 2016, at 1:37 PM, Rohit Varkey Thankachan notifications@github.com wrote: @rohitvarkey commented on this pull request. In src/generators/kronecker.jl https://github.com/rohitvarkey/StingerWrapper.jl/pull/12: anorm = a/ab + for ib in 1:scale ii_bit = rand(1, m) .> ab jj_bit = rand(1, m) .> ( cnorm * ii_bit + anorm * !(ii_bit) ) ij = ij .+ 2^(ib-1) .* [ii_bit; jj_bit] end + p = randperm(n) ij = p[ij] + p = randperm(m) ij = ij[:, p] + return ij .- 1 #Convert to zero index for Stinger +end Should I count both outdegrees and indegrees or just the outdegrees? — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rohitvarkey/StingerWrapper.jl/pull/12, or mute the thread https://github.com/notifications/unsubscribe-auth/ACoFzkUBK3nZkhCWlF8g9ySqovZcx0uLks5q6hvEgaJpZM4KnkQY.
On Nov 3, 2016, at 1:37 PM, Rohit Varkey Thankachan notifications@github.com wrote:
@rohitvarkey commented on this pull request.
In src/generators/kronecker.jl https://github.com/rohitvarkey/StingerWrapper.jl/pull/12:
anorm = a/ab + for ib in 1:scale ii_bit = rand(1, m) .> ab jj_bit = rand(1, m) .> ( cnorm * ii_bit + anorm * !(ii_bit) ) ij = ij .+ 2^(ib-1) .* [ii_bit; jj_bit] end + p = randperm(n) ij = p[ij] + p = randperm(m) ij = ij[:, p] + return ij .- 1 #Convert to zero index for Stinger +end Should I count both outdegrees and indegrees or just the outdegrees?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rohitvarkey/StingerWrapper.jl/pull/12, or mute the thread https://github.com/notifications/unsubscribe-auth/ACoFzkUBK3nZkhCWlF8g9ySqovZcx0uLks5q6hvEgaJpZM4KnkQY.
They should agree.