|
30 | 30 | # Outer constructor that performs checks. Should be the last constructor called before instantiation. |
31 | 31 |
|
32 | 32 | """ |
33 | | -Interlayer( |
| 33 | + _Interlayer( |
34 | 34 |
|
35 | | - layer_1_multilayervertices::Vector{MultilayerVertex}, |
36 | | - layer_2_multilayervertices::Vector{MultilayerVertex}, |
| 35 | + layer_1_multilayervertices::Vector{MultilayerVertex}, |
| 36 | + layer_2_multilayervertices::Vector{MultilayerVertex}, |
37 | 37 |
|
38 | | - edge_list::Vector{ <: MultilayerEdge{<: Union{Nothing, U}}}, |
39 | | - graph::G, |
40 | | - v_V_associations::Bijection{T, <: MultilayerVertex}, |
41 | | - descriptor::InterlayerDescriptor{T,U,G} |
42 | | - ; |
43 | | - check_consistency = true |
44 | | - ) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} |
| 38 | + edge_list::Vector{ <: MultilayerEdge{<: Union{Nothing, U}}}, |
| 39 | + graph::G, |
| 40 | + v_V_associations::Bijection{T, <: MultilayerVertex}, |
| 41 | + descriptor::InterlayerDescriptor{T,U,G} |
| 42 | + ; |
| 43 | + check_consistency = true |
| 44 | + ) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} |
45 | 45 |
|
46 | 46 | Internal constructor. |
47 | 47 | """ |
|
73 | 73 |
|
74 | 74 | # Old inner constructor that has been removed in favor of the current inner constructor since not all graph packages implement == for the concrete graphs they define |
75 | 75 | """ |
76 | | -_Interlayer( |
77 | | - layer_1_multilayervertices::Vector{<: MultilayerVertex}, |
78 | | - layer_2_multilayervertices::Vector{<: MultilayerVertex}, |
79 | | - edge_list::Vector{ <: MultilayerEdge}, # MultilayerVertex, {<: Union{U, Nothing}} |
80 | | - descriptor::InterlayerDescriptor{T,U,G} |
81 | | - |
82 | | -) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} |
| 76 | + _Interlayer( |
| 77 | + layer_1_multilayervertices::Vector{<: MultilayerVertex}, |
| 78 | + layer_2_multilayervertices::Vector{<: MultilayerVertex}, |
| 79 | + edge_list::Vector{ <: MultilayerEdge}, # MultilayerVertex, {<: Union{U, Nothing}} |
| 80 | + descriptor::InterlayerDescriptor{T,U,G} |
| 81 | + |
| 82 | + ) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} |
83 | 83 |
|
84 | 84 | Internal constructor used with InterlayerDescriptor |
85 | 85 | """ |
|
0 commit comments