ModErn Text Analysis
META Enumerates Textual Applications
model.h
Go to the documentation of this file.
1 
10 #ifndef META_GRAPH_ALGORITHMS_MODEL_H_
11 #define META_GRAPH_ALGORITHMS_MODEL_H_
12 
13 #include "graph/undirected_graph.h"
14 #include "graph/directed_graph.h"
15 
16 namespace meta
17 {
18 namespace graph
19 {
20 namespace algorithms
21 {
27 template <class Graph>
28 void random_graph(Graph& g, uint64_t num_nodes, uint64_t num_edges);
29 
36 template <class Graph>
37 void watts_strogatz(Graph& g, uint64_t num_nodes, uint64_t num_neighbors,
38  uint64_t num_random_edges);
39 
50 template <class Graph>
51 void preferential_attachment(Graph& g, uint64_t num_nodes, uint64_t node_edges,
52  std::function<double(node_id)> attr = [](node_id) { return 1.0; });
53 }
54 }
55 }
56 
58 
59 #endif
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition: analyzer.h:24