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
|
Go to the source code of this file.
Functions | |
float | JaccardSim (TNGraph::TNodeI NI1, TNGraph::TNodeI NI2) |
void | MergeNbrs (TIntV *NeighbourV, TIntV *list1, TNGraph::TNodeI NI2) |
PNGraph | GetBiGraph (PTable P, int index_col_1, int index_col_2) |
PNEANet | KNNJaccardParallel (PNGraph Graph, int K) |
PNEANet | KNNJaccard (PNGraph Graph, int K) |
float JaccardSim | ( | TNGraph::TNodeI | NI1, |
TNGraph::TNodeI | NI2 | ||
) |
Definition at line 2 of file sim.cpp.
References TNGraph::TNodeI::GetOutDeg(), and TNGraph::TNodeI::GetOutNId().
Referenced by KNNJaccard(), and KNNJaccardParallel().
Definition at line 183 of file sim.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), TNGraph::TNodeI::GetId(), TNGraph::TNodeI::GetInDeg(), TNGraph::TNodeI::GetOutDeg(), TNGraph::TNodeI::GetOutNId(), JaccardSim(), TVec< TVal, TSizeTy >::Len(), MergeNbrs(), TNEANet::New(), and TVec< TVal, TSizeTy >::SetVal().
Definition at line 80 of file sim.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), TNGraph::TNodeI::GetInDeg(), TNGraph::TNodeI::GetOutDeg(), TNGraph::TNodeI::GetOutNId(), JaccardSim(), TVec< TVal, TSizeTy >::Len(), MergeNbrs(), TNEANet::New(), and TVec< TVal, TSizeTy >::SetVal().
void MergeNbrs | ( | TIntV * | NeighbourV, |
TIntV * | list1, | ||
TNGraph::TNodeI | NI2 | ||
) |
Definition at line 21 of file sim.cpp.
References TVec< TVal, TSizeTy >::Add(), TNGraph::TNodeI::GetInDeg(), TNGraph::TNodeI::GetInNId(), and TVec< TVal, TSizeTy >::Len().
Referenced by KNNJaccard(), and KNNJaccardParallel().