Skip to content

Commit 60fc1ae

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/subgraphs/interlayer.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,13 @@ return _Interlayer(
292292
end
293293

294294
"""
295-
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}}
295+
multiplex_interlayer(nv::Int64,
296+
name::Symbol,
297+
layer_1::Symbol,
298+
layer_2::Symbol,
299+
graph_type::Type{G};
300+
forbidden_vertices::Vector{MultilayerVertex}, forbidden_edges::Vector{NTuple{2, MultilayerVertex}}
301+
) where {T <: Union{ <: Integer, AbstractVertex}, G <: AbstractGraph{T}; !IsDirected{G}}
296302
297303
Return an `Interlayer{T,U,G}` that has edges only between vertices that represent the same node.
298304

0 commit comments

Comments
 (0)