def _graphlet_index(adj_mat, graphlet_array):
    for i, g in enumerate(graphlet_array):
        if _compare_graphlets(adj_mat, g):
            return i
    return -1
Return index to increment.
dataset/ETHPy150Open gmum/pykernels/pykernels/graph/allgraphlets.py/_graphlet_index