Tenncor
|
Implement voter for commutative functors. More...
#include <voter.hpp>
Public Member Functions | |
CommVoter (std::string label) | |
void | emplace (VoterArgsT args, Symbol sym) override |
Implementation of iVoter. More... | |
CandsT | inspect (const CandArgsT &args) const override |
Implementation of iVoter. More... | |
![]() | |
virtual | ~iVoter (void)=default |
Public Attributes | |
std::string | label_ |
Label type of the functor. More... | |
std::unordered_map< SegVArgs, Symbol, CommHasher > | args_ |
Map functor arguments to emplaced symbols. More... | |
Implement voter for commutative functors.
|
inline |
|
inlineoverridevirtual |
Implementation of iVoter.
Implements opt::iVoter.
Implementation of iVoter.
Implements opt::iVoter.
std::unordered_map<SegVArgs,Symbol,CommHasher> opt::CommVoter::args_ |
Map functor arguments to emplaced symbols.
std::string opt::CommVoter::label_ |
Label type of the functor.