Skip to content

Commit 49c0cf7

Browse files
committed
fix docs
1 parent d2d7594 commit 49c0cf7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/mir/graph/utility.d

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright: Copyright © 2018-, Kaleidic Associates Advisory Limited
44
Authors: Ilya Yaroshenko
55
66
Macros:
7-
SUBREF = $(REF_ALTTEXT $(TT $2), $2, mir, ndslice, $1)$(NBSP)
7+
SUBREF = $(REF_ALTTEXT $(TT $2), $2, mir, graph, $1)$(NBSP)
88
T2=$(TR $(TDNW $(LREF $1)) $(TD $+))
99
+/
1010

@@ -24,9 +24,13 @@ alias Graph(I) = Slice!(Contiguous, [1], GraphIterator!I);
2424
alias GraphSeries(T, I) = Series!(T*, Contiguous, [1], GraphIterator!I);
2525

2626
/++
27+
Param:
28+
aaGraph = graph that is represented as associative array
29+
Returns:
30+
A graph series composed of keys (`.index``) and arrays of indeces (`.d`)
2731
Complexity: `O(log(V) (V + E))`
2832
+/
29-
GraphSeries!(T, uint) graphSeries(T)(in T[][T] aaGraph)
33+
GraphSeries!(T, uint) graphSeries(T, Range)(in Range[T] aaGraph)
3034
{
3135
import std.array: array;
3236
auto keys = aaGraph.byKey.array.sliced;

0 commit comments

Comments
 (0)