|
36 | 36 | // store them. |
37 | 37 | // |
38 | 38 | // Provided implementations: |
39 | | -// - ListGraph<> for the simplest api. Also aliased to util::Graph. |
| 39 | +// - ListGraph<> for the simplest api. |
40 | 40 | // - StaticGraph<> for performance, but requires building before usage, see |
41 | 41 | // below |
42 | 42 | // - CompleteGraph<> if you need a fully connected graph |
@@ -945,7 +945,7 @@ class ListGraph : public MutableGraph<ListGraph<NodeIndexType, ArcIndexType>, |
945 | 945 | // StaticGraphWithoutTail<>. This almost corresponds to a past implementation |
946 | 946 | // of StaticGraph<> @CL 116144340. |
947 | 947 | template <typename NodeIndexType = int32_t, typename ArcIndexType = int32_t> |
948 | | -class StaticGraph |
| 948 | +class StaticGraph final |
949 | 949 | : public MutableGraph<StaticGraph<NodeIndexType, ArcIndexType>, |
950 | 950 | NodeIndexType, ArcIndexType, false> { |
951 | 951 | typedef MutableGraph<StaticGraph<NodeIndexType, ArcIndexType>, NodeIndexType, |
@@ -1172,7 +1172,7 @@ class ReverseArcListGraph |
1172 | 1172 | // - The reverse arcs from a node are sorted by head (so we could add a log() |
1173 | 1173 | // time lookup function). |
1174 | 1174 | template <typename NodeIndexType = int32_t, typename ArcIndexType = int32_t> |
1175 | | -class ReverseArcStaticGraph |
| 1175 | +class ReverseArcStaticGraph final |
1176 | 1176 | : public MutableGraph<ReverseArcStaticGraph<NodeIndexType, ArcIndexType>, |
1177 | 1177 | NodeIndexType, ArcIndexType, true> { |
1178 | 1178 | static_assert(internal::IsSigned<ArcIndexType>(), |
|
0 commit comments