SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <temporalmotifs.h>
Public Member Functions | |
ThreeTEdgeStarCounter (int max_nodes) | |
int | PreCount (int dir1, int dir2, int dir3) |
int | PosCount (int dir1, int dir2, int dir3) |
int | MidCount (int dir1, int dir2, int dir3) |
Public Member Functions inherited from StarTriad3TEdgeCounter< StarEdgeData > | |
StarTriad3TEdgeCounter () | |
void | Count (const TVec< StarEdgeData > &events, const TIntV ×tamps, double delta) |
Protected Member Functions | |
void | InitializeCounters () |
void | PopPre (const StarEdgeData &event) |
void | PopPos (const StarEdgeData &event) |
void | PushPre (const StarEdgeData &event) |
void | PushPos (const StarEdgeData &event) |
void | ProcessCurrent (const StarEdgeData &event) |
Private Attributes | |
int | max_nodes_ |
Counter2D | pre_sum_ |
Counter2D | pos_sum_ |
Counter2D | mid_sum_ |
Counter3D | pre_counts_ |
Counter3D | pos_counts_ |
Counter3D | mid_counts_ |
Counter2D | pre_nodes_ |
Counter2D | pos_nodes_ |
Definition at line 235 of file temporalmotifs.h.
|
inline |
Definition at line 240 of file temporalmotifs.h.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 633 of file temporalmotifs.cpp.
References max_nodes_, mid_counts_, mid_sum_, pos_counts_, pos_nodes_, pos_sum_, pre_counts_, pre_nodes_, and pre_sum_.
|
inline |
Definition at line 245 of file temporalmotifs.h.
References mid_counts_.
Referenced by TempMotifCounter::Count3TEdge3NodeStars().
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 651 of file temporalmotifs.cpp.
References pos_nodes_, and pos_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 644 of file temporalmotifs.cpp.
References pre_nodes_, and pre_sum_.
|
inline |
Definition at line 244 of file temporalmotifs.h.
References pos_counts_.
Referenced by TempMotifCounter::Count3TEdge3NodeStars().
|
inline |
Definition at line 243 of file temporalmotifs.h.
References pre_counts_.
Referenced by TempMotifCounter::Count3TEdge3NodeStars().
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 672 of file temporalmotifs.cpp.
References mid_counts_, mid_sum_, pos_counts_, pos_nodes_, pos_sum_, pre_counts_, pre_nodes_, and pre_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 665 of file temporalmotifs.cpp.
References pos_nodes_, and pos_sum_.
|
protectedvirtual |
Implements StarTriad3TEdgeCounter< StarEdgeData >.
Definition at line 658 of file temporalmotifs.cpp.
References pre_nodes_, and pre_sum_.
|
private |
Definition at line 256 of file temporalmotifs.h.
Referenced by InitializeCounters().
|
private |
Definition at line 262 of file temporalmotifs.h.
Referenced by InitializeCounters(), MidCount(), and ProcessCurrent().
|
private |
Definition at line 259 of file temporalmotifs.h.
Referenced by InitializeCounters(), and ProcessCurrent().
|
private |
Definition at line 261 of file temporalmotifs.h.
Referenced by InitializeCounters(), PosCount(), and ProcessCurrent().
|
private |
Definition at line 264 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPos(), ProcessCurrent(), and PushPos().
|
private |
Definition at line 258 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPos(), ProcessCurrent(), and PushPos().
|
private |
Definition at line 260 of file temporalmotifs.h.
Referenced by InitializeCounters(), PreCount(), and ProcessCurrent().
|
private |
Definition at line 263 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPre(), ProcessCurrent(), and PushPre().
|
private |
Definition at line 257 of file temporalmotifs.h.
Referenced by InitializeCounters(), PopPre(), ProcessCurrent(), and PushPre().