Skip to content

Commit a333e2a

Browse files
InterdisciplinaryPhysicsTeampitmonticoneClaudMor
committed
Update interlayer.jl
Co-Authored-By: Pietro Monticone <[email protected]> Co-Authored-By: Claudio Moroni <[email protected]>
1 parent 62aec6c commit a333e2a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/subgraphs/interlayer.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,15 @@ multiplex_interlayer(
320320
) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} = _multiplex_interlayer(collect(mv_vertices(layer_1)), collect(mv_vertices(layer_2)), null_graph, U; default_edge_weight = default_edge_weight, default_edge_metadata = default_edge_metadata, transfer_vertex_metadata = transfer_vertex_metadata , name = name)
321321

322322
"""
323-
multiplex_interlayer(nv::Int64, name::Symbol,layer_1::Symbol, layer_2::Symbol, graph_type::Type{G}; forbidden_vertices::Vector{MultilayerVertex}, forbidden_edges::Vector{NTuple{2, MultilayerVertex}}) where {T <: Union{ <: Integer, AbstractVertex}, G <: AbstractGraph{T}; !IsDirected{G}}
323+
multiplex_interlayer(
324+
nv::Int64,
325+
name::Symbol,
326+
layer_1::Symbol,
327+
layer_2::Symbol,
328+
graph_type::Type{G};
329+
forbidden_vertices::Vector{MultilayerVertex},
330+
forbidden_edges::Vector{NTuple{2, MultilayerVertex}}
331+
) where {T <: Union{ <: Integer, AbstractVertex}, G <: AbstractGraph{T}
324332
325333
Internal method for multiplex_interlayer
326334
"""

0 commit comments

Comments
 (0)