SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TMAGParam< TNodeAttr > Class Template Reference

List of all members.

Public Member Functions

 TMAGParam ()
 TMAGParam (const int &NumNodes, const int &NumAttrs)
 TMAGParam (const int &NumNodes, const TMAGAffMtxV &MtxV)
 TMAGParam (const int &NumNodes, const TStr &ConfFNm)
 TMAGParam (const TMAGParam< TNodeAttr > &MAGParam)
 TMAGParam (const int &NumNodes, const int &NumAttrs, const TNodeAttr &Dist)
TMAGParam< TNodeAttr > & operator= (const TMAGParam< TNodeAttr > &MAGParam)
void Clr ()
void LoadTxt (const TStr &InFNm)
void SaveTxt (const TStr &OutFNm) const
void SetNodes (const int &Nodes)
const int GetNodes () const
void SetAttrs (const int &Attrs)
const int GetAttrs () const
void SetNodeAttr (const TNodeAttr &Dist)
const TNodeAttr & GetNodeAttr () const
const int GetDim (const int &Attr) const
void GetDimV (TIntV &DimV) const
void SetMtxVal (const int &Attr, const int &Row, const int &Col, const double &Val)
void SetMtx (const int &Attr, const TMAGAffMtx &Mtx)
void SetMtxV (const TMAGAffMtxV &MtxV)
void SetMtxAll (const TMAGAffMtx &Mtx)
const double GetMtxVal (const int &Attr, const int &Row, const int &Col) const
const TMAGAffMtxGetMtx (const int &Attr) const
void GetMtxV (TMAGAffMtxV &MtxV) const
PNGraph GenMAG (TIntVV &AttrVV, const bool &IsDir=false, const int &Seed=1)
PNGraph GenAttrMAG (const TIntVV &AttrVV, const bool &IsDir=false, const int &Seed=1)

Static Public Attributes

static TRnd Rnd

template<class TNodeAttr>
class TMAGParam< TNodeAttr >


Constructor & Destructor Documentation

template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( ) [inline]
template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( const int &  NumNodes,
const int &  NumAttrs 
) [inline]
template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( const int &  NumNodes,
const TMAGAffMtxV MtxV 
) [inline]
template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( const int &  NumNodes,
const TStr ConfFNm 
) [inline]
template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( const TMAGParam< TNodeAttr > &  MAGParam) [inline]
template<class TNodeAttr>
TMAGParam< TNodeAttr >::TMAGParam ( const int &  NumNodes,
const int &  NumAttrs,
const TNodeAttr &  Dist 
) [inline]

Member Function Documentation

template<class TNodeAttr>
void TMAGParam< TNodeAttr >::Clr ( ) [inline]
template<class TNodeAttr >
PNGraph TMAGParam< TNodeAttr >::GenAttrMAG ( const TIntVV AttrVV,
const bool &  IsDir = false,
const int &  Seed = 1 
)
template<class TNodeAttr >
PNGraph TMAGParam< TNodeAttr >::GenMAG ( TIntVV AttrVV,
const bool &  IsDir = false,
const int &  Seed = 1 
)
template<class TNodeAttr>
const int TMAGParam< TNodeAttr >::GetAttrs ( ) const [inline]
template<class TNodeAttr>
const int TMAGParam< TNodeAttr >::GetDim ( const int &  Attr) const [inline]
template<class TNodeAttr >
void TMAGParam< TNodeAttr >::GetDimV ( TIntV DimV) const
template<class TNodeAttr>
const TMAGAffMtx& TMAGParam< TNodeAttr >::GetMtx ( const int &  Attr) const [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::GetMtxV ( TMAGAffMtxV MtxV) const [inline]
template<class TNodeAttr>
const double TMAGParam< TNodeAttr >::GetMtxVal ( const int &  Attr,
const int &  Row,
const int &  Col 
) const [inline]
template<class TNodeAttr>
const TNodeAttr& TMAGParam< TNodeAttr >::GetNodeAttr ( ) const [inline]
template<class TNodeAttr>
const int TMAGParam< TNodeAttr >::GetNodes ( ) const [inline]
template<class TNodeAttr >
void TMAGParam< TNodeAttr >::LoadTxt ( const TStr InFNm)
template<class TNodeAttr>
TMAGParam< TNodeAttr > & TMAGParam< TNodeAttr >::operator= ( const TMAGParam< TNodeAttr > &  MAGParam)
template<class TNodeAttr >
void TMAGParam< TNodeAttr >::SaveTxt ( const TStr OutFNm) const
template<class TNodeAttr >
void TMAGParam< TNodeAttr >::SetAttrs ( const int &  Attrs)
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetMtx ( const int &  Attr,
const TMAGAffMtx Mtx 
) [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetMtxAll ( const TMAGAffMtx Mtx) [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetMtxV ( const TMAGAffMtxV MtxV) [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetMtxVal ( const int &  Attr,
const int &  Row,
const int &  Col,
const double &  Val 
) [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetNodeAttr ( const TNodeAttr &  Dist) [inline]
template<class TNodeAttr>
void TMAGParam< TNodeAttr >::SetNodes ( const int &  Nodes) [inline]

Member Data Documentation

template<class TNodeAttr>
TRnd TMAGParam< TNodeAttr >::Rnd [static]

The documentation for this class was generated from the following file: