SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ds.h>
Public Member Functions | |
TPair () | |
TPair (const TPair &Pair) | |
TPair (const TVal1 &_Val1, const TVal2 &_Val2) | |
TPair (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
void | Load (TSIn &SIn) |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm="") |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TPair & | operator= (const TPair &Pair) |
bool | operator== (const TPair &Pair) const |
bool | operator< (const TPair &Pair) const |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
void | GetVal (TVal1 &_Val1, TVal2 &_Val2) const |
const TVal1 & | GetVal1 () const |
const TVal2 & | GetVal2 () const |
TStr | GetStr () const |
Public Attributes | |
TVal1 | Val1 |
TVal2 | Val2 |
int TPair< TVal1, TVal2 >::GetMemUsed | ( | ) | const [inline] |
int TPair< TVal1, TVal2 >::GetPrimHashCd | ( | ) | const [inline] |
Definition at line 56 of file ds.h.
{return TPairHashImpl::GetHashCd(Val1.GetPrimHashCd(), Val2.GetPrimHashCd()); }
int TPair< TVal1, TVal2 >::GetSecHashCd | ( | ) | const [inline] |
Definition at line 57 of file ds.h.
{return TPairHashImpl::GetHashCd(Val2.GetSecHashCd(), Val1.GetSecHashCd()); }
Definition at line 34 of file ds.h.
Referenced by TGnuPlot::AddPwrFit3(), TArtPointVisitor::BackEdge(), TBiConVisitor::BackEdge(), TLocClustStat::BestWhiskNodes(), TSnap::TSnapDetail::CmtyGirvanNewmanStep(), TNIBs::ComputePerformanceNId(), TAGMUtil::ConnectCmtyVV(), TGnuPlot::CreatePlotFile(), TCache< TKey, TDat, THashFunc >::Del(), TLinAlg::EuclDist2(), TArtPointVisitor::FinishNode(), TBiConVisitor::FinishNode(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TArtPointVisitor::FwdEdge(), TSubGraphsEnum::Gen2Graphs(), TSnap::GenDegSeq(), TSnap::GenRewire(), TNetInfBs::GetBestEdge(), TNetInfBs::GetBound(), THttpLx::GetCh(), TSnap::GetClustCf(), TPair< TFlt, TFlt >::GetMemUsed(), TSccVisitor< PGraph, OnlyCount >::GetMinDiscTm(), TPair< TFlt, TFlt >::GetPrimHashCd(), TPair< TFlt, TFlt >::GetSecHashCd(), TPair< TFlt, TFlt >::GetStr(), TBigNet< TNodeData, IsDir >::GetSubGraph(), GetSwitchedPrV(), TPair< TFlt, TFlt >::GetVal(), TPair< TFlt, TFlt >::GetVal1(), TCluster::Gradient(), TNetInfBs::GreedyOpt(), TPair< TFlt, TFlt >::Load(), TCluster::LogLikelihood(), TLocClustStat::MakeExpBins(), TCluster::MCMC(), TJsonVal::NewArr(), TPair< TFlt, TFlt >::operator<(), TPair< TFlt, TFlt >::operator=(), TPair< TFlt, TFlt >::operator==(), TUnionFind::Parent(), TNcpGraphsBase::PlotNcpMin(), TNcpGraphsBase::PlotRewNcpMin(), TSnap::PlotSccDistr(), TSnap::PlotWccDistr(), TCache< TKey, TDat, THashFunc >::Put(), TAGMUtil::RewireCmtyNID(), TAGMFit::SampleTransition(), TPair< TFlt, TFlt >::Save(), and TNcpGraphsBase::SaveTxtNcpMin().
Definition at line 35 of file ds.h.
Referenced by TNEANet::AddEdge(), TNEANet::AddFltAttrDatE(), TNEANet::AddFltAttrDatN(), TNEANet::AddIntAttrDatE(), TNEANet::AddIntAttrDatN(), TNEANet::AddNode(), TNEANet::AddStrAttrDatE(), TNEANet::AddStrAttrDatN(), TArtPointVisitor::BackEdge(), TBiConVisitor::BackEdge(), TNEANet::BegEAFltI(), TNEANet::BegEAIntI(), TNEANet::BegEAStrI(), TNEANet::BegNAFltI(), TNEANet::BegNAIntI(), TNEANet::BegNAStrI(), TLocClustStat::BestWhiskEdges(), TLocClustStat::BestWhiskPhi(), TSnap::TSnapDetail::CmtyGirvanNewmanStep(), TNIBs::ComputePerformanceNId(), TAGMUtil::ConnectCmtyVV(), TGnuPlot::CreatePlotFile(), TCache< TKey, TDat, THashFunc >::Del(), TNEANet::DelAttrDatE(), TNEANet::DelAttrDatN(), TNEANet::DelAttrE(), TNEANet::DelAttrN(), TNEANet::EndEAFltI(), TNEANet::EndEAIntI(), TNEANet::EndEAStrI(), TNEANet::EndNAFltI(), TNEANet::EndNAIntI(), TNEANet::EndNAStrI(), TLinAlg::EuclDist2(), TAGMUtil::FindComsByAGM(), TArtPointVisitor::FinishNode(), TBiConVisitor::FinishNode(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TCache< TKey, TDat, THashFunc >::Flush(), TArtPointVisitor::FwdEdge(), TSubGraphsEnum::Gen2Graphs(), TSnap::GenDegSeq(), TSnap::GenRewire(), TNetInfBs::GetBestEdge(), TNetInfBs::GetBound(), THttpLx::GetCh(), TSnap::GetClustCf(), TNEANet::GetEAFltI(), TNEANet::GetEAIntI(), TNEANet::GetEAStrI(), TNEANet::GetFltAttrDatE(), TNEANet::GetFltAttrDatN(), TNEANet::GetIntAttrDatE(), TNEANet::GetIntAttrDatN(), TPair< TFlt, TFlt >::GetMemUsed(), TCache< TKey, TDat, THashFunc >::GetMemUsed(), TNEANet::GetNAFltI(), TNEANet::GetNAIntI(), TNEANet::GetNAStrI(), TPair< TFlt, TFlt >::GetPrimHashCd(), TPair< TFlt, TFlt >::GetSecHashCd(), TPair< TFlt, TFlt >::GetStr(), TNEANet::GetStrAttrDatE(), TNEANet::GetStrAttrDatN(), TBigNet< TNodeData, IsDir >::GetSubGraph(), GetSwitchedPrV(), TPair< TFlt, TFlt >::GetVal(), TPair< TFlt, TFlt >::GetVal2(), TCluster::Gradient(), TNetInfBs::GreedyOpt(), TPair< TFlt, TFlt >::Load(), TCluster::LogLikelihood(), TCluster::MCMC(), TJsonVal::NewArr(), TCmpPairByVal2< TVal1, TVal2 >::operator()(), TPair< TFlt, TFlt >::operator<(), TPair< TFlt, TFlt >::operator=(), TPair< TFlt, TFlt >::operator==(), TNcpGraphsBase::PlotNcpMin(), TNcpGraphsBase::PlotRewNcpMin(), TCache< TKey, TDat, THashFunc >::Put(), TUnionFind::Rank(), TAGMUtil::RewireCmtyNID(), TAGMFit::SampleTransition(), TPair< TFlt, TFlt >::Save(), and TNcpGraphsBase::SaveTxtNcpMin().