|
SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Inherits TMatrix.
Public Member Functions | |
| TNGraphMtx (const PNGraph &GraphPt) | |
| TNGraphMtx (const TNGraphMtx &GraphMtx) | |
| TNGraphMtx & | operator= (const TNGraphMtx &GraphMtx) |
| int | PGetRows () const |
| int | PGetCols () const |
| void | PMultiply (const TFltVV &B, int ColId, TFltV &Result) const |
| void | PMultiply (const TFltV &Vec, TFltV &Result) const |
| void | PMultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
| void | PMultiplyT (const TFltV &Vec, TFltV &Result) const |
Directed Graph Adjacency Matrix represented as sparse {0,1} row matrix. The class is used for computing spectral properties of graph adjacency matrices. The class assumes that node IDs have the range 0...Nodes-1.
| TNGraphMtx::TNGraphMtx | ( | const PNGraph & | GraphPt | ) |
| TNGraphMtx::TNGraphMtx | ( | const TNGraphMtx & | GraphMtx | ) | [inline] |
| TNGraphMtx& TNGraphMtx::operator= | ( | const TNGraphMtx & | GraphMtx | ) | [inline] |
| int TNGraphMtx::PGetCols | ( | ) | const [inline, virtual] |
Implements TMatrix.
| int TNGraphMtx::PGetRows | ( | ) | const [inline, virtual] |
Implements TMatrix.
| void TNGraphMtx::PMultiply | ( | const TFltVV & | B, |
| int | ColId, | ||
| TFltV & | Result | ||
| ) | const [virtual] |
Implements TMatrix.
| void TNGraphMtx::PMultiply | ( | const TFltV & | Vec, |
| TFltV & | Result | ||
| ) | const [virtual] |
Implements TMatrix.
| void TNGraphMtx::PMultiplyT | ( | const TFltVV & | B, |
| int | ColId, | ||
| TFltV & | Result | ||
| ) | const [virtual] |
Implements TMatrix.
| void TNGraphMtx::PMultiplyT | ( | const TFltV & | Vec, |
| TFltV & | Result | ||
| ) | const [virtual] |
Implements TMatrix.