Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
3
votes
Counting simple 4-cycles in an undirected graph
The number of 4-cycles is
$$\frac{1}{2}\sum_{\lbrace v,w\rbrace} \binom{c(v,w)}{2},$$
where the sum is over the $\binom{V}{2}$ pairs of vertices and $c(v,w)$ is the number of common neighbours of $v$ and …
12
votes
Accepted
How many edge-disjoint cycles of length 3 are in the complete graph?
The maximum number of edge-disjoint triangles in a complete graph is determined by:
Joel Spencer.
Maximal consistent families of triples.
J. Combinatorial Theory, 5 1968 1–8.
2
votes
Need input on a potentially NP-hard maximal edge-weighted multi-cycle graph
For directed graphs, or undirected graphs where edges are treated as cycles of length 2 (so their weight counts twice), it is easy to do it in polynomial time using a maximum matching algorithm. …