|
template<class PGraph > |
PGraph | TSnap::LoadEdgeList (const TStr &InFNm, const int &SrcColId=0, const int &DstColId=1) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 edge per line (whitespace separated columns, integer node ids). More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadEdgeList (const TStr &InFNm, const int &SrcColId, const int &DstColId, const char &Separator) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 edge per line ('Separator' separated columns, integer node ids). More...
|
|
PNEANet | TSnap::LoadEdgeListNet (const TStr &InFNm, const char &Separator) |
| Loads a network from the text file InFNm with 1 node/edge per line ('Separator' separated columns, integer node id(s) + node/edge attributes). More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadEdgeListStr (const TStr &InFNm, const int &SrcColId=0, const int &DstColId=1) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 edge per line (whitespace separated columns, arbitrary string node ids). More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadEdgeListStr (const TStr &InFNm, const int &SrcColId, const int &DstColId, TStrHash< TInt > &StrToNIdH) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 edge per line (whitespace separated columns, arbitrary string node ids). More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadConnList (const TStr &InFNm) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 node and all its edges in a single line. More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadConnListStr (const TStr &InFNm, TStrHash< TInt > &StrToNIdH) |
| Loads a (directed, undirected or multi) graph from a text file InFNm with 1 node and all its edges in a single line. More...
|
|
template<class PGraph > |
PGraph | TSnap::LoadPajek (const TStr &InFNm) |
| Loads a (directed, undirected or multi) graph from Pajek .PAJ format file. More...
|
|
PNGraph | TSnap::LoadDyNet (const TStr &FNm) |
| For more info see ORA Network Analysis Data (http://www.casos.cs.cmu.edu/computational_tools/data2.php) More...
|
|
TVec< PNGraph > | TSnap::LoadDyNetGraphV (const TStr &FNm) |
| For more info see ORA Network Analysis Data (http://www.casos.cs.cmu.edu/computational_tools/data2.php) More...
|
|
template<class PGraph > |
void | TSnap::SaveEdgeList (const PGraph &Graph, const TStr &OutFNm, const TStr &Desc=TStr()) |
| Saves a graph into a text file. Each line contains two columns and encodes a single edge: <source node="" id>=""><tab><destination node="" id>=""> More...
|
|
void | TSnap::SaveEdgeListNet (const PNEANet &Graph, const TStr &OutFNm, const TStr &Desc) |
| Saves a network into a text file. Each line encodes either an edge or a node, along with its attributes. More...
|
|
template<class PGraph > |
void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm) |
| Saves a graph in a Pajek .NET format. More...
|
|
template<class PGraph > |
void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm, const TIntStrH &NIdColorH) |
| Saves a graph in a Pajek .NET format. More...
|
|
template<class PGraph > |
void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm, const TIntStrH &NIdColorH, const TIntStrH &NIdLabelH) |
| Saves a graph in a Pajek .NET format. More...
|
|
template<class PGraph > |
void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm, const TIntStrH &NIdColorH, const TIntStrH &NIdLabelH, const TIntStrH &EIdColorH) |
| Saves a graph in a Pajek .NET format. More...
|
|
template<class PGraph > |
void | TSnap::SaveMatlabSparseMtx (const PGraph &Graph, const TStr &OutFNm) |
| Saves a graph in a MATLAB sparse matrix format. More...
|
|
template<class PGraph > |
void | TSnap::SaveGViz (const PGraph &Graph, const TStr &OutFNm, const TStr &Desc=TStr(), const bool &NodeLabels=false, const TIntStrH &NIdColorH=TIntStrH()) |
| Save a graph in GraphVizp .DOT format. More...
|
|
template<class PGraph > |
void | TSnap::SaveGViz (const PGraph &Graph, const TStr &OutFNm, const TStr &Desc, const TIntStrH &NIdLabelH) |
| Save a graph in GraphVizp .DOT format. More...
|
|