atlasMatching method
Returns an iterable over all the graphs in the atlas with the provided
vertexCount (from 0 to 7) and edgeCount (from 0 to 21), see
atlas for details.
Implementation
Iterable<Graph<V, E>> atlasMatching({
int? vertexCount,
int? edgeCount,
}) sync* {
for (var i = 0; i < _atlas.length; i++) {
final encoded = _atlas[i];
if ((vertexCount == null || vertexCount == encoded[0]) &&
(edgeCount == null || edgeCount == encoded[1])) {
yield atlas(i);
}
}
}