Flex
0.17.9
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
q
r
u
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Typedefs
a
c
d
e
g
i
k
l
m
n
s
t
v
Enumerations
Related Functions
Files
File List
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
flex
engines
graph_db
app
builtin
pagerank.h
Go to the documentation of this file.
1
16
#ifndef ENGINES_GRAPH_DB_APP_BUILDIN_PAGERANK_H_
17
#define ENGINES_GRAPH_DB_APP_BUILDIN_PAGERANK_H_
18
#include "
flex/engines/graph_db/database/graph_db_session.h
"
19
#include "flex/engines/hqps_db/app/interactive_app_base.h"
20
21
namespace
gs
{
22
class
PageRank
23
:
public
CypherReadAppBase<std::string, std::string, double, int, double> {
24
public
:
25
PageRank
() {}
26
results::CollectiveResults
Query
(
const
GraphDBSession
& sess,
27
std::string vertex_label,
28
std::string edge_label,
29
double
damping_factor,
int
max_iterations,
30
double
epsilon);
31
};
32
33
class
PageRankFactory
:
public
AppFactoryBase
{
34
public
:
35
PageRankFactory
() =
default
;
36
~PageRankFactory
() =
default
;
37
38
AppWrapper
CreateApp
(
const
GraphDB
& db)
override
;
39
};
40
41
}
// namespace gs
42
43
#endif
gs::PageRankFactory::CreateApp
AppWrapper CreateApp(const GraphDB &db) override
Definition:
pagerank.cc:138
gs::PageRank::Query
results::CollectiveResults Query(const GraphDBSession &sess, std::string vertex_label, std::string edge_label, double damping_factor, int max_iterations, double epsilon)
Definition:
pagerank.cc:19
graph_db_session.h
gs::PageRank
Definition:
pagerank.h:22
gs
Definition:
adj_list.h:23
gs::PageRankFactory::~PageRankFactory
~PageRankFactory()=default
gs::GraphDBSession
Definition:
graph_db_session.h:36
gs::GraphDB
Definition:
graph_db.h:70
gs::PageRank::PageRank
PageRank()
Definition:
pagerank.h:25
gs::PageRankFactory::PageRankFactory
PageRankFactory()=default
gs::AppWrapper
Definition:
app_base.h:78
gs::PageRankFactory
Definition:
pagerank.h:33
gs::AppFactoryBase
Definition:
app_base.h:115
Generated by
1.8.17