14
14
< a title ="CodableUnweightedGraph Class Reference "> </ a >
15
15
< header >
16
16
< div class ="content-wrapper ">
17
- < p > < a href ="../index.html "> SwiftGraph Docs</ a > (73 % documented)</ p >
17
+ < p > < a href ="../index.html "> SwiftGraph Docs</ a > (70 % documented)</ p >
18
18
< p class ="header-right "> < a href ="https://github.com/davecom/SwiftGraph "> < img src ="../img/gh.png "/> View on GitHub</ a > </ p >
19
19
</ div >
20
20
</ header >
47
47
< a href ="../Classes/UniqueElementsGraph.html "> UniqueElementsGraph</ a >
48
48
</ li >
49
49
< li class ="nav-group-task ">
50
- < a href ="../Classes/UnweightedEdge .html "> UnweightedEdge </ a >
50
+ < a href ="../Classes/UnweightedGraph .html "> UnweightedGraph </ a >
51
51
</ li >
52
52
< li class ="nav-group-task ">
53
- < a href ="../Classes/UnweightedGraph .html "> UnweightedGraph </ a >
53
+ < a href ="../Classes/WeightedGraph .html "> WeightedGraph </ a >
54
54
</ li >
55
+ </ ul >
56
+ </ li >
57
+ < li class ="nav-group-name ">
58
+ < a href ="../Enums.html "> Enumerations</ a >
59
+ < ul class ="nav-group-tasks ">
55
60
< li class ="nav-group-task ">
56
- < a href ="../Classes/WeightedEdge .html "> WeightedEdge </ a >
61
+ < a href ="../Enums/CompleteGraph .html "> CompleteGraph </ a >
57
62
</ li >
58
63
< li class ="nav-group-task ">
59
- < a href ="../Classes/WeightedGraph .html "> WeightedGraph </ a >
64
+ < a href ="../Enums/StarGraph .html "> StarGraph </ a >
60
65
</ li >
61
66
</ ul >
62
67
</ li >
63
68
< li class ="nav-group-name ">
64
69
< a href ="../Functions.html "> Functions</ a >
65
70
< ul class ="nav-group-tasks ">
66
71
< li class ="nav-group-task ">
67
- < a href ="../Functions.html#/s:10SwiftGraph25distanceArrayToVertexDict9distances5graphSDyxq_SgGSayAEG_AA08WeightedB0Cyxq_GtSHRzSLR_SeR_SER_SjR_r0_lF "> distanceArrayToVertexDict(distances:graph:)</ a >
72
+ < a href ="../Functions.html#/s:10SwiftGraph25distanceArrayToVertexDict9distances5graphSDyxq_SgGSayAEG_AA08WeightedB0Cyxq_GtSHRzSQR_r0_lF "> distanceArrayToVertexDict(distances:graph:)</ a >
68
73
</ li >
69
74
< li class ="nav-group-task ">
70
- < a href ="../Functions.html#/s:10SwiftGraph14pathDictToPath4from2to0cD0SayAA12WeightedEdgeCyxGGSi_SiSDySiAHGtSLRzSeRzSERzSjRzlF "> pathDictToPath(from:to:pathDict:)</ a >
75
+ < a href ="../Functions.html#/s:10SwiftGraph14pathDictToPath4from2to0cD0SayAA12WeightedEdgeVyxGGSi_SiSDySiAHGtSQRzlF "> pathDictToPath(from:to:pathDict:)</ a >
71
76
</ li >
72
77
< li class ="nav-group-task ">
73
78
< a href ="../Functions.html#/s:10SwiftGraph14pathDictToPath4from2to0cD0SayAA4Edge_pGSi_SiSDySiAaF_pGtF "> pathDictToPath(from:to:pathDict:)</ a >
74
79
</ li >
75
80
< li class ="nav-group-task ">
76
- < a href ="../Functions.html#/s:10SwiftGraph8printMST5edges5graphySayAA12WeightedEdgeCyq_GG_AA0gB0Cyxq_GtSQRzSLR_SeR_SER_SjR_r0_lF "> printMST(edges:graph:)</ a >
81
+ < a href ="../Functions.html#/s:10SwiftGraph8printMST5edges5graphySayAA12WeightedEdgeVyq_GG_AA0gB0Cyxq_GtSQRzSjR_r0_lF "> printMST(edges:graph:)</ a >
77
82
</ li >
78
83
< li class ="nav-group-task ">
79
- < a href ="../Functions.html#/s:10SwiftGraph11totalWeightyxSgSayAA12WeightedEdgeCyxGGSLRzSeRzSERzSjRzlF "> totalWeight(_:)</ a >
84
+ < a href ="../Functions.html#/s:10SwiftGraph11totalWeightyxSgSayAA12WeightedEdgeVyxGGSjRzlF "> totalWeight(_:)</ a >
80
85
</ li >
81
86
</ ul >
82
87
</ li >
89
94
< li class ="nav-group-task ">
90
95
< a href ="../Protocols/Graph.html "> Graph</ a >
91
96
</ li >
97
+ < li class ="nav-group-task ">
98
+ < a href ="../Protocols/WeightedEdgeProtocol.html "> WeightedEdgeProtocol</ a >
99
+ </ li >
92
100
</ ul >
93
101
</ li >
94
102
< li class ="nav-group-name ">
97
105
< li class ="nav-group-task ">
98
106
< a href ="../Structs/PriorityQueue.html "> PriorityQueue</ a >
99
107
</ li >
108
+ < li class ="nav-group-task ">
109
+ < a href ="../Structs/UnweightedEdge.html "> UnweightedEdge</ a >
110
+ </ li >
111
+ < li class ="nav-group-task ">
112
+ < a href ="../Structs/WeightedEdge.html "> WeightedEdge</ a >
113
+ </ li >
114
+ </ ul >
115
+ </ li >
116
+ < li class ="nav-group-name ">
117
+ < a href ="../Typealiases.html "> Type Aliases</ a >
118
+ < ul class ="nav-group-tasks ">
119
+ < li class ="nav-group-task ">
120
+ < a href ="../Typealiases.html#/s:10SwiftGraph024UnweightedUniqueElementsB0a "> UnweightedUniqueElementsGraph</ a >
121
+ </ li >
122
+ < li class ="nav-group-task ">
123
+ < a href ="../Typealiases.html#/s:10SwiftGraph022WeightedUniqueElementsB0a "> WeightedUniqueElementsGraph</ a >
124
+ </ li >
100
125
</ ul >
101
126
</ li >
102
127
</ ul >
@@ -142,7 +167,7 @@ <h4>Declaration</h4>
142
167
</ div >
143
168
</ div >
144
169
< div class ="slightly-smaller ">
145
- < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L116-L118 "> Show on GitHub</ a >
170
+ < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L137-L139 "> Show on GitHub</ a >
146
171
</ div >
147
172
</ section >
148
173
</ div >
@@ -167,12 +192,42 @@ <h4>Declaration</h4>
167
192
< h4 > Declaration</ h4 >
168
193
< div class ="language ">
169
194
< p class ="aside-title "> Swift</ p >
170
- < pre class ="highlight swift "> < code > < span class ="k "> override</ span > < span class ="kd "> public</ span > < span class ="nf "> init</ span > < span class ="p "> (</ span > < span class ="nv "> vertices</ span > < span class ="p "> :</ span > < span class ="p "> [</ span > < span class ="kt "> V</ span > < span class ="p "> ])</ span > </ code > </ pre >
195
+ < pre class ="highlight swift "> < code > < span class ="kd "> required</ span > < span class ="kd "> public</ span > < span class ="nf "> init</ span > < span class ="p "> (</ span > < span class ="nv "> vertices</ span > < span class ="p "> :</ span > < span class ="p "> [</ span > < span class ="kt "> V</ span > < span class ="p "> ])</ span > </ code > </ pre >
196
+
197
+ </ div >
198
+ </ div >
199
+ < div class ="slightly-smaller ">
200
+ < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L141-L143 "> Show on GitHub</ a >
201
+ </ div >
202
+ </ section >
203
+ </ div >
204
+ </ li >
205
+ < li class ="item ">
206
+ < div >
207
+ < code >
208
+ < a name ="/s:10SwiftGraph017CodableUnweightedB0C04fromB0ACyxGAA0dB0CyxG_tcfc "> </ a >
209
+ < a name ="//apple_ref/swift/Method/init(fromGraph:) " class ="dashAnchor "> </ a >
210
+ < a class ="token " href ="#/s:10SwiftGraph017CodableUnweightedB0C04fromB0ACyxGAA0dB0CyxG_tcfc "> init(fromGraph:)</ a >
211
+ </ code >
212
+ </ div >
213
+ < div class ="height-container ">
214
+ < div class ="pointer-container "> </ div >
215
+ < section class ="section ">
216
+ < div class ="pointer "> </ div >
217
+ < div class ="abstract ">
218
+ < p > Undocumented</ p >
219
+
220
+ </ div >
221
+ < div class ="declaration ">
222
+ < h4 > Declaration</ h4 >
223
+ < div class ="language ">
224
+ < p class ="aside-title "> Swift</ p >
225
+ < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="kd "> convenience</ span > < span class ="nf "> init</ span > < span class ="p "> (</ span > < span class ="n "> fromGraph</ span > < span class ="nv "> g</ span > < span class ="p "> :</ span > < span class ="kt "> < a href ="../Classes/UnweightedGraph.html "> UnweightedGraph</ a > </ span > < span class ="o "> <</ span > < span class ="kt "> V</ span > < span class ="o "> ></ span > < span class ="p "> )</ span > </ code > </ pre >
171
226
172
227
</ div >
173
228
</ div >
174
229
< div class ="slightly-smaller ">
175
- < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L120-L122 "> Show on GitHub</ a >
230
+ < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L145-L149 "> Show on GitHub</ a >
176
231
</ div >
177
232
</ section >
178
233
</ div >
@@ -201,7 +256,7 @@ <h4>Declaration</h4>
201
256
</ div >
202
257
</ div >
203
258
< div class ="slightly-smaller ">
204
- < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L124-L129 "> Show on GitHub</ a >
259
+ < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L151-L156 "> Show on GitHub</ a >
205
260
</ div >
206
261
</ section >
207
262
</ div >
@@ -230,7 +285,7 @@ <h4>Declaration</h4>
230
285
</ div >
231
286
</ div >
232
287
< div class ="slightly-smaller ">
233
- < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L131-L135 "> Show on GitHub</ a >
288
+ < a href ="https://github.com/davecom/SwiftGraph/tree/2.0.0/Sources/SwiftGraph/UnweightedGraph.swift#L158-L162 "> Show on GitHub</ a >
234
289
</ div >
235
290
</ section >
236
291
</ div >
@@ -240,7 +295,7 @@ <h4>Declaration</h4>
240
295
</ section >
241
296
</ section >
242
297
< section id ="footer ">
243
- < p > © 2018 < a class ="link " href ="https://twitter.com/davekopec " target ="_blank " rel ="external "> David</ a > . All rights reserved. (Last updated: 2018-10-19 )</ p >
298
+ < p > © 2019 < a class ="link " href ="https://twitter.com/davekopec " target ="_blank " rel ="external "> David</ a > . All rights reserved. (Last updated: 2019-03-08 )</ p >
244
299
< p > Generated by < a class ="link " href ="https://github.com/realm/jazzy " target ="_blank " rel ="external "> jazzy ♪♫ v0.9.3</ a > , a < a class ="link " href ="https://realm.io " target ="_blank " rel ="external "> Realm</ a > project.</ p >
245
300
</ section >
246
301
</ article >
0 commit comments