MCPcopy Create free account
hub / github.com/comaps/comaps / GetIdf

Method GetIdf

libs/search/doc_vec.cpp:99–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99double DocVec::GetIdf(IdfMap & idfs, size_t i) const
100{
101 ASSERT_LESS(i, m_tfs.size(), ());
102 return idfs.Get(m_tfs[i].m_token, false /* isPrefix */);
103}
104
105double DocVec::GetWeight(IdfMap & idfs, size_t i) const
106{

Callers 1

SimilarityMethod · 0.80

Calls 2

sizeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected