| 
    SNAP Library 2.2, User Reference
    2014-03-11 19:15:55
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
  
  
  
 
Go to the source code of this file.
Namespaces | |
| namespace | TSnap | 
| Main namespace for all the Snap global entities.  | |
Functions | |
| 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).   | |
| 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).   | |
| 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).   | |
| 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).   | |
| 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.   | |
| 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.   | |
| template<class PGraph > | |
| PGraph | TSnap::LoadPajek (const TStr &InFNm) | 
| Loads a (directed, undirected or multi) graph from Pajek .PAJ format file.   | |
| PNGraph | TSnap::LoadDyNet (const TStr &FNm) | 
| For more info see ORA Network Analysis Data (http://www.casos.cs.cmu.edu/computational_tools/data2.php)   | |
| 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)   | |
| 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>="">   | |
| template<class PGraph > | |
| void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm) | 
| Saves a graph in a Pajek .NET format.   | |
| template<class PGraph > | |
| void | TSnap::SavePajek (const PGraph &Graph, const TStr &OutFNm, const TIntStrH &NIdColorH) | 
| Saves a graph in a Pajek .NET format.   | |
| 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.   | |
| 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.   | |
| template<class PGraph > | |
| void | TSnap::SaveMatlabSparseMtx (const PGraph &Graph, const TStr &OutFNm) | 
| Saves a graph in a MATLAB sparse matrix format.   | |
| 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.   | |
| 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.   | |