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
n2v.h
Go to the documentation of this file.
1 #ifndef N2V_H
2 #define N2V_H
3 
4 #include "stdafx.h"
5 
6 #include "Snap.h"
7 #include "biasedrandomwalk.h"
8 #include "word2vec.h"
9 
11 void node2vec(PWNet& InNet, const double& ParamP, const double& ParamQ,
12  const int& Dimensions, const int& WalkLen, const int& NumWalks,
13  const int& WinSize, const int& Iter, const bool& Verbose,
14  const bool& OutputWalks, TVVec<TInt, int64>& WalksVV,
15  TIntFltVH& EmbeddingsHV);
16 
18 void node2vec(PWNet& InNet, const double& ParamP, const double& ParamQ,
19  const int& Dimensions, const int& WalkLen, const int& NumWalks,
20  const int& WinSize, const int& Iter, const bool& Verbose,
21  TIntFltVH& EmbeddingsHV);
22 
24 void node2vec(const PNGraph& InNet, const double& ParamP, const double& ParamQ,
25  const int& Dimensions, const int& WalkLen, const int& NumWalks,
26  const int& WinSize, const int& Iter, const bool& Verbose,
27  const bool& OutputWalks, TVVec<TInt, int64>& WalksVV,
28  TIntFltVH& EmbeddingsHV);
29 
31 void node2vec(const PNGraph& InNet, const double& ParamP, const double& ParamQ,
32  const int& Dimensions, const int& WalkLen, const int& NumWalks,
33  const int& WinSize, const int& Iter, const bool& Verbose,
34  TIntFltVH& EmbeddingsHV);
35 
37 void node2vec(const PNEANet& InNet, const double& ParamP, const double& ParamQ,
38  const int& Dimensions, const int& WalkLen, const int& NumWalks,
39  const int& WinSize, const int& Iter, const bool& Verbose,
40  const bool& OutputWalks, TVVec<TInt, int64>& WalksVV,
41  TIntFltVH& EmbeddingsHV);
42 
44 void node2vec(const PNEANet& InNet, const double& ParamP, const double& ParamQ,
45  const int& Dimensions, const int& WalkLen, const int& NumWalks,
46  const int& WinSize, const int& Iter, const bool& Verbose,
47  TIntFltVH& EmbeddingsHV);
48 #endif //N2V_H
void node2vec(PWNet &InNet, const double &ParamP, const double &ParamQ, const int &Dimensions, const int &WalkLen, const int &NumWalks, const int &WinSize, const int &Iter, const bool &Verbose, const bool &OutputWalks, TVVec< TInt, int64 > &WalksVV, TIntFltVH &EmbeddingsHV)
Calculates node2vec feature representation for nodes and writes them into EmbeddinsHV, see http://arxiv.org/pdf/1607.00653v1.pdf.
Definition: n2v.cpp:4
Definition: ds.h:2223
Definition: hash.h:97
Definition: bd.h:196