SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <hash.h>
Classes | |
class | THashKeyDatCmp |
class | TLoadTHKeyDatInitializer |
Public Types | |
enum | { HashPrimes =32 } |
typedef THashKeyDatI< TKey, TDat > | TIter |
Public Member Functions | |
THash () | |
THash (const THash &Hash) | |
THash (const int &ExpectVals, const bool &_AutoSizeP=false) | |
THash (TSIn &SIn) | |
void | LoadShM (TShMIn &ShMIn) |
Load THash from shared memory file. Copying/Deleting Keys is illegal. More... | |
template<typename TDatInitFn > | |
void | LoadShM (TShMIn &ShMIn, TDatInitFn Fn) |
Load THash from shared memory passing in the Dat initializer. More... | |
void | Load (TSIn &SIn) |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm="") |
void | SaveXml (TSOut &SOut, const TStr &Nm) |
THash & | operator= (const THash &Hash) |
bool | operator== (const THash &Hash) const |
bool | operator< (const THash &Hash) const |
const TDat & | operator[] (const int &KeyId) const |
The [] operator takes KeyId, use GetDat() if you need value access via the key. More... | |
TDat & | operator[] (const int &KeyId) |
TDat & | operator() (const TKey &Key) |
::TSize | GetMemUsed () const |
TIter | BegI () const |
TIter | EndI () const |
TIter | GetI (const TKey &Key) const |
void | Gen (const int &ExpectVals) |
void | Clr (const bool &DoDel=true, const int &NoDelLim=-1, const bool &ResetDat=true) |
bool | Empty () const |
int | Len () const |
int | GetPorts () const |
bool | IsAutoSize () const |
int | GetMxKeyIds () const |
int | GetReservedKeyIds () const |
bool | IsKeyIdEqKeyN () const |
int | AddKey (const TKey &Key) |
TDat & | AddDatId (const TKey &Key) |
TDat & | AddDat (const TKey &Key) |
TDat & | AddDat (const TKey &Key, const TDat &Dat) |
void | DelKey (const TKey &Key) |
bool | DelIfKey (const TKey &Key) |
void | DelKeyId (const int &KeyId) |
void | DelKeyIdV (const TIntV &KeyIdV) |
void | MarkDelKey (const TKey &Key) |
void | MarkDelKeyId (const int &KeyId) |
const TKey & | GetKey (const int &KeyId) const |
int | GetKeyId (const TKey &Key) const |
int | GetRndKeyId (TRnd &Rnd) const |
Get an index of a random element. If the hash table has many deleted keys, this may take a long time. More... | |
int | GetRndKeyId (TRnd &Rnd, const double &EmptyFrac) |
Get an index of a random element. If the hash table has many deleted keys, defrag the hash table first (that's why the function is non-const). More... | |
bool | IsKey (const TKey &Key) const |
bool | IsKey (const TKey &Key, int &KeyId) const |
bool | IsKeyId (const int &KeyId) const |
const TDat & | GetDat (const TKey &Key) const |
TDat & | GetDat (const TKey &Key) |
TDat | GetDatWithDefault (const TKey &Key, TDat DefaultValue) |
void | GetKeyDat (const int &KeyId, TKey &Key, TDat &Dat) const |
bool | IsKeyGetDat (const TKey &Key, TDat &Dat) const |
int | FFirstKeyId () const |
bool | FNextKeyId (int &KeyId) const |
void | GetKeyV (TVec< TKey > &KeyV) const |
void | GetDatV (TVec< TDat > &DatV) const |
void | GetKeyDatPrV (TVec< TPair< TKey, TDat > > &KeyDatPrV) const |
void | GetDatKeyPrV (TVec< TPair< TDat, TKey > > &DatKeyPrV) const |
void | GetKeyDatKdV (TVec< TKeyDat< TKey, TDat > > &KeyDatKdV) const |
void | GetDatKeyKdV (TVec< TKeyDat< TDat, TKey > > &DatKeyKdV) const |
void | Swap (THash &Hash) |
void | Defrag () |
void | Pack () |
void | Sort (const bool &CmpKey, const bool &Asc) |
void | SortByKey (const bool &Asc=true) |
void | SortByDat (const bool &Asc=true) |
Static Public Attributes | |
static const unsigned int | HashPrimeT [HashPrimes] |
Private Types | |
typedef THashKeyDat< TKey, TDat > | THKeyDat |
typedef TPair< TKey, TDat > | TKeyDatP |
Private Member Functions | |
THKeyDat & | GetHashKeyDat (const int &KeyId) |
const THKeyDat & | GetHashKeyDat (const int &KeyId) const |
uint | GetNextPrime (const uint &Val) const |
void | Resize () |
Private Attributes | |
TIntV | PortV |
TVec< THKeyDat > | KeyDatV |
TBool | AutoSizeP |
TInt | FFreeKeyId |
TInt | FreeKeys |
|
private |
typedef THashKeyDatI<TKey, TDat> THash< TKey, TDat, THashFunc >::TIter |
anonymous enum |
|
inline |
|
inline |
|
explicit |
Definition at line 343 of file hash.h.
References THash< TKey, TDat, THashFunc >::PortV, and TVec< TVal, TSizeTy >::PutAll().
|
inlineexplicit |
|
inline |
Definition at line 238 of file hash.h.
Referenced by TCascade::Add(), TUnionFind::Add(), TUniTrie< TInt >::Add(), TNIBs::AddCasc(), TTable::AddColType(), TMMNet::AddCrossNet(), TLocClustStat::AddCut(), TNIBs::AddDomainNm(), TCrossNet::AddEdge(), TNEGraph::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TNEANet::AddEdge(), THttpRq::AddFldVal(), THttpResp::AddFldVal(), TCrossNet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatE(), TNEANet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatN(), TNEANet::AddFltAttrDatN(), TCrossNet::AddFltAttrE(), TNEANetMP::AddFltAttrE(), TNEANet::AddFltAttrE(), TNEANetMP::AddFltAttrN(), TNEANet::AddFltAttrN(), TNEANet::AddFltVAttrDatE(), TNEANet::AddFltVAttrDatN(), TNEANet::AddFltVAttrE(), TNEANet::AddFltVAttrN(), THttpResp::AddHdFld(), TTable::AddIdColumn(), TCrossNet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatN(), TNEANet::AddIntAttrDatN(), TCrossNet::AddIntAttrE(), TNEANetMP::AddIntAttrE(), TNEANet::AddIntAttrE(), TNEANetMP::AddIntAttrN(), TNEANet::AddIntAttrN(), TModeNet::AddIntVAttrByHashN(), TModeNet::AddIntVAttrByVecN(), TNEANet::AddIntVAttrDatE(), TNEANet::AddIntVAttrDatN(), TNEANet::AddIntVAttrE(), TNEANet::AddIntVAttrN(), TTable::AddJointRow(), TMMNet::AddMode(), TMMNet::AddModeNet(), TModeNet::AddNbrType(), TTable::AddNJointRowsMP(), TBigNet< TNodeData, IsDir >::AddNode(), TUNGraph::AddNode(), TNGraph::AddNode(), TNEGraph::AddNode(), TNodeEdgeNet< TNodeData, TEdgeData >::AddNode(), TNEANet::AddNode(), TUndirNet::AddNode(), TDirNet::AddNode(), TNetInfBs::AddNodeNm(), TNIBs::AddNodeNm(), TUNGraph::AddNodeUnchecked(), TNGraph::AddNodeUnchecked(), TNodeEdgeNet< TNodeData, TEdgeData >::AddNodeUnchecked(), TNEANet::AddNodeUnchecked(), TUndirNet::AddNodeUnchecked(), TDirNet::AddNodeUnchecked(), TSnap::TSnapDetail::TCNMQMatrix::TCmtyDat::AddQ(), TILx::AddRw(), TOLx::AddRw(), TAttr::AddSAttr(), TAttrPair::AddSAttr(), TAttr::AddSAttrDat(), TAttrPair::AddSAttrDat(), TCrossNet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatN(), TNEANet::AddStrAttrDatN(), TCrossNet::AddStrAttrE(), TNEANetMP::AddStrAttrE(), TNEANet::AddStrAttrE(), TNEANetMP::AddStrAttrN(), TNEANet::AddStrAttrN(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TTable::Aggregate(), TLocClust::ApproxPageRank(), TGStat::AvgGStat(), TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), TNIBs::BSG(), TForestFire::BurnExpFire(), TForestFire::BurnGeoFire(), TTable::CheckAndAddFltNode(), TSnap::TSnapDetail::TCNMQMatrix::CmtyCMN(), TSnap::CmtyEvolutionFileBatch(), TSnap::CmtyEvolutionFileBatchV(), TAGMUtil::ConnectCmtyVV(), TNEANet::ConvertToSparse(), CreateEmptyFeatures(), CreateNodeIdMtxIdxHash(), TMom::Def(), TTable::Defrag(), TArtPointVisitor::DiscoverNode(), TBiConVisitor::DiscoverNode(), TSccVisitor< PGraph, OnlyCount >::DiscoverNode(), TLocClust::DrawWhiskers(), TSpecFunc::EntropyBias(), TSnap::EventImportance(), TSnap::EventImportance1(), TSnap::FastCorePeriphery(), TSnap::FastCorePeripheryGC(), TNIBs::FG(), TZipIn::FillFExtToCmdH(), TZipOut::FillFExtToCmdH(), TCesnaUtil::FilterLowEntropy(), FindRoles(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TSnap::GetBetweennessCentr(), TSnap::GetBfsEffDiam(), TSnap::GetBiConSzCnt(), TSnap::GetClustCf(), TAGMFast::GetCmtyVV(), TCoda::GetCmtyVV(), TAGMFit::GetCmtyVV(), TCesna::GetCmtyVV(), TSnap::GetDegCnt(), TCnCom::GetDfsVisitor(), TSnap::GetEigenVectorCentr(), TSnap::GetGroupDegreeCentr(), TSnap::GetGroupDegreeCentr0(), TSnap::GetHits(), TSnap::GetHitsMP(), TSnap::GetInDegCnt(), GetNIdSorted(), TCoda::GetNIDValH(), TSnap::GetNodeClustCf(), TAGMUtil::GetNodeMembership(), TSnap::GetNodesAtHops(), TGraphEnumUtils::GetNormalizedMap(), TSnap::GetOutDegCnt(), TSnap::GetPageRank(), TSnap::GetPageRank_v1(), TSnap::GetPageRankMP(), TMaxPriorityQueue< TVal >::GetPriorities(), TLxSymStr::GetSSym(), TBigNet< TNodeData, IsDir >::GetSubGraph(), TMMNet::GetSubgraphByCrossNet(), TMMNet::GetSubgraphByModeNet(), TXmlObjSer::GetTagNm(), TCoda::GetTopCIDs(), TSnap::GetTriadParticip(), TGStat::GetValStr(), TSnap::GetWeightedBetweennessCentr(), TSnap::GetWeightedPageRank(), TSnap::GetWeightedPageRankMP(), TSnap::GetWeightedShortestPath(), TCoda::GradientForNode(), TAGMFast::GradientForRow(), TCesna::GradientForRow(), TTable::GroupAux(), TSnap::TSnapDetail::inComp(), TSnap::Infomap(), TSnap::TSnapDetail::InfomapOnlineIncrement(), TNetInfBs::Init(), TSnap::TSnapDetail::TCNMQMatrix::Init(), TUniChDb::InitScripts(), TUniChDb::InitSpecialCasing(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TMaxPriorityQueue< TVal >::Insert(), TSnap::IntFlowBiDBFS(), TBigNet< TNodeData, IsDir >::InvertFromSources(), LearnEmbeddings(), TTimeNet::LoadArxiv(), TAGMUtil::LoadEdgeListStr(), TNIBs::LoadGroundTruthNodesTxt(), TNetInfBs::LoadGroundTruthTxt(), TNIBs::LoadGroundTruthTxt(), TKeyDatFl< TKey, TDat, THashFunc >::LoadHash(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TSnap::LoadNodeList(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TSnap::TSnapDetail::MapEquationNew2Modules(), TSnap::MaxCPGreedyBetter(), TSnap::MaxCPGreedyBetter1(), TSnap::MaxCPGreedyBetter2(), TSnap::MaxCPGreedyBetter3(), TCluster::MCMC(), TCoda::MLEGradAscentParallel(), TDGraphCounter::operator()(), THash< TPair, THash >::operator()(), THttpResp::ParseHttpResp(), THttpRq::ParseHttpRq(), TNcpGraphsBase::PlotAvgNcp(), TLocClustStat::PlotBoltzmanCurve(), TSnap::PlotEigValDistr(), TLocClustStat::PlotPhiDistr(), PlotRoles(), TSnap::PlotShortPathDistr(), TSnap::PlotSngValDistr(), TAGMFit::PrintSummary(), TXmlLx::PutEntityVal(), TXmlLx::PutPEntityVal(), TSnap::ReadEdgeSchemaFromFile(), TSnap::ReadNodeSchemaFromFile(), TSnap::ReebRefine(), TSnap::ReebSimplify(), TUnicode::RegisterCodec(), TTable::Reindex(), TModeNet::RemoveCrossNets(), TTable::RemoveFirstRow(), TTable::RemoveRow(), TTable::RequestIndexFlt(), TTable::RequestIndexInt(), TTable::RequestIndexStrMap(), TBigNet< TNodeData, IsDir >::Rewire(), TAGMUtil::RewireCmtyVV(), TLocClustStat::Run(), TTable::Save(), TSnap::SavePajek(), TBigNet< TNodeData, IsDir >::SaveToDisk(), TTable::SelfSimJoinPerGroup(), TAGMFast::SetCmtyVV(), TCoda::SetCmtyVV(), TXmlChDef::SetEntityVal(), THtmlLxChDef::SetEscStr(), TPredicate::SetFltVal(), TPredicate::SetIntVal(), TPredicate::SetStrVal(), TGStat::SetVal(), TNIBs::SG(), TGStat::TakeClustCf(), TGStat::TakeConnComp(), TGStat::TakeDegDistr(), TGStat::TakeDiam(), TGStat::TakeTriadPart(), TD34GraphCounter::TD34GraphCounter(), TTable::ThresholdJoinCountCollisions(), TTable::ThresholdJoinCountPerJoinKeyCollisions(), THttpRq::THttpRq(), TMMNet::ToNetwork(), TMMNet::ToNetwork2(), TMMNet::ToNetworkMP(), TArtPointVisitor::TreeEdge(), TBiConVisitor::TreeEdge(), TNIBs::UpdateDiff(), and TTable::UpdateGrouping().
|
inline |
|
inline |
int THash< TKey, TDat, THashFunc >::AddKey | ( | const TKey & | Key | ) |
Definition at line 373 of file hash.h.
Referenced by TUniTrie< TInt >::Add(), THash< TPair, THash >::AddDat(), THash< TPair, THash >::AddDatId(), TTable::AddNodeAttributes(), TTmProfiler::AddTimer(), TLocClustStat::BagOfWhiskers(), TTable::CheckAndAddFltNode(), TTimeNENet::GetEdgeTmBuckets(), TSnap::GetSngVals(), TSnap::GetSngVec(), TTimeNet::GetTmBuckets(), TTimeNENet::GetTmBuckets(), TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TAGMFit::InitNodeData(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), THtmlTok::IsBreakTag(), TAGMFit::JoinCom(), TTable::KeepSortedRows(), TUniChDb::LoadTxt(), PreprocessNode(), TSnap::PrintInfo(), TUniChDb::TSubcatHelper::ProcessComment(), TGraphKey::TakeGraph(), TGraphKey::TakeSig(), and TUniChDb::TestComposition().
|
inline |
Definition at line 213 of file hash.h.
Referenced by TNIBs::AddCasc(), TTable::Aggregate(), AppendFeatures(), ProcessedGraph::assignWeights_undir(), TCrossNet::AttrNameEI(), TNEANetMP::AttrNameEI(), TNEANet::AttrNameEI(), TNEANetMP::AttrNameNI(), TNEANet::AttrNameNI(), TCrossNet::AttrValueEI(), TNEANetMP::AttrValueEI(), TNEANet::AttrValueEI(), TNEANetMP::AttrValueNI(), TNEANet::AttrValueNI(), TMMNet::BegCrossNetI(), TCrossNet::BegEdgeI(), TNEGraph::BegEI(), TNodeEdgeNet< TSecTm, TSecTm >::BegEI(), TNEANet::BegEI(), TCascade::BegI(), TGHash< TUInt64 >::BegI(), TBPGraph::BegLNI(), TModeNet::BegMMNI(), TMMNet::BegModeNetI(), TBigNet< TNodeData, IsDir >::BegNI(), TNodeNet< TSecTm >::BegNI(), TUNGraph::BegNI(), TNGraph::BegNI(), TNodeEDatNet< TStr, TFltFltH >::BegNI(), TNEGraph::BegNI(), TBPGraph::BegNI(), TNodeEdgeNet< TSecTm, TSecTm >::BegNI(), TNEANet::BegNI(), TUndirNet::BegNI(), TDirNet::BegNI(), TBPGraph::BegRNI(), MotifCluster::BifanMotifAdjacency(), TTable::BuildGraph(), TSnap::CmtyEvolutionFileBatch(), TSnap::CmtyEvolutionJson(), MAPPR::computeProfile(), ConvertFeatureToMatrix(), TMMNet::ConvertToSparse(), TNEANet::ConvertToSparse(), CreateEmptyFeatures(), CreateNodeIdMtxIdxHash(), TAttr::DelSAttrId(), TAttrPair::DelSAttrId(), TAGMFast::DotProduct(), TCoda::DotProduct(), TCesna::DotProduct(), TSnap::EventImportance(), TSnap::EventImportance1(), TSnap::FastCorePeriphery(), TSnap::FastCorePeripheryGC(), TCrossNet::FltAttrNameEI(), TNEANetMP::FltAttrNameEI(), TNEANet::FltAttrNameEI(), TNEANetMP::FltAttrNameNI(), TNEANet::FltAttrNameNI(), TCrossNet::FltAttrValueEI(), TNEANetMP::FltAttrValueEI(), TNEANet::FltAttrValueEI(), TNEANetMP::FltAttrValueNI(), TNEANet::FltAttrValueNI(), TNEANet::FltVAttrNameEI(), TNEANet::FltVAttrNameNI(), TNEANet::FltVAttrValueEI(), TNEANet::FltVAttrValueNI(), FPrintRoles(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TNEANet::GetAttrENames(), TNEANet::GetAttrNNames(), TNIBs::GetGroundTruthGraphAtT(), TNIBs::GetGroundTruthNetworkAtT(), TSnap::GetGroupDegreeCentr(), TAttr::GetIdVSAttr(), TAttrPair::GetIdVSAttr(), TNIBs::GetInferredGraphAtT(), TNIBs::GetInferredNetworkAtT(), GetNIdSorted(), TBigNet< TNodeData, IsDir >::GetNIdV(), GetNodeId(), TAGMUtil::GetNodeMembership(), GetNthFeature(), GetNumFeatures(), TAttr::GetSAttrV(), TAttrPair::GetSAttrV(), TMMNet::GetSubgraphByCrossNet(), TMMNet::GetSubgraphByModeNet(), TNIBs::Init(), Inner(), TCrossNet::IntAttrNameEI(), TNEANetMP::IntAttrNameEI(), TNEANet::IntAttrNameEI(), TNEANetMP::IntAttrNameNI(), TNEANet::IntAttrNameNI(), TCrossNet::IntAttrValueEI(), TNEANetMP::IntAttrValueEI(), TNEANet::IntAttrValueEI(), TNEANetMP::IntAttrValueNI(), TNEANet::IntAttrValueNI(), TNEANet::IntVAttrNameEI(), TNEANet::IntVAttrNameNI(), TNEANet::IntVAttrValueEI(), TNEANet::IntVAttrValueNI(), TCoda::LikelihoodForNode(), TAGMFast::LikelihoodForRow(), TCesna::LikelihoodForRow(), TMMNet::LoadNetworkShM(), TSnap::MaxCPGreedyBetter(), TSnap::MaxCPGreedyBetter1(), TSnap::MaxCPGreedyBetter2(), TSnap::MaxCPGreedyBetter3(), TAGMFast::MLEGradAscent(), TCoda::MLEGradAscent(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), TAGMFast::MLENewton(), TAGMFast::Norm2(), TCoda::Norm2(), TCesna::Norm2(), PlotRoles(), TCesna::PredictAttrK(), MAPPR::printAPPR(), PrintFeatures(), TTable::PrintGrouping(), PrintRoles(), TSnap::ReadEdgesFromFile(), TSnap::ReadNodesFromFile(), TSnap::ReebRefine(), TSnap::ReebSimplify(), TModeNet::RemoveCrossNets(), TTable::Save(), TNetInfBs::SaveCascades(), TNIBs::SaveCascades(), TNIBs::SaveGroundTruth(), TNIBs::SaveGroundTruthPajek(), TNIBs::SaveInferred(), TNIBs::SaveInferredPajek(), TNetInfBs::SavePajek(), TNetInfBs::SavePlaneTextNet(), TNIBs::SaveSites(), TBigNet< TNodeData, IsDir >::SaveToDisk(), TTable::SelfSimJoinPerGroup(), MotifCluster::SpectralCut(), TTable::SpliceByGroup(), TCrossNet::StrAttrNameEI(), TNEANetMP::StrAttrNameEI(), TNEANet::StrAttrNameEI(), TNEANetMP::StrAttrNameNI(), TNEANet::StrAttrNameNI(), TCrossNet::StrAttrValueEI(), TNEANetMP::StrAttrValueEI(), TNEANet::StrAttrValueEI(), TNEANetMP::StrAttrValueNI(), TNEANet::StrAttrValueNI(), TAGMFast::Sum(), TCoda::Sum(), TCesna::Sum(), TTable::ThresholdJoinOutputTable(), TTable::ThresholdJoinPerJoinKeyOutputTable(), TMMNet::TMMNet(), TSnap::ToNetwork(), TMMNet::ToNetwork(), TSnap::ToNetworkMP(), TTable::Unique(), and UnweightedGraphRepresentation().
void THash< TKey, TDat, THashFunc >::Clr | ( | const bool & | DoDel = true , |
const int & | NoDelLim = -1 , |
||
const bool & | ResetDat = true |
||
) |
Definition at line 361 of file hash.h.
Referenced by TTable::AddIdColumn(), TTable::AddNJointRowsMP(), TLocClust::ApproxPageRank(), TNIBs::BSG(), TAttr::Clr(), TCascade::Clr(), TAttrPair::Clr(), TGHash< TUInt64 >::Clr(), TLocClustStat::Clr(), TBigNet< TNodeData, IsDir >::Clr(), TNodeNet< TSecTm >::Clr(), TUniCaseFolding::Clr(), TUNGraph::Clr(), TCrossNet::Clr(), TNEANetMP::Clr(), TNGraph::Clr(), TNodeEDatNet< TStr, TFltFltH >::Clr(), TNEGraph::Clr(), TBPGraph::Clr(), TUniTrie< TInt >::Clr(), TUniChDb::Clr(), TNodeEdgeNet< TSecTm, TSecTm >::Clr(), TNEANet::Clr(), TUndirNet::Clr(), TDirNet::Clr(), TUnicode::ClrCodecs(), TSnap::CmtyEvolutionFileBatch(), MAPPR::computeAPPR(), TNIBs::FG(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TTable::GenerateColTypeMap(), TSnap::GetBetweennessCentr(), TSnap::GetNodeClustCf(), TAGMUtil::GetNodeMembership(), TSnap::GetShortPath(), TSnap::GetWeightedBetweennessCentr(), TSnap::GetWeightedShortestPath(), TNIBs::Init(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TCoda::MLEGradAscentParallel(), TTable::ProjectInPlace(), TTable::Reindex(), TNIBs::Reset(), and TNIBs::SG().
void THash< TKey, TDat, THashFunc >::Defrag | ( | ) |
Definition at line 555 of file hash.h.
References IAssert.
Referenced by TGHash< TUInt64 >::Defrag(), TUNGraph::Defrag(), TNGraph::Defrag(), TNEGraph::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNEANet::Defrag(), TUndirNet::Defrag(), TDirNet::Defrag(), TCoda::MLEGradAscentParallel(), and TBigNet< TNodeData, IsDir >::Rewire().
|
inline |
Definition at line 243 of file hash.h.
Referenced by TAttr::DelSAttrId(), TAttrPair::DelSAttrId(), and TCoda::MLEGradAscentParallel().
void THash< TKey, TDat, THashFunc >::DelKey | ( | const TKey & | Key | ) |
Definition at line 404 of file hash.h.
References IAssert.
Referenced by TCascade::Del(), TCrossNet::DelAttrE(), TNEANet::DelAttrE(), TNEANet::DelAttrN(), TTable::DelColType(), TMMNet::DelCrossNet(), TCrossNet::DelEdge(), TNEGraph::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TNEANet::DelEdge(), THash< TPair, THash >::DelKeyId(), TSnap::TSnapDetail::TCNMQMatrix::TCmtyDat::DelLink(), TMMNet::DelModeNet(), TModeNet::DelNbrType(), TBigNet< TNodeData, IsDir >::DelNode(), TUNGraph::DelNode(), TNGraph::DelNode(), TNEGraph::DelNode(), TBPGraph::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TNEANet::DelNode(), TUndirNet::DelNode(), TDirNet::DelNode(), TAttr::DelSAttrDat(), TAttrPair::DelSAttrDat(), TAGMFit::LeaveCom(), TSnap::MaxCPGreedyBetter(), TSnap::MaxCPGreedyBetter1(), TSnap::MaxCPGreedyBetter2(), TSnap::MaxCPGreedyBetter3(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TMaxPriorityQueue< TVal >::PopMax(), TSnap::ReebRefine(), TSnap::ReebSimplify(), TBigNet< TNodeData, IsDir >::Rewire(), TUnicode::UnregisterCodec(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
Definition at line 245 of file hash.h.
Referenced by THash< TPair, THash >::DelIfKey(), and THash< TPair, THash >::DelKeyIdV().
|
inline |
|
inline |
Definition at line 227 of file hash.h.
Referenced by TSnap::TSnapDetail::CmtyGirvanNewmanStep(), TGHash< TUInt64 >::Empty(), TUniTrie< TInt >::Empty(), TSpecFunc::EntropyBias(), TZipIn::FillFExtToCmdH(), TZipOut::FillFExtToCmdH(), TCesnaUtil::FilterLowEntropy(), TLocClustStat::GetBoltzmanCurveStat(), TZipIn::GetCmd(), TZipOut::GetCmd(), TLocClustStat::GetCurveStat(), TILx::GetSym(), TGStat::GetValStr(), TZipIn::IsZipExt(), TZipOut::IsZipExt(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TGStat::operator<(), TLocClustStat::PlotNCPScatter(), TLocClustStat::PlotPhiDistr(), TLocClust::SupportSweep(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
Definition at line 218 of file hash.h.
Referenced by TNIBs::AddCasc(), TTable::Aggregate(), AppendFeatures(), TBPGraph::BegLNI(), TBPGraph::BegRNI(), MotifCluster::BifanMotifAdjacency(), TTable::BuildGraph(), MAPPR::computeProfile(), ConvertFeatureToMatrix(), TMMNet::ConvertToSparse(), CreateEmptyFeatures(), CreateNodeIdMtxIdxHash(), TAttr::DelSAttrId(), TAttrPair::DelSAttrId(), TAGMFast::DotProduct(), TCoda::DotProduct(), TCesna::DotProduct(), TMMNet::EndCrossNetI(), TCrossNet::EndEdgeI(), TNEGraph::EndEI(), TNodeEdgeNet< TSecTm, TSecTm >::EndEI(), TNEANet::EndEI(), TCascade::EndI(), TGHash< TUInt64 >::EndI(), TModeNet::EndMMNI(), TMMNet::EndModeNetI(), TBigNet< TNodeData, IsDir >::EndNI(), TNodeNet< TSecTm >::EndNI(), TUNGraph::EndNI(), TNGraph::EndNI(), TNodeEDatNet< TStr, TFltFltH >::EndNI(), TNEGraph::EndNI(), TBPGraph::EndNI(), TNodeEdgeNet< TSecTm, TSecTm >::EndNI(), TNEANet::EndNI(), TUndirNet::EndNI(), TDirNet::EndNI(), TSnap::EventImportance(), TSnap::EventImportance1(), TSnap::FastCorePeripheryGC(), FPrintRoles(), TNetInfBs::GenCascade(), TNEANet::GetAttrENames(), TNEANet::GetAttrNNames(), TNIBs::GetGroundTruthGraphAtT(), TNIBs::GetGroundTruthNetworkAtT(), TSnap::GetGroupDegreeCentr(), TAttr::GetIdVSAttr(), TAttrPair::GetIdVSAttr(), TNIBs::GetInferredGraphAtT(), TNIBs::GetInferredNetworkAtT(), TBPGraph::GetNI(), GetNIdSorted(), TBigNet< TNodeData, IsDir >::GetNIdV(), GetNodeId(), TAGMUtil::GetNodeMembership(), GetNthFeature(), TAttr::GetSAttrV(), TAttrPair::GetSAttrV(), TMMNet::GetSubgraphByCrossNet(), TMMNet::GetSubgraphByModeNet(), TNIBs::Init(), TCoda::LikelihoodForNode(), TAGMFast::LikelihoodForRow(), TCesna::LikelihoodForRow(), TMMNet::LoadNetworkShM(), TSnap::MaxCPGreedyBetter(), TSnap::MaxCPGreedyBetter1(), TSnap::MaxCPGreedyBetter2(), TSnap::MaxCPGreedyBetter3(), TAGMFast::MLEGradAscent(), TCoda::MLEGradAscent(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), TAGMFast::MLENewton(), TAGMFast::Norm2(), TCoda::Norm2(), TCesna::Norm2(), PlotRoles(), TCesna::PredictAttrK(), MAPPR::printAPPR(), PrintFeatures(), TTable::PrintGrouping(), PrintRoles(), TSnap::ReadEdgesFromFile(), TSnap::ReadNodesFromFile(), TSnap::ReebRefine(), TSnap::ReebSimplify(), TModeNet::RemoveCrossNets(), TTable::Save(), TNetInfBs::SaveCascades(), TNIBs::SaveCascades(), TNIBs::SaveGroundTruth(), TNIBs::SaveGroundTruthPajek(), TNIBs::SaveInferred(), TNIBs::SaveInferredPajek(), TNetInfBs::SavePajek(), TNetInfBs::SavePlaneTextNet(), TNIBs::SaveSites(), TBigNet< TNodeData, IsDir >::SaveToDisk(), TTable::SelfSimJoinPerGroup(), MotifCluster::SpectralCut(), TTable::SpliceByGroup(), TAGMFast::Sum(), TCoda::Sum(), TCesna::Sum(), TTable::ThresholdJoinOutputTable(), TTable::ThresholdJoinPerJoinKeyOutputTable(), TMMNet::TMMNet(), TSnap::ToNetwork(), TMMNet::ToNetwork(), TSnap::ToNetworkMP(), TTable::Unique(), and UnweightedGraphRepresentation().
|
inline |
Definition at line 278 of file hash.h.
Referenced by TGnuPlot::AddPlot(), TUNGraph::Defrag(), TNGraph::Defrag(), TNEGraph::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNEANet::Defrag(), TUndirNet::Defrag(), TDirNet::Defrag(), TUNGraph::Dump(), TNGraph::Dump(), TUndirNet::Dump(), TDirNet::Dump(), TUnicode::GetAllCodecs(), TNGraph::GetEdges(), TDirNet::GetEdges(), TNEGraph::GetEIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetEIdV(), TNEANet::GetEIdV(), TUNGraph::GetNIdV(), TNGraph::GetNIdV(), TNEGraph::GetNIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetNIdV(), TNEANet::GetNIdV(), TUndirNet::GetNIdV(), TDirNet::GetNIdV(), TUniChDb::InitLineBreaks(), TUniChDb::InitScripts(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUNGraph::IsOk(), TNGraph::IsOk(), TNEGraph::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNEANet::IsOk(), TUndirNet::IsOk(), TDirNet::IsOk(), TUniChDb::LoadTxt(), TGnuPlot::PlotValCntH(), TGnuPlot::PlotValMomH(), TGnuPlot::PlotValRank(), TKeyDatFl< TKey, TDat, THashFunc >::Save(), TUniChDb::TestComposition(), TUniChDb::TestWbFindNonIgnored(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
bool THash< TKey, TDat, THashFunc >::FNextKeyId | ( | int & | KeyId | ) | const |
Definition at line 478 of file hash.h.
Referenced by TGnuPlot::AddPlot(), THash< TPair, THash >::BegI(), TUNGraph::Defrag(), TNGraph::Defrag(), TNEGraph::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNEANet::Defrag(), TUndirNet::Defrag(), TDirNet::Defrag(), TUNGraph::Dump(), TNGraph::Dump(), TUndirNet::Dump(), TDirNet::Dump(), TGHash< TUInt64 >::FNextKeyId(), TUnicode::GetAllCodecs(), TNGraph::GetEdges(), TDirNet::GetEdges(), TNEGraph::GetEIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetEIdV(), TNEANet::GetEIdV(), TUNGraph::GetNIdV(), TNGraph::GetNIdV(), TNEGraph::GetNIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetNIdV(), TNEANet::GetNIdV(), TUndirNet::GetNIdV(), TDirNet::GetNIdV(), TUniChDb::InitLineBreaks(), TUniChDb::InitScripts(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUNGraph::IsOk(), TNGraph::IsOk(), TNEGraph::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNEANet::IsOk(), TUndirNet::IsOk(), TDirNet::IsOk(), TUniChDb::LoadTxt(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TGnuPlot::PlotValCntH(), TGnuPlot::PlotValMomH(), TGnuPlot::PlotValRank(), TKeyDatFl< TKey, TDat, THashFunc >::Save(), TUniChDb::TestComposition(), TUniChDb::TestWbFindNonIgnored(), TSnap::TSnapDetail::TCNMQMatrix::TCmtyDat::UpdateMaxQ(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
Definition at line 222 of file hash.h.
Referenced by TCesnaUtil::FilterLowEntropy(), TGHash< TUInt64 >::Gen(), TSnap::GetEigenVectorCentr(), TSnap::GetHits(), TSnap::GetHitsMP(), TCoda::GetNIDValH(), TSnap::GetPageRank(), TSnap::GetPageRank_v1(), TSnap::GetPageRankMP(), TSnap::GetWeightedPageRank(), TSnap::GetWeightedPageRankMP(), TCoda::GradientForNode(), TAGMFast::GradientForRow(), TCesna::GradientForRow(), TAGMFit::InitNodeData(), TAGMUtil::LoadEdgeListStr(), TKeyDatFl< TKey, TDat, THashFunc >::LoadHash(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TBigNet< TNodeData, IsDir >::Reserve(), TNodeNet< TSecTm >::Reserve(), TUNGraph::Reserve(), TNGraph::Reserve(), TNodeEDatNet< TStr, TFltFltH >::Reserve(), TNEGraph::Reserve(), TNodeEdgeNet< TSecTm, TSecTm >::Reserve(), TNEANet::Reserve(), TUndirNet::Reserve(), and TDirNet::Reserve().
|
inline |
Definition at line 262 of file hash.h.
Referenced by TSnap::TSnapDetail::_GirvanNewmanGetModularity(), TNEANet::AddAttributes(), TMMNet::AddCrossNet(), TCrossNet::AddEdge(), TNEANetMP::AddEdge(), TNEANet::AddEdge(), AddEgonetFeatures(), TCrossNet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatE(), TNEANet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatN(), TNEANet::AddFltAttrDatN(), TNEANet::AddFltVAttrDatE(), TNEANet::AddFltVAttrDatN(), TCrossNet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatN(), TNEANet::AddIntAttrDatN(), TNEANet::AddIntVAttrDatE(), TNEANet::AddIntVAttrDatN(), AddLocalFeatures(), TNEANetMP::AddNode(), TTable::AddNodeAttributes(), TAttr::AddSAttrDat(), TAttrPair::AddSAttrDat(), TCrossNet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatN(), TNEANet::AddStrAttrDatN(), TTable::Aggregate(), AppendFeatures(), TNEANet::AppendFltVAttrDatE(), TNEANet::AppendFltVAttrDatN(), TNEANet::AppendIntVAttrDatE(), TNEANet::AppendIntVAttrDatN(), TLocClust::ApproxPageRank(), AssignBinValue(), TArtPointVisitor::BackEdge(), TBiConVisitor::BackEdge(), TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), TCrossNet::BegEAFltI(), TNEANetMP::BegEAFltI(), TNEANet::BegEAFltI(), TNEANet::BegEAFltVI(), TCrossNet::BegEAIntI(), TNEANetMP::BegEAIntI(), TNEANet::BegEAIntI(), TNEANet::BegEAIntVI(), TCrossNet::BegEAStrI(), TNEANetMP::BegEAStrI(), TNEANet::BegEAStrI(), TNEANetMP::BegNAFltI(), TNEANet::BegNAFltI(), TNEANet::BegNAFltVI(), TNEANetMP::BegNAIntI(), TNEANet::BegNAIntI(), TNEANet::BegNAIntVI(), TNEANetMP::BegNAStrI(), TNEANet::BegNAStrI(), TSnap::BorgattiEverettMeasure(), TNIBs::BSG(), TTable::BuildGraph(), TTable::CheckAndAddFltNode(), TNEANet::CheckDenseOrSparseE(), TNEANet::CheckDenseOrSparseN(), TSnap::TSnapDetail::chekIfCrossing(), TModeNet::ClrNbr(), TSnap::CmtyEvolutionFileBatch(), TSnap::CmtyEvolutionFileBatchV(), MAPPR::computeProfile(), TAGMUtil::ConnectCmtyVV(), TNEANet::ConvertToSparse(), TCrossNet::DelAttrDatE(), TNEANetMP::DelAttrDatE(), TNEANet::DelAttrDatE(), TNEANetMP::DelAttrDatN(), TNEANet::DelAttrDatN(), TCrossNet::DelAttrE(), TNEANet::DelAttrE(), TNEANet::DelAttrN(), TMMNet::DelCrossNet(), TCrossNet::DelEdge(), TNEANet::DelFromFltVAttrDatN(), TNEANet::DelFromIntVAttrDatN(), TMMNet::DelModeNet(), TModeNet::DelNbrType(), TBPGraph::DelNode(), TAttr::DelSAttrDat(), TAttrPair::DelSAttrDat(), TAGMFast::DotProduct(), TCoda::DotProduct(), TCesna::DotProduct(), TCodaAnalyzer::Draw2ModeCommunity(), TCodaAnalyzer::Dump2ModeCommunities(), TAGMUtil::DumpCmtyVV(), TCesnaUtil::DumpNIDAttrHToMetis(), TNEANet::EdgeAttrIsFltVDeleted(), TNEANet::EdgeAttrIsIntVDeleted(), TCrossNet::EndEAFltI(), TNEANetMP::EndEAFltI(), TNEANet::EndEAFltI(), TNEANet::EndEAFltVI(), TCrossNet::EndEAIntI(), TNEANetMP::EndEAIntI(), TNEANet::EndEAIntI(), TNEANet::EndEAIntVI(), TCrossNet::EndEAStrI(), TNEANetMP::EndEAStrI(), TNEANet::EndEAStrI(), TNEANetMP::EndNAFltI(), TNEANet::EndNAFltI(), TNEANet::EndNAFltVI(), TNEANetMP::EndNAIntI(), TNEANet::EndNAIntI(), TNEANet::EndNAIntVI(), TNEANetMP::EndNAStrI(), TNEANet::EndNAStrI(), TSpecFunc::EntropyBias(), TPredicate::EvalAtomicPredicate(), TSnap::EventImportance(), TSnap::EventImportance1(), TNIBs::FG(), TCesnaUtil::FilterLowEntropy(), TSnap::FindAugV(), TSnap::findMinimum(), TSnap::TSnapDetail::TCNMQMatrix::FindMxQEdge(), TArtPointVisitor::FinishNode(), TBiConVisitor::FinishNode(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TArtPointVisitor::FwdEdge(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), GenerateRecursiveFeatures(), TNEANet::GetAttrIndE(), TNEANet::GetAttrIndN(), TCrossNet::GetAttrTypeE(), TModeNet::GetAttrTypeN(), TSnap::GetBetweennessCentr(), TSnap::GetBfsTree(), TNIBs::GetCasc(), TNIBs::GetCascadeId(), TZipIn::GetCmd(), TZipOut::GetCmd(), TAGMFast::GetCmtyVV(), TCesna::GetCmtyVV(), TD34GraphCounter::GetCnt(), TTable::GetColIdx(), TTable::GetColType(), TTable::GetColTypeMap(), TMMNet::GetCrossId(), TMMNet::GetCrossName(), TMMNet::GetCrossNetByName(), TGHash< TUInt64 >::GetDat(), TCnCom::GetDfsVisitor(), TNIBs::GetDomainId(), TCrossNet::GetEAFltI(), TNEANetMP::GetEAFltI(), TNEANet::GetEAFltI(), TNEANet::GetEAFltVI(), TCrossNet::GetEAIntI(), TNEANetMP::GetEAIntI(), TNEANet::GetEAIntI(), TNEANet::GetEAIntVI(), TCrossNet::GetEAStrI(), TNEANetMP::GetEAStrI(), TNEANet::GetEAStrI(), TNodeEdgeNet< TSecTm, TSecTm >::GetEDat(), TNEGraph::GetEdge(), TNodeEdgeNet< TSecTm, TSecTm >::GetEdge(), TNEANet::GetEdge(), TCrossNet::GetEdgeAttrValue(), TNEANetMP::GetEdgeAttrValue(), TNEANet::GetEdgeAttrValue(), TTimeNENet::GetEdgeTmBuckets(), TSnap::GetEigenVectorCentr(), THttpRq::GetFldVal(), THttpResp::GetFldVal(), THttpResp::GetFldValV(), TCrossNet::GetFltAttrDatE(), TNEANetMP::GetFltAttrDatE(), TNEANet::GetFltAttrDatE(), TNEANetMP::GetFltAttrDatN(), TNEANet::GetFltAttrDatN(), TCrossNet::GetFltAttrDefaultE(), TNEANet::GetFltAttrDefaultE(), TNEANet::GetFltAttrDefaultN(), TNEANetMP::GetFltAttrVecE(), TNEANet::GetFltAttrVecE(), TTable::GetFltNodePropertyTable(), TTable::GetFltRowIdxByVal(), TNEANet::GetFltVAttrDatE(), TNEANet::GetFltVAttrDatN(), TUrlEnv::GetFullUrlStr(), TSnap::GetGroupDegreeCentr0(), TSnap::GetGroupFarnessCentr(), TSnap::GetHits(), TSnap::GetHitsMP(), TAttr::GetIdVSAttr(), TAttrPair::GetIdVSAttr(), TCrossNet::GetIntAttrDatE(), TNEANetMP::GetIntAttrDatE(), TNEANet::GetIntAttrDatE(), TNEANetMP::GetIntAttrDatN(), TNEANet::GetIntAttrDatN(), TCrossNet::GetIntAttrDefaultE(), TNEANet::GetIntAttrDefaultE(), TNEANet::GetIntAttrDefaultN(), TNEANetMP::GetIntAttrIndE(), TNEANet::GetIntAttrIndE(), TNEANetMP::GetIntAttrIndN(), TNEANet::GetIntAttrIndN(), TTable::GetIntRowIdxByVal(), TNEANet::GetIntVAttrDatE(), TNEANet::GetIntVAttrDatN(), TLocClustStat::GetKNodeCut(), TSccVisitor< PGraph, OnlyCount >::GetMinDiscTm(), TMMNet::GetModeId(), TMMNet::GetModeName(), TMMNet::GetModeNetByName(), GetMtxIdx(), TNEANetMP::GetNAFltI(), TNEANet::GetNAFltI(), TNEANet::GetNAFltVI(), TNEANetMP::GetNAIntI(), TNEANet::GetNAIntI(), TNEANet::GetNAIntVI(), TNEANetMP::GetNAStrI(), TNEANet::GetNAStrI(), TBigNet< TNodeData, IsDir >::GetNDat(), TNodeNet< TSecTm >::GetNDat(), TNodeEDatNet< TStr, TFltFltH >::GetNDat(), TNodeEdgeNet< TSecTm, TSecTm >::GetNDat(), TModeNet::GetNeighborsByCrossNet(), TGraphAnf< PGraph >::GetNIdOffset(), TBigNet< TNodeData, IsDir >::GetNode(), TNodeNet< TSecTm >::GetNode(), TUNGraph::GetNode(), TNGraph::GetNode(), TNodeEDatNet< TStr, TFltFltH >::GetNode(), TNEGraph::GetNode(), TNodeEdgeNet< TSecTm, TSecTm >::GetNode(), TNEANet::GetNode(), TUndirNet::GetNode(), TDirNet::GetNode(), TNEANetMP::GetNodeAttrValue(), TNEANet::GetNodeAttrValue(), TNetInfBs::GetNodeInfo(), TNIBs::GetNodeInfo(), TNetInfBs::GetNodeNm(), TNIBs::GetNodeNm(), TGraphEnumUtils::GetNormalizedGraph(), TSnap::GetPageRank_v1(), TCascade::GetParent(), TMaxPriorityQueue< TVal >::GetPriority(), TCascade::GetProb(), TILx::GetRw(), TAttr::GetSAttrDat(), TAttrPair::GetSAttrDat(), TAttr::GetSAttrId(), TAttrPair::GetSAttrId(), TAttr::GetSAttrName(), TAttrPair::GetSAttrName(), TAGMFast::GetStepSizeByLineSearch(), TCoda::GetStepSizeByLineSearch(), TCesna::GetStepSizeByLineSearch(), TCrossNet::GetStrAttrDatE(), TNEANetMP::GetStrAttrDatE(), TNEANet::GetStrAttrDatE(), TNEANetMP::GetStrAttrDatN(), TNEANet::GetStrAttrDatN(), TCrossNet::GetStrAttrDefaultE(), TNEANet::GetStrAttrDefaultE(), TNEANet::GetStrAttrDefaultN(), TTable::GetStrRowIdxByMap(), TMMNet::GetSubgraphByCrossNet(), TMMNet::GetSubgraphByModeNet(), TCascade::GetTm(), TTimeNet::GetTmBuckets(), TTimeNENet::GetTmBuckets(), TGStat::GetVal(), TGStat::GetValStr(), TSnap::GetWeightedBetweennessCentr(), TSnap::GetWeightedPageRank(), TSnap::GetWeightedPageRankMP(), TSnap::GetWeightedShortestPath(), TAGMUtil::GVizComGraph(), TSnap::TSnapDetail::inComp(), TSnap::Infomap(), TSnap::InfomapOnline(), TSnap::TSnapDetail::InfomapOnlineIncrement(), TNetInfBs::Init(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TBigNet< TNodeData, IsDir >::InvertFromSources(), TNEANetMP::IsFltAttrE(), TNEANet::IsFltAttrE(), TNEANetMP::IsIntAttrE(), TNEANet::IsIntAttrE(), TBigNet< TNodeData, IsDir >::IsolateNode(), TNEANetMP::IsStrAttrE(), TNEANet::IsStrAttrE(), TTable::Join(), LearnEmbeddings(), TTimeNet::LoadArxiv(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TUniChDb::LoadTxt(), TSnap::TSnapDetail::MapEquationNew2Modules(), TCluster::MCMC(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TCesna::MLEGradAscent(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), TNEANet::NodeAttrIsFltVDeleted(), TNEANet::NodeAttrIsIntVDeleted(), TD34GraphCounter::operator()(), TDGraphCounter::operator()(), TGHash< TUInt64 >::operator()(), TGStat::operator<(), THash< TKey, TDat, THashFunc >::operator==(), TUnionFind::Parent(), TSnap::PearsonCorrelation(), TLocClustStat::PlotPhiDistr(), TUnionFind::Rank(), TSnap::ReebRefine(), TSnap::ReebSimplify(), TModeNet::RemoveCrossNets(), TTable::RequestIndexFlt(), TTable::RequestIndexInt(), TTable::RequestIndexStrMap(), TBigNet< TNodeData, IsDir >::Rewire(), TAGMUtil::SaveBipartiteGephi(), TNetInfBs::SaveEdgeInfo(), TAGMUtil::SaveGephi(), TNetInfBs::SaveGroundTruth(), TSnap::SaveGViz(), TSnap::SavePajek(), TNIBs::SaveSites(), TTable::SelfSimJoinPerGroup(), TNodeEdgeNet< TNodeData, TEdgeData >::SetNDat(), TMaxPriorityQueue< TVal >::SetPriority(), TNIBs::SG(), TTable::SpliceByGroup(), TMaxPriorityQueue< TVal >::Swap(), TTable::ThresholdJoinCountCollisions(), TTable::ThresholdJoinCountPerJoinKeyCollisions(), TMMNet::TMMNet(), TSnap::ToNetwork(), TMMNet::ToNetwork(), TMMNet::ToNetwork2(), TMMNet::ToNetworkMP(), TSnap::ToNetworkMP(), TNIBs::UpdateDiff(), TTable::UpdateFltFromTable(), TTable::UpdateGrouping(), and TCascade::UpdateProb().
|
inline |
void THash< TKey, TDat, THashFunc >::GetDatKeyKdV | ( | TVec< TKeyDat< TDat, TKey > > & | DatKeyKdV | ) | const |
void THash< TKey, TDat, THashFunc >::GetDatKeyPrV | ( | TVec< TPair< TDat, TKey > > & | DatKeyPrV | ) | const |
Definition at line 511 of file hash.h.
Referenced by TGHash< TUInt64 >::GetDatKeyPrV().
void THash< TKey, TDat, THashFunc >::GetDatV | ( | TVec< TDat > & | DatV | ) | const |
Definition at line 492 of file hash.h.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Gen().
Referenced by TAGMUtil::ConnectCmtyVV(), TGHash< TUInt64 >::GetDatV(), TAGMUtil::RewireCmtyVV(), and TTable::TTable().
|
inline |
Definition at line 264 of file hash.h.
Referenced by TSnap::GetPersonalizedPageRankBidirectional().
|
inlineprivate |
Definition at line 136 of file hash.h.
Referenced by THash< TPair, THash >::GetKey(), THash< TPair, THash >::GetKeyDat(), THash< TPair, THash >::IsKeyGetDat(), and THash< TPair, THash >::operator[]().
|
inlineprivate |
|
inline |
Definition at line 220 of file hash.h.
Referenced by TMMNet::GetCrossNetI(), TCrossNet::GetEdgeI(), TNEGraph::GetEI(), TNodeEdgeNet< TSecTm, TSecTm >::GetEI(), TNEANet::GetEI(), TGHash< TUInt64 >::GetI(), TModeNet::GetMMNI(), TMMNet::GetModeNetI(), TBigNet< TNodeData, IsDir >::GetNI(), TNodeNet< TSecTm >::GetNI(), TUNGraph::GetNI(), TNGraph::GetNI(), TNodeEDatNet< TStr, TFltFltH >::GetNI(), TNEGraph::GetNI(), TBPGraph::GetNI(), TNodeEdgeNet< TSecTm, TSecTm >::GetNI(), TNEANet::GetNI(), TUndirNet::GetNI(), TDirNet::GetNI(), TCrossNet::IsFltAttrDeletedE(), TNEANet::IsFltAttrDeletedE(), TNEANet::IsFltAttrDeletedN(), TNEANet::IsFltVAttrDeletedE(), TNEANet::IsFltVAttrDeletedN(), TCrossNet::IsIntAttrDeletedE(), TNEANet::IsIntAttrDeletedE(), TNEANet::IsIntAttrDeletedN(), TNEANet::IsIntVAttrDeletedE(), TNEANet::IsIntVAttrDeletedN(), TCrossNet::IsStrAttrDeletedE(), TNEANet::IsStrAttrDeletedE(), and TNEANet::IsStrAttrDeletedN().
|
inline |
Definition at line 252 of file hash.h.
Referenced by TGnuPlot::AddPlot(), TTable::Aggregate(), TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), TNIBs::BSG(), TForestFire::BurnExpFire(), TForestFire::BurnGeoFire(), TSnap::CmtyEvolutionFileBatch(), TSnap::TSnapDetail::CmtyGirvanNewmanStep(), TNEANet::ConvertToSparse(), TMom::Def(), THash< TPair, THash >::DelKeyId(), TUnionFind::Dump(), TCoda::DumpMemberships(), TCesnaUtil::DumpNIDAttrHToNIDK(), TNIBs::FG(), TCesnaUtil::FilterLowEntropy(), TLocClust::FindBestCut(), TNIBs::GenCascade(), TSnap::GetBfsEffDiam(), TSnap::GetBfsTree(), TLocClustStat::GetBoltzmanCurveStat(), TSnap::GetClustCf(), TAGMFast::GetCmtyVV(), TCoda::GetCmtyVV(), TCesna::GetCmtyVV(), TLocClustStat::GetCurveStat(), TSnap::GetDegCnt(), TNEGraph::GetEIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetEIdV(), TNEANet::GetEIdV(), TSnap::GetEigenVectorCentr(), TD34GraphCounter::GetId(), TSnap::GetInDegCnt(), TGHash< TUInt64 >::GetKey(), TUnionFind::GetKeyI(), TSnap::TSnapDetail::TCNMQMatrix::TCmtyDat::GetMxQNId(), TUNGraph::GetNIdV(), TNGraph::GetNIdV(), TNEGraph::GetNIdV(), TNodeEdgeNet< TNodeData, TEdgeData >::GetNIdV(), TNEANet::GetNIdV(), TUndirNet::GetNIdV(), TDirNet::GetNIdV(), TCascade::GetNode(), TAGMUtil::GetNodeMembership(), TNetConstraint< PGraph >::GetNodePr(), TSnap::GetNodesAtHop(), TSnap::GetOutDegCnt(), TNEGraph::GetRndEId(), TNodeEdgeNet< TSecTm, TSecTm >::GetRndEId(), TNEANet::GetRndEId(), TBigNet< TNodeData, IsDir >::GetRndNId(), TNodeNet< TSecTm >::GetRndNId(), TUNGraph::GetRndNId(), TNGraph::GetRndNId(), TNodeEDatNet< TStr, TFltFltH >::GetRndNId(), TNEGraph::GetRndNId(), TNodeEdgeNet< TSecTm, TSecTm >::GetRndNId(), TNEANet::GetRndNId(), TUndirNet::GetRndNId(), TDirNet::GetRndNId(), TUniChDb::GetScriptName(), TAGMFast::GetStepSizeByLineSearch(), TCoda::GetStepSizeByLineSearch(), TCesna::GetStepSizeByLineSearch(), THttpRq::GetStr(), TUniChDb::InitScripts(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TNIBs::LabelBurstAutomaton(), TTimeNet::LoadArxiv(), TNIBs::LoadGroundTruthTxt(), TNIBs::LoadInferredTxt(), TUniChDb::LoadTxt(), THash< TPair, THash >::MarkDelKeyId(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TCesna::MLEGradAscent(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), THash< TKey, TDat, THashFunc >::THashKeyDatCmp::operator()(), TLocClustStat::PlotBoltzmanCurve(), TLocClustStat::PlotNCPScatter(), TSnap::PlotShortPathDistr(), TGnuPlot::PlotValCntH(), TGnuPlot::PlotValMomH(), TBigNet< TNodeData, IsDir >::Rewire(), TAGMUtil::RewireCmtyNID(), TAGMFit::SampleTransition(), TKeyDatFl< TKey, TDat, THashFunc >::Save(), TCesna::SetGraph(), TNIBs::SG(), TLocClust::SupportSweep(), TUniChDb::TestComposition(), TUniChDb::TestWbFindNonIgnored(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
Definition at line 271 of file hash.h.
Referenced by TGHash< TUInt64 >::GetKeyDat().
void THash< TKey, TDat, THashFunc >::GetKeyDatKdV | ( | TVec< TKeyDat< TKey, TDat > > & | KeyDatKdV | ) | const |
void THash< TKey, TDat, THashFunc >::GetKeyDatPrV | ( | TVec< TPair< TKey, TDat > > & | KeyDatPrV | ) | const |
Definition at line 500 of file hash.h.
Referenced by TGStat::AvgGStat(), TSnap::GetBiConSzCnt(), TTimeNENet::GetEdgeTmBuckets(), TGHash< TUInt64 >::GetKeyDatPrV(), TSnap::GetNodesAtHops(), TSnap::GetSccSzCnt(), TTimeNet::GetTmBuckets(), TTimeNENet::GetTmBuckets(), TSnap::GetTriadParticip(), TGnuPlot::PlotCntOverTm(), TSnap::PlotEigValDistr(), and TSnap::PlotSngValDistr().
int THash< TKey, TDat, THashFunc >::GetKeyId | ( | const TKey & | Key | ) | const |
Definition at line 466 of file hash.h.
Referenced by TUniTrie< TInt >::Add(), TNEANet::AddAttributes(), TUniChDb::AddDecomposition(), TCrossNet::AddEdge(), TNEANet::AddEdge(), TCrossNet::AddFltAttrDatE(), TNEANet::AddFltAttrDatE(), TNEANet::AddFltAttrDatN(), TNEANet::AddFltVAttrDatE(), TNEANet::AddFltVAttrDatN(), TCrossNet::AddIntAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANet::AddIntAttrDatN(), TNEANet::AddIntVAttrDatE(), TNEANet::AddIntVAttrDatN(), TSnap::TSnapDetail::TCNMQMatrix::TCmtyDat::AddQ(), TCrossNet::AddStrAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANet::AddStrAttrDatN(), TNEANet::AppendFltVAttrDatE(), TNEANet::AppendFltVAttrDatN(), TNEANet::AppendIntVAttrDatE(), TNEANet::AppendIntVAttrDatN(), TUniChDb::Compose(), TCrossNet::DelAttrDatE(), TNEANet::DelAttrDatE(), TNEANet::DelAttrDatN(), TCrossNet::DelEdge(), TNEANet::DelEdge(), TNEANet::DelFromFltVAttrDatN(), TNEANet::DelFromIntVAttrDatN(), TNEANet::DelNode(), TCrossNet::EdgeAttrIsFltDeleted(), TNEANet::EdgeAttrIsFltDeleted(), TNEANet::EdgeAttrIsFltVDeleted(), TCrossNet::EdgeAttrIsIntDeleted(), TNEANet::EdgeAttrIsIntDeleted(), TNEANet::EdgeAttrIsIntVDeleted(), TCrossNet::EdgeAttrIsStrDeleted(), TNEANet::EdgeAttrIsStrDeleted(), TNEANet::FltAttrValueNI(), TNEANet::FltVAttrValueEI(), TNEANet::FltVAttrValueNI(), TUniCaseFolding::Fold(), TUniCaseFolding::FoldInPlace(), TUniTrie< TInt >::Get3GramRoot(), TUniChDb::GetCaseConverted(), TUniChDb::GetCat(), TUniChDb::GetCharName(), TUniChDb::GetCombiningClass(), THash< TPair, THash >::GetDat(), THash< TPair, THash >::GetDatWithDefault(), TCrossNet::GetEAFltI(), TNEANet::GetEAFltI(), TNEANet::GetEAFltVI(), TCrossNet::GetEAIntI(), TNEANet::GetEAIntI(), TNEANet::GetEAIntVI(), TCrossNet::GetEAStrI(), TNEANet::GetEAStrI(), TCrossNet::GetEdgeAttrValue(), TNEANet::GetEdgeAttrValue(), THtmlLxChDef::GetEscStr(), TCrossNet::GetFltAttrDatE(), TNEANet::GetFltAttrDatE(), TNEANet::GetFltAttrDatN(), TNEANet::GetFltAttrIndDatE(), TNEANet::GetFltAttrIndDatN(), TNEANet::GetFltKeyIdE(), TNEANet::GetFltVAttrDatE(), TNEANet::GetFltVAttrDatN(), THash< TPair, THash >::GetI(), TCrossNet::GetIntAttrDatE(), TNEANet::GetIntAttrDatE(), TNEANet::GetIntAttrDatN(), TNEANet::GetIntAttrIndDatE(), TNEANet::GetIntAttrIndDatN(), TNEANet::GetIntVAttrDatE(), TNEANet::GetIntVAttrDatN(), TGHash< TUInt64 >::GetKeyId(), TNEANet::GetNAFltI(), TNEANet::GetNAFltVI(), TNEANet::GetNAIntI(), TNEANet::GetNAIntVI(), TNEANet::GetNAStrI(), TNEANet::GetNodeAttrValue(), TUniChDb::GetSbFlags(), TUniChDb::GetScript(), TUniChDb::GetScriptByName(), TUniChDb::GetSimpleCaseConverted(), TSnap::GetSngVals(), TSnap::GetSngVec(), TLxSymStr::GetSSym(), TCrossNet::GetStrAttrDatE(), TNEANet::GetStrAttrDatE(), TNEANet::GetStrAttrDatN(), TNEANet::GetStrAttrIndDatE(), TNEANet::GetStrAttrIndDatN(), TUniChDb::GetSubCat(), TILx::GetSym(), TUniChDb::GetWbFlags(), TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TNEANet::IntAttrValueEI(), TNEANet::IntAttrValueNI(), TNEANet::IntVAttrValueEI(), TNEANet::IntVAttrValueNI(), TUniChDb::IsGetChInfo(), THash< TPair, THash >::IsKey(), TUniChDb::IsPrivateUse(), TUniChDb::IsSbFlag(), TUniChDb::IsSurrogate(), TUniChDb::IsWbFlag(), TUniChDb::IsWbIgnored(), TUniChDb::LoadTxt(), TNEANet::NodeAttrIsFltDeleted(), TNEANet::NodeAttrIsFltVDeleted(), TNEANet::NodeAttrIsIntDeleted(), TNEANet::NodeAttrIsIntVDeleted(), TNEANet::NodeAttrIsStrDeleted(), TUniChDb::TSubcatHelper::SetCat(), TNEANet::StrAttrValueNI(), TLocClust::SupportSweep(), TGraphKey::TakeGraph(), TGraphKey::TakeSig(), TUniChDb::TSubcatHelper::TestCat(), and TUniChDb::ToSimpleCaseConverted().
void THash< TKey, TDat, THashFunc >::GetKeyV | ( | TVec< TKey > & | KeyV | ) | const |
Definition at line 484 of file hash.h.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Gen().
Referenced by TNEANet::AddAttributes(), TCrossNet::AddEdge(), TNEANet::AddEdge(), TModeNet::Clr(), TCoda::GetCmtyVV(), TModeNet::GetCrossNetNames(), TGHash< TUInt64 >::GetKeyV(), TCoda::GetTopCIDs(), TBreathFS< PGraph >::GetVisitedNIdV(), TBigNet< TNodeData, IsDir >::Rewire(), TMMNet::ToNetworkMP(), and TTable::TTable().
|
inline |
Definition at line 201 of file hash.h.
Referenced by TAttr::GetMemUsed(), and TTable::GetMemUsedKB().
|
inline |
Definition at line 231 of file hash.h.
Referenced by TAttr::AddSAttr(), TAttrPair::AddSAttr(), TGHash< TUInt64 >::GetMxKeyIds(), and TBigNet< TNodeData, IsDir >::Rewire().
|
private |
Definition at line 307 of file hash.h.
Referenced by THash< TPair, THash >::Gen().
|
inline |
Definition at line 229 of file hash.h.
Referenced by TGHash< TUInt64 >::GetPorts().
|
inline |
int THash< TKey, TDat, THashFunc >::GetRndKeyId | ( | TRnd & | Rnd | ) | const |
Get an index of a random element. If the hash table has many deleted keys, this may take a long time.
Definition at line 444 of file hash.h.
References TRnd::GetUniDevInt(), and IAssert.
Referenced by TNEGraph::GetRndEId(), TNodeEdgeNet< TSecTm, TSecTm >::GetRndEId(), TNEANet::GetRndEId(), TBigNet< TNodeData, IsDir >::GetRndNId(), TNodeNet< TSecTm >::GetRndNId(), TUNGraph::GetRndNId(), TNGraph::GetRndNId(), TNodeEDatNet< TStr, TFltFltH >::GetRndNId(), TNEGraph::GetRndNId(), TNodeEdgeNet< TSecTm, TSecTm >::GetRndNId(), TNEANet::GetRndNId(), TUndirNet::GetRndNId(), TDirNet::GetRndNId(), TBigNet< TNodeData, IsDir >::Rewire(), and TAGMFit::SampleTransition().
int THash< TKey, TDat, THashFunc >::GetRndKeyId | ( | TRnd & | Rnd, |
const double & | EmptyFrac | ||
) |
Get an index of a random element. If the hash table has many deleted keys, defrag the hash table first (that's why the function is non-const).
Definition at line 455 of file hash.h.
References TRnd::GetUniDevInt(), and IAssert.
|
inline |
Definition at line 230 of file hash.h.
Referenced by TGHash< TUInt64 >::IsAutoSize().
|
inline |
Definition at line 258 of file hash.h.
Referenced by TMMNet::AddCrossNet(), TCrossNet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatE(), TNEANet::AddFltAttrDatE(), TNEANetMP::AddFltAttrDatN(), TNEANet::AddFltAttrDatN(), TCrossNet::AddFltAttrE(), TNEANet::AddFltAttrE(), TNEANet::AddFltAttrN(), TCrossNet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANetMP::AddIntAttrDatN(), TNEANet::AddIntAttrDatN(), TCrossNet::AddIntAttrE(), TNEANet::AddIntAttrE(), TNEANet::AddIntAttrN(), TMMNet::AddModeNet(), TModeNet::AddNbrType(), TModeNet::AddNeighbor(), TTable::AddNodeAttributes(), TILx::AddRw(), TOLx::AddRw(), TAttr::AddSAttr(), TAttr::AddSAttrDat(), TAttrPair::AddSAttrDat(), TCrossNet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatN(), TNEANet::AddStrAttrDatN(), TCrossNet::AddStrAttrE(), TNEANet::AddStrAttrE(), TNEANet::AddStrAttrN(), TArtPointVisitor::BackEdge(), TBiConVisitor::BackEdge(), TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), TNIBs::BSG(), TTable::BuildGraph(), TForestFire::BurnExpFire(), TForestFire::BurnGeoFire(), TTable::CheckAndAddFltNode(), TNEANet::CheckDenseOrSparseE(), TNEANet::CheckDenseOrSparseN(), TSnap::CmtyEvolutionFileBatch(), TCrossNet::DelAttrE(), TNEANet::DelAttrE(), TNEANet::DelAttrN(), TMMNet::DelCrossNet(), THash< TPair, THash >::DelIfKey(), TMMNet::DelModeNet(), TModeNet::DelNeighbor(), TNEANet::DelNode(), TAttr::DelSAttrDat(), TAttrPair::DelSAttrDat(), TAGMFast::DotProduct(), TCoda::DotProduct(), TCesna::DotProduct(), TCodaAnalyzer::Draw2ModeCommunity(), TCodaAnalyzer::Dump2ModeCommunities(), TAGMUtil::DumpCmtyVV(), TCesnaUtil::DumpNIDAttrHToMetis(), TSpecFunc::EntropyBias(), TSnap::FastCorePeripheryGC(), TCesnaUtil::FilterLowEntropy(), TSnap::TSnapDetail::TCNMQMatrix::FindMxQEdge(), TArtPointVisitor::FinishNode(), TBiConVisitor::FinishNode(), TNEANet::FltVAttrValueEI(), TNEANet::FltVAttrValueNI(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TCrossNet::GetAttrTypeE(), TModeNet::GetAttrTypeN(), TZipIn::GetCmd(), TZipOut::GetCmd(), TTable::GetColIdx(), TTable::GetCollidingRows(), TMMNet::GetCrossId(), TMMNet::GetCrossName(), TCnCom::GetDfsVisitor(), TTimeNENet::GetEdgeTmBuckets(), THttpRq::GetFldVal(), THttpResp::GetFldVal(), THttpResp::GetFldValV(), TCrossNet::GetFltAttrDefaultE(), TNEANet::GetFltAttrDefaultE(), TNEANet::GetFltAttrDefaultN(), TTable::GetFltRowIdxByVal(), TNIBs::GetGroundTruthGraphAtT(), TNIBs::GetGroundTruthNetworkAtT(), TSnap::GetGroupDegreeCentr(), TSnap::GetGroupDegreeCentr0(), TAttr::GetIdVSAttr(), TAttrPair::GetIdVSAttr(), TNIBs::GetInferredGraphAtT(), TNIBs::GetInferredNetworkAtT(), TCrossNet::GetIntAttrDefaultE(), TNEANet::GetIntAttrDefaultE(), TNEANet::GetIntAttrDefaultN(), TTable::GetIntRowIdxByVal(), TMMNet::GetModeId(), TMMNet::GetModeName(), TMaxPriorityQueue< TVal >::GetPriority(), TAttr::GetSAttrDat(), TAttrPair::GetSAttrDat(), TAttr::GetSAttrId(), TAttrPair::GetSAttrId(), TAttr::GetSAttrName(), TAttrPair::GetSAttrName(), TAttr::GetSAttrV(), TAttrPair::GetSAttrV(), TCrossNet::GetStrAttrDefaultE(), TNEANet::GetStrAttrDefaultE(), TNEANet::GetStrAttrDefaultN(), TTable::GetStrRowIdxByMap(), TMMNet::GetSubgraphByCrossNet(), TMMNet::GetSubgraphByModeNet(), TTimeNet::GetTmBuckets(), TTimeNENet::GetTmBuckets(), TGStat::GetVal(), TGStat::GetValStr(), TSnap::GetWeightedShortestPath(), TUniTrie< TInt >::Has1Gram(), TUniTrie< TInt >::Has2Gram(), TGStat::HasDistr(), TGStat::HasVal(), TSnap::TSnapDetail::inComp(), TNetInfBs::Init(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TSnap::Intersect(), TSnap::IntFlowBiDBFS(), TNEANet::IntVAttrValueEI(), TNEANet::IntVAttrValueNI(), THtmlTok::IsBreakTag(), TNIBs::IsCascade(), TTable::IsColName(), TNIBs::IsDomainNm(), TCrossNet::IsEdge(), TNEGraph::IsEdge(), TNodeEdgeNet< TSecTm, TSecTm >::IsEdge(), TNEANet::IsEdge(), THttpRq::IsFldNm(), THttpResp::IsFldNm(), TNEANetMP::IsFltAttrE(), TNEANet::IsFltAttrE(), TNEANetMP::IsIntAttrE(), TNEANet::IsIntAttrE(), TGHash< TUInt64 >::IsKey(), TUnionFind::IsKey(), THash< TPair, THash >::IsKeyGetDat(), TBPGraph::IsLNode(), TCascade::IsNode(), TBigNet< TNodeData, IsDir >::IsNode(), TNodeNet< TSecTm >::IsNode(), TUNGraph::IsNode(), TNGraph::IsNode(), TNodeEDatNet< TStr, TFltFltH >::IsNode(), TNEGraph::IsNode(), TNodeEdgeNet< TSecTm, TSecTm >::IsNode(), TNEANet::IsNode(), TUndirNet::IsNode(), TDirNet::IsNode(), TNetInfBs::IsNodeNm(), TNIBs::IsNodeNm(), TBPGraph::IsRNode(), TNEANetMP::IsStrAttrE(), TNEANet::IsStrAttrE(), TZipIn::IsZipExt(), TZipOut::IsZipExt(), TTable::Join(), LearnEmbeddings(), TTimeNet::LoadArxiv(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TSnap::TSnapDetail::MapEquationNew2Modules(), MapIdsToFirstN(), TSnap::TSnapDetail::TCNMQMatrix::MergeBestQ(), TCoda::MLEGradAscentParallel(), TD34GraphCounter::operator()(), TDGraphCounter::operator()(), TGStat::operator<(), THash< TKey, TDat, THashFunc >::operator==(), PreprocessNode(), TSnap::ReebRefine(), TModeNet::RemoveCrossNets(), TTable::RequestIndexFlt(), TTable::RequestIndexInt(), TTable::RequestIndexStrMap(), TBigNet< TNodeData, IsDir >::Rewire(), TAGMUtil::RewireCmtyNID(), TAGMFit::SampleTransition(), TAGMUtil::SaveBipartiteGephi(), TNIBs::SaveCascades(), TAGMUtil::SaveGephi(), TNetInfBs::SaveGroundTruth(), TNIBs::SaveGroundTruth(), TNIBs::SaveGroundTruthPajek(), TSnap::SaveGViz(), TNIBs::SaveInferred(), TNIBs::SaveInferredEdges(), TNIBs::SaveInferredPajek(), TSnap::SavePajek(), TNIBs::SaveSites(), TTable::SelfSimJoinPerGroup(), TMaxPriorityQueue< TVal >::SetPriority(), TNIBs::SG(), TUniChDb::TestComposition(), TTable::ThresholdJoinCountCollisions(), TTable::ThresholdJoinCountPerJoinKeyCollisions(), TSnap::ToNetwork(), TMMNet::ToNetwork(), TMMNet::ToNetwork2(), TMMNet::ToNetworkMP(), TSnap::ToNetworkMP(), TNIBs::UpdateDiff(), TTable::UpdateFltFromTable(), TTable::UpdateGrouping(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
|
inline |
Definition at line 274 of file hash.h.
Referenced by TSnap::GetBfsEffDiam(), TUnicode::GetCodec(), TXmlLx::IsEntityNm(), TGHash< TUInt64 >::IsKeyGetDat(), TBigNet< TNodeData, IsDir >::IsNode(), and TXmlLx::IsPEntityNm().
|
inline |
Definition at line 260 of file hash.h.
Referenced by TGHash< TUInt64 >::IsKeyId().
|
inline |
Definition at line 233 of file hash.h.
Referenced by THash< TPair, THash >::BegI(), TUNGraph::Defrag(), TNGraph::Defrag(), TNEGraph::Defrag(), TNodeEdgeNet< TNodeData, TEdgeData >::Defrag(), TNEANet::Defrag(), TUndirNet::Defrag(), TDirNet::Defrag(), and TGHash< TUInt64 >::IsKeyIdEqKeyN().
|
inline |
Definition at line 228 of file hash.h.
Referenced by TNIBs::AddCasc(), TNIBs::AddDomainNm(), TModeNet::AddIntVAttrByHashN(), TGnuPlot::AddPlot(), TILx::AddRw(), TOLx::AddRw(), TTable::Aggregate(), TLocClust::ApproxPageRank(), AssignBinValue(), ProcessedGraph::assignWeights_undir(), TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), THash< TPair, THash >::BegI(), TNIBs::BSG(), TForestFire::BurnExpFire(), TForestFire::BurnGeoFire(), TTable::CheckAndAddFltNode(), TSnap::TSnapDetail::TCNMQMatrix::CmtyCMN(), TSnap::CmtyEvolutionFileBatch(), TSnap::CmtyEvolutionFileBatchV(), TSnap::CmtyEvolutionJson(), ConvertFeatureToMatrix(), TMom::Def(), TAGMFast::DotProduct(), TCoda::DotProduct(), TCesna::DotProduct(), TUnionFind::Dump(), TCoda::DumpMemberships(), TCesnaUtil::DumpNIDAttrHToNIDK(), THash< TPair, THash >::Empty(), TSnap::TSnapDetail::Equation(), TSnap::FastCorePeriphery(), TSnap::FastCorePeripheryGC(), TNIBs::FG(), TCesnaUtil::FilterLowEntropy(), TLocClust::FindBestCut(), FPrintNodeMappings(), TNIBs::GenCascade(), TCesnaUtil::GetAttrs(), TSnap::GetBfsEffDiam(), TSnap::GetBfsTree(), TLocClustStat::GetBoltzmanCurveStat(), TNIBs::GetCascs(), TSnap::GetClustCf(), TMMNet::GetCrossNets(), TLocClustStat::GetCurveStat(), TLocClustStat::GetCuts(), TSnap::GetDegCnt(), TGStat::GetDistrs(), TCrossNet::GetEdges(), TNEGraph::GetEdges(), TNodeEdgeNet< TSecTm, TSecTm >::GetEdges(), TNEANet::GetEdges(), TSnap::GetEigenVectorCentr(), TSnap::GetGroupDegreeCentr(), TSnap::GetGroupDegreeCentr0(), TSnap::GetGroupFarnessCentr(), TSnap::GetHits(), TSnap::GetHitsMP(), TSnap::GetInDegCnt(), TBPGraph::GetLNodes(), TCascade::GetMaxTm(), TMMNet::GetModeNets(), TSnap::GetNodeEcc(), TAGMUtil::GetNodeMembership(), TBigNet< TNodeData, IsDir >::GetNodes(), TNodeNet< TSecTm >::GetNodes(), TUNGraph::GetNodes(), TNGraph::GetNodes(), TNodeEDatNet< TStr, TFltFltH >::GetNodes(), TNEGraph::GetNodes(), TNodeEdgeNet< TSecTm, TSecTm >::GetNodes(), TNEANet::GetNodes(), TUndirNet::GetNodes(), TDirNet::GetNodes(), TSnap::GetNodesAtHop(), TSnap::GetNodesAtHops(), TBreathFS< PGraph >::GetNVisited(), TSnap::GetOutDegCnt(), TSnap::GetPageRank_v1(), TBPGraph::GetRNodes(), TSnap::GetShortPath(), TLxSymStr::GetSSym(), TAGMFast::GetStepSizeByLineSearch(), TCoda::GetStepSizeByLineSearch(), TCesna::GetStepSizeByLineSearch(), THttpRq::GetStr(), TSnap::GetSubTreeSz(), TCoda::GetTopCIDs(), TGStat::GetVals(), TSnap::GetWeightedPageRank(), TCoda::GradientForNode(), TAGMFast::GradientForRow(), TCesna::GradientForRow(), TSnap::Infomap(), TSnap::InfomapOnline(), TUniChDb::InitScripts(), TBigNet< TNodeData, IsDir >::InvertFromSources(), THtmlTok::IsBreakTag(), TNIBs::LabelBurstAutomaton(), TD34GraphCounter::Len(), TCascade::Len(), TGHash< TUInt64 >::Len(), TUnionFind::Len(), TNetConstraint< PGraph >::Len(), TCascade::LenAfterT(), TCascade::LenBeforeT(), TTimeNet::LoadArxiv(), TAGMUtil::LoadEdgeListStr(), TNIBs::LoadGroundTruthTxt(), TNIBs::LoadInferredTxt(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TCesna::MLEGradAscent(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), THash< TKey, TDat, THashFunc >::operator==(), TLocClustStat::PlotBoltzmanCurve(), TLocClustStat::PlotNCPScatter(), TSnap::PlotShortPathDistr(), TGnuPlot::PlotValCntH(), TGnuPlot::PlotValRank(), TSnap::PrintInfo(), TAGMFit::PrintSummary(), TSnap::ReebRefine(), TBigNet< TNodeData, IsDir >::Rewire(), TAGMUtil::RewireCmtyNID(), TLocClustStat::Run(), TAGMFit::SampleTransition(), TKeyDatFl< TKey, TDat, THashFunc >::Save(), TNIBs::SaveGroundTruthPajek(), TNIBs::SaveInferredPajek(), TBigNet< TNodeData, IsDir >::SaveToDisk(), TTable::SelfSimJoinPerGroup(), TCesna::SetGraph(), TNIBs::SG(), TLocClust::SupportSweep(), and MAPPR::sweepAPPR().
|
inline |
Definition at line 177 of file hash.h.
Referenced by TAttr::Load(), TAGMFit::Load(), TUniCaseFolding::Load(), TUniChDb::Load(), and TBigNet< TNodeData, IsDir >::LoadNodeDatH().
|
inline |
Load THash from shared memory file. Copying/Deleting Keys is illegal.
Definition at line 157 of file hash.h.
Referenced by TUNGraph::LoadGraphShM(), TNGraph::LoadGraphShM(), TNodeNet< TSecTm >::LoadNetworkShM(), TMMNet::LoadNetworkShM(), TNodeEDatNet< TStr, TFltFltH >::LoadNetworkShM(), TNodeEdgeNet< TSecTm, TSecTm >::LoadNetworkShM(), TUndirNet::LoadNetworkShM(), TDirNet::LoadNetworkShM(), TModeNet::LoadShM(), TCrossNet::LoadShM(), and TTable::LoadTableShM().
|
inline |
void THash< TKey, TDat, THashFunc >::LoadXml | ( | const PXmlTok & | XmlTok, |
const TStr & | Nm = "" |
||
) |
Definition at line 127 of file xmlser.h.
References TVec< TVal, TSizeTy >::Len(), XLoad, and XLoadHd.
void THash< TKey, TDat, THashFunc >::MarkDelKey | ( | const TKey & | Key | ) |
Definition at line 426 of file hash.h.
References IAssert, and IAssertR.
Referenced by THash< TPair, THash >::MarkDelKeyId().
|
inline |
|
inline |
|
inline |
bool THash< TKey, TDat, THashFunc >::operator== | ( | const THash< TKey, TDat, THashFunc > & | Hash | ) | const |
Definition at line 350 of file hash.h.
References THash< TKey, TDat, THashFunc >::GetDat(), THash< TKey, TDat, THashFunc >::IsKey(), and THash< TKey, TDat, THashFunc >::Len().
|
inline |
|
inline |
|
inline |
Definition at line 289 of file hash.h.
Referenced by TUNGraph::Defrag(), TUndirNet::Defrag(), and TGHash< TUInt64 >::Pack().
|
private |
Definition at line 319 of file hash.h.
References THashKeyDat< TKey, TDat >::HashCd, THashKeyDat< TKey, TDat >::Key, and THashKeyDat< TKey, TDat >::Next.
|
inline |
Definition at line 183 of file hash.h.
Referenced by TKeyDatFl< TKey, TDat, THashFunc >::Save(), TAttr::Save(), TAGMFit::Save(), TModeNet::Save(), TGStat::Save(), TCascade::Save(), TNetInfBs::Save(), TAttrPair::Save(), TBigNet< TNodeData, IsDir >::Save(), TNodeNet< TSecTm >::Save(), TUNGraph::Save(), TNIBs::Save(), TUniCaseFolding::Save(), TNEANetMP::Save(), TCrossNet::Save(), TNGraph::Save(), TMMNet::Save(), TNodeEDatNet< TStr, TFltFltH >::Save(), PHash< TKey, TDat >::Save(), TNEGraph::Save(), TTable::Save(), TBPGraph::Save(), TUniChDb::Save(), TNodeEdgeNet< TSecTm, TSecTm >::Save(), TNEANet::Save(), TUndirNet::Save(), TDirNet::Save(), TNEANet::Save_V1(), TUndirNet::Save_V1(), TDirNet::Save_V1(), and TNEANet::Save_V2().
void THash< TKey, TDat, THashFunc >::SaveXml | ( | TSOut & | SOut, |
const TStr & | Nm | ||
) |
void THash< TKey, TDat, THashFunc >::Sort | ( | const bool & | CmpKey, |
const bool & | Asc | ||
) |
Definition at line 570 of file hash.h.
References IAssertR, and THashKeyDat< TKey, TDat >::Next.
Referenced by TLocClustStat::Run(), THash< TPair, THash >::SortByDat(), and THash< TPair, THash >::SortByKey().
|
inline |
Definition at line 292 of file hash.h.
Referenced by TNIBs::BSG(), TSnap::TSnapDetail::CmtyGirvanNewmanStep(), MAPPR::computeProfile(), TSnap::FastCorePeriphery(), TSnap::FastCorePeripheryGC(), TNIBs::FG(), TCesnaUtil::FilterLowEntropy(), TLocClust::FindBestCut(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TSnap::GetBfsTree(), TAGMFast::GetCmtyVV(), TCoda::GetCmtyVV(), TCesna::GetCmtyVV(), GetNIdSorted(), TCoda::GetNIDValH(), TCoda::GetTopCIDs(), TSnap::Infomap(), TSnap::InfomapOnline(), TSnap::MaxCPGreedyBetter(), TSnap::MaxCPGreedyBetter1(), TSnap::MaxCPGreedyBetter2(), TSnap::MaxCPGreedyBetter3(), TNIBs::SG(), TCascade::Sort(), TNodeEdgeNet< TSecTm, TSecTm >::SortEIdByDat(), TNodeNet< TSecTm >::SortNIdByDat(), TNodeEDatNet< TStr, TFltFltH >::SortNIdByDat(), TNodeEdgeNet< TSecTm, TSecTm >::SortNIdByDat(), TTimeNENet::SortNodeEdgeTimes(), and TNIBs::SortNodeNmByVol().
|
inline |
Definition at line 291 of file hash.h.
Referenced by TLocClustStat::BagOfWhiskers(), TLocClustStat::BagOfWhiskers2(), TSnap::PlotShortPathDistr(), TLocClustStat::Run(), TNodeEdgeNet< TSecTm, TSecTm >::SortEIdById(), TNodeNet< TSecTm >::SortNIdById(), TNodeEDatNet< TStr, TFltFltH >::SortNIdById(), and TNodeEdgeNet< TSecTm, TSecTm >::SortNIdById().
void THash< TKey, TDat, THashFunc >::Swap | ( | THash< TKey, TDat, THashFunc > & | Hash | ) |
Definition at line 544 of file hash.h.
References THash< TKey, TDat, THashFunc >::AutoSizeP, THash< TKey, TDat, THashFunc >::FFreeKeyId, THash< TKey, TDat, THashFunc >::FreeKeys, THash< TKey, TDat, THashFunc >::KeyDatV, THash< TKey, TDat, THashFunc >::PortV, and Swap().
Referenced by TSnap::GetShortPath().
|
private |
Definition at line 108 of file hash.h.
Referenced by THash< TPair, THash >::IsAutoSize(), THash< TPair, THash >::operator=(), and THash< TKey, TDat, THashFunc >::Swap().
|
private |
Definition at line 109 of file hash.h.
Referenced by THash< TPair, THash >::operator=(), and THash< TKey, TDat, THashFunc >::Swap().
|
private |
Definition at line 109 of file hash.h.
Referenced by THash< TPair, THash >::Len(), THash< TPair, THash >::operator=(), and THash< TKey, TDat, THashFunc >::Swap().
|
static |
|
private |
Definition at line 107 of file hash.h.
Referenced by THash< TPair, THash >::operator=(), and THash< TKey, TDat, THashFunc >::Swap().
|
private |
Definition at line 106 of file hash.h.
Referenced by THash< TPair, THash >::operator=(), THash< TKey, TDat, THashFunc >::Swap(), and THash< TKey, TDat, THashFunc >::THash().