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 <kronecker.h>
Public Member Functions | |
TKronNoise () | |
Static Public Member Functions | |
static int | RemoveNodeNoise (PNGraph &Graph, const int &NNodes, const bool Random=true) |
!!!!! MYUNGHWAN, CHECK! More... | |
static int | RemoveNodeNoise (PNGraph &Graph, const double &Rate, const bool Random=true) |
static int | FlipEdgeNoise (PNGraph &Graph, const int &NEdges, const bool Random=true) |
static int | FlipEdgeNoise (PNGraph &Graph, const double &Rate, const bool Random=true) |
static int | RemoveEdgeNoise (PNGraph &Graph, const int &NEdges) |
static int | RemoveEdgeNoise (PNGraph &Graph, const double &Rate) |
Definition at line 251 of file kronecker.h.
|
inline |
Definition at line 253 of file kronecker.h.
|
static |
Definition at line 2229 of file kronecker.cpp.
References TVec< TVal, TSizeTy >::Add(), TNGraph::AddEdge(), TNGraph::BegEI(), TNGraph::DelEdge(), TNGraph::EndEI(), TVec< TVal, TSizeTy >::Gen(), TNGraph::GetEdges(), TNGraph::GetNIdV(), TNGraph::GetNodes(), TRnd::GetUniDevInt(), IAssert, TNGraph::IsEdge(), and TVec< TVal, TSizeTy >::Shuffle().
Referenced by FlipEdgeNoise().
|
static |
Definition at line 2263 of file kronecker.cpp.
References FlipEdgeNoise(), TNGraph::GetEdges(), and IAssert.
|
static |
Definition at line 2268 of file kronecker.cpp.
References TVec< TVal, TSizeTy >::Add(), TNGraph::BegEI(), TNGraph::DelEdge(), TNGraph::EndEI(), TVec< TVal, TSizeTy >::Gen(), TNGraph::GetEdges(), IAssert, and TVec< TVal, TSizeTy >::Shuffle().
Referenced by RemoveEdgeNoise().
|
static |
Definition at line 2288 of file kronecker.cpp.
References TNGraph::GetEdges(), IAssert, and RemoveEdgeNoise().
|
static |
!!!!! MYUNGHWAN, CHECK!
Definition at line 2204 of file kronecker.cpp.
References TNGraph::DelNode(), TNGraph::GetNIdV(), TNGraph::GetNodes(), IAssert, TVec< TVal, TSizeTy >::Len(), and TVec< TVal, TSizeTy >::Shuffle().
Referenced by RemoveNodeNoise().
|
static |
Definition at line 2224 of file kronecker.cpp.
References TNGraph::GetNodes(), IAssert, and RemoveNodeNoise().