Commit dcd949dd authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FEAT][MAXCLIQ] adding type.

parent fff52842
Pipeline #603 canceled with stage
......@@ -66,6 +66,7 @@ type Neighbor = Node
maxCliques :: Graph -> [[Node]]
maxCliques g = map (\n -> subMaxCliques g (n:ns)) ns & concat & takeMax
where
ns :: [Node]
ns = sortOn (degree g) $ nodes g
subMaxCliques :: Graph -> [Node] -> [[Node]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment