Sha256: 6a8b5c221d7fb019ef929769385ee782ef8a50820073e60c8330b974d47d9d45
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 Bytes
Contents
#pragma once #include "PA.h" namespace tomoto { template<TermWeight _tw> struct DocumentHPA : public DocumentPA<_tw> { using BaseDocument = DocumentPA<_tw>; using DocumentPA<_tw>::DocumentPA; using WeightType = typename DocumentPA<_tw>::WeightType; template<typename _TopicModel> void update(WeightType* ptr, const _TopicModel& mdl); DECLARE_SERIALIZER_WITH_VERSION(0); DECLARE_SERIALIZER_WITH_VERSION(1); }; struct HPAArgs : public PAArgs { }; class IHPAModel : public IPAModel { public: using DefaultDocType = DocumentHPA<TermWeight::one>; static IHPAModel* create(TermWeight _weight, bool _exclusive, const HPAArgs& args, bool scalarRng = false); }; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tomoto-0.4.1 | vendor/tomotopy/src/TopicModel/HPA.h |