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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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, double& ParamP, double& ParamQ, int& Dimensions,
12  int& WalkLen, int& NumWalks, int& WinSize, int& Iter, bool& Verbose,
13  TIntFltVH& EmbeddingsHV);
14 
16 void node2vec(PNGraph& InNet, double& ParamP, double& ParamQ, int& Dimensions,
17  int& WalkLen, int& NumWalks, int& WinSize, int& Iter, bool& Verbose,
18  TIntFltVH& EmbeddingsHV);
19 
21 void node2vec(PNEANet& InNet, double& ParamP, double& ParamQ, int& Dimensions,
22  int& WalkLen, int& NumWalks, int& WinSize, int& Iter, bool& Verbose,
23  TIntFltVH& EmbeddingsHV);
24 #endif //N2V_H
void node2vec(PWNet &InNet, double &ParamP, double &ParamQ, int &Dimensions, int &WalkLen, int &NumWalks, int &WinSize, int &Iter, bool &Verbose, 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: hash.h:97
Definition: bd.h:196