Tenncor
Classes | Namespaces | Typedefs | Functions
ivoter.hpp File Reference
#include "opt/parse/def.h"
#include "opt/stats.hpp"
#include "opt/candidate.hpp"
Include dependency graph for ivoter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opt::VoterArg
 Argument voter for functors. More...
 
struct  opt::SegVArgs
 Variadic/communtative branch voter arguments. More...
 
struct  opt::OrdrHasher
 Hash voter arguments while preserving order of arguments. More...
 
struct  opt::CommHasher
 Hash variadic/commutative arguments that ignores order. More...
 
struct  opt::iVoter
 Rule tree node that identify and selects matching candidates. More...
 
struct  opt::VoterPool
 Parsed representation of a rule tree. More...
 

Namespaces

 opt
 

Typedefs

using opt::VoterArgsT = std::vector< VoterArg >
 Vector of voter arguments for branching nodes. More...
 
using opt::VotptrT = std::shared_ptr< iVoter >
 Smart pointer of rule tree. More...
 

Functions

void opt::sort_vargs (VoterArgsT &args)
 Normalize voter arguments to facilitate matching. More...
 
bool opt::operator== (const VoterArgsT &lhs, const VoterArgsT &rhs)
 Compare equality of ordered voter arguments. More...
 
bool opt::operator== (const SegVArgs &lhs, const SegVArgs &rhs)
 Compare equality of commutative arguments. More...