ModErn Text Analysis
META Enumerates Textual Applications
default_edge.h
Go to the documentation of this file.
1 
10 #ifndef META_DEFAULT_EDGE_H_
11 #define META_DEFAULT_EDGE_H_
12 
13 namespace meta
14 {
15 namespace graph
16 {
18 {
23  {
24  }
25 
29  default_edge(double w) : weight{w}
30  {
31  }
32 
34  double weight;
35  node_id src;
36  node_id dest;
37 };
38 }
39 }
40 
41 #endif
double weight
the weight for this edge
Definition: default_edge.h:34
node_id dest
This field must exist in all edge objects.
Definition: default_edge.h:36
default_edge(double w)
Definition: default_edge.h:29
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
Definition: default_edge.h:17
default_edge()
Creates an edge with weight 0.
Definition: default_edge.h:22