Provide a weight transformation function in TwoSectionView constructor.
struct TwoSectionView{T<:Real} <: AbstractGraph{Int}
h::Hypergraph{T}
f::Function
end
We need to discuss/check
- what is the default function to calculate weights
- should the view behave like weighted/unweighted graph depending on the function
- provide documentation on how to materialize the view (for some scenarios constantly pulling the view for the data and calling the function each time will be very inefficient)