SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <temporalmotifs.h>
Public Member Functions | |
ThreeTEdgeTriadCounter (int max_nodes, int node_u, int node_v) | |
int | Counts (int dir1, int dir2, int dir3) |
Public Member Functions inherited from StarTriad3TEdgeCounter< TriadEdgeData > | |
StarTriad3TEdgeCounter () | |
void | Count (const TVec< TriadEdgeData > &events, const TIntV ×tamps, double delta) |
Protected Member Functions | |
void | InitializeCounters () |
void | PopPre (const TriadEdgeData &event) |
void | PopPos (const TriadEdgeData &event) |
void | PushPre (const TriadEdgeData &event) |
void | PushPos (const TriadEdgeData &event) |
void | ProcessCurrent (const TriadEdgeData &event) |
bool | IsEdgeNode (int nbr) |
Private Attributes | |
int | max_nodes_ |
Counter3D | pre_sum_ |
Counter3D | pos_sum_ |
Counter3D | mid_sum_ |
Counter3D | triad_counts_ |
Counter3D | pre_nodes_ |
Counter3D | pos_nodes_ |
int | node_u_ |
int | node_v_ |
Definition at line 269 of file temporalmotifs.h.
|
inline |
Definition at line 275 of file temporalmotifs.h.
|
inline |
Definition at line 279 of file temporalmotifs.h.
References triad_counts_.
Referenced by TempMotifCounter::Count3TEdgeTriads().
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 693 of file temporalmotifs.cpp.
References max_nodes_, mid_sum_, pos_nodes_, pos_sum_, pre_nodes_, pre_sum_, and triad_counts_.
|
inlineprotected |
Definition at line 288 of file temporalmotifs.h.
References node_u_, and node_v_.
Referenced by PopPos(), PopPre(), ProcessCurrent(), PushPos(), and PushPre().
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 714 of file temporalmotifs.cpp.
References IsEdgeNode(), pos_nodes_, and pos_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 702 of file temporalmotifs.cpp.
References IsEdgeNode(), pre_nodes_, and pre_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 750 of file temporalmotifs.cpp.
References IsEdgeNode(), mid_sum_, node_u_, node_v_, pos_nodes_, pos_sum_, pre_nodes_, pre_sum_, and triad_counts_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 738 of file temporalmotifs.cpp.
References IsEdgeNode(), pos_nodes_, and pos_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< TriadEdgeData >.
Definition at line 726 of file temporalmotifs.cpp.
References IsEdgeNode(), pre_nodes_, and pre_sum_.
|
private |
Definition at line 291 of file temporalmotifs.h.
Referenced by InitializeCounters().
|
private |
Definition at line 294 of file temporalmotifs.h.
Referenced by InitializeCounters(), and ProcessCurrent().
|
private |
Definition at line 299 of file temporalmotifs.h.
Referenced by IsEdgeNode(), and ProcessCurrent().
|
private |
Definition at line 300 of file temporalmotifs.h.
Referenced by IsEdgeNode(), and ProcessCurrent().
|
private |
Definition at line 297 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPos(), ProcessCurrent(), and PushPos().
|
private |
Definition at line 293 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPos(), ProcessCurrent(), and PushPos().
|
private |
Definition at line 296 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPre(), ProcessCurrent(), and PushPre().
|
private |
Definition at line 292 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPre(), ProcessCurrent(), and PushPre().
|
private |
Definition at line 295 of file temporalmotifs.h.
Referenced by Counts(), InitializeCounters(), and ProcessCurrent().