Bit Manipulations
GraphIdx.Bits
— Module.Some bit manipulation routines.
GraphIdx.Bits.hyperfloor
— Method.hyperfloor(x)
Heighest power of 2 that is smaller than x
.
Example
julia> bitstring(UInt8(123))
"01111011"
julia> bitstring(UInt8(GraphIdx.Bits.hyperfloor(123)))
"01000000"
GraphIdx.Io
— Module.Input/output
GraphIdx.Io.Dimacs
— Module.Read/write DIMACS files
GraphIdx.Io.Dimacs.bin2asc
— Function.bin2asc(fname, out::IO)
Transform from binary into asci representation.
GraphIdx.Io.Dimacs.read_dimacs_bin
— Method.readdimacsbin(proc, fname)
Read the binary file located at fname
and call proc(u::Int, v::Int)
on every edge (u, v)
of the graph.