Tenncor
|
Implement voter for ordered (non-commutative) functors. More...
#include <voter.hpp>
Public Member Functions | |
OrdrVoter (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< VoterArgsT, Symbol, OrdrHasher > | args_ |
Map functor arguments to emplaced symbols. More... | |
Implement voter for ordered (non-commutative) functors.
|
inline |
|
inlineoverridevirtual |
Implementation of iVoter.
Implements opt::iVoter.
Implementation of iVoter.
Implements opt::iVoter.
std::unordered_map<VoterArgsT,Symbol,OrdrHasher> opt::OrdrVoter::args_ |
Map functor arguments to emplaced symbols.
std::string opt::OrdrVoter::label_ |
Label type of the functor.