Skip to content

Commit 3824e35

Browse files
Merge pull request #10999 from AlfredClemedtson/clique-counting-docs
Clique counting documentation
2 parents ba9d86c + 1deb6df commit 3824e35

File tree

12 files changed

+452
-15
lines changed

12 files changed

+452
-15
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright (c) "Neo4j"
3+
* Neo4j Sweden AB [http://neo4j.com]
4+
*
5+
* This file is part of Neo4j.
6+
*
7+
* Neo4j is free software: you can redistribute it and/or modify
8+
* it under the terms of the GNU General Public License as published by
9+
* the Free Software Foundation, either version 3 of the License, or
10+
* (at your option) any later version.
11+
*
12+
* This program is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
* GNU General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU General Public License
18+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
*/
20+
package org.neo4j.gds.doc;
21+
22+
import org.neo4j.gds.cliquecounting.CliqueCountingMutateProc;
23+
import org.neo4j.gds.cliquecounting.CliqueCountingStatsProc;
24+
import org.neo4j.gds.cliquecounting.CliqueCountingStreamProc;
25+
import org.neo4j.gds.cliquecounting.CliqueCountingWriteProc;
26+
import org.neo4j.gds.functions.AsNodeFunc;
27+
28+
import java.util.List;
29+
30+
class CliqueCountingDocTest extends SingleFileDocTestBase {
31+
32+
@Override
33+
protected List<Class<?>> functions() {
34+
return List.of(AsNodeFunc.class);
35+
}
36+
37+
@Override
38+
protected List<Class<?>> procedures() {
39+
return List.of(
40+
CliqueCountingStreamProc.class,
41+
CliqueCountingWriteProc.class,
42+
CliqueCountingMutateProc.class,
43+
CliqueCountingStatsProc.class
44+
);
45+
}
46+
47+
@Override
48+
protected String adocFile() {
49+
return "pages/algorithms/clique-counting.adoc";
50+
}
51+
52+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) "Neo4j"
3+
* Neo4j Sweden AB [http://neo4j.com]
4+
*
5+
* This file is part of Neo4j.
6+
*
7+
* Neo4j is free software: you can redistribute it and/or modify
8+
* it under the terms of the GNU General Public License as published by
9+
* the Free Software Foundation, either version 3 of the License, or
10+
* (at your option) any later version.
11+
*
12+
* This program is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
* GNU General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU General Public License
18+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
*/
20+
package org.neo4j.gds.doc.syntax;
21+
22+
class CliqueCountingSyntaxTest extends SyntaxTestBase {
23+
24+
@Override
25+
protected String adocFile() {
26+
return "pages/algorithms/clique-counting.adoc";
27+
}
28+
}

doc/modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
*** xref:algorithms/harmonic-centrality.adoc[]
6969
*** xref:algorithms/hits.adoc[]
7070
** xref:algorithms/community.adoc[]
71+
*** xref:algorithms/clique-counting.adoc[]
7172
*** xref:algorithms/conductance.adoc[]
7273
*** xref:algorithms/hdbscan.adoc[]
7374
*** xref:algorithms/k-core.adoc[]
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)