struct QPanda::CandidateSelector¶
Overview¶
Interface for selecting candidates (if they are greater than a max) in phase 1. More…
#include <OBMTQMapping.h> struct CandidateSelector { // typedefs typedef CandidateSelector* Ref; typedef std::unique_ptr<CandidateSelector> uRef; // methods virtual std::vector<MappingCandidate> select(uint32_t maxCandidates, const std::vector<MappingCandidate>& candidates) = 0; };
Detailed Documentation¶
Interface for selecting candidates (if they are greater than a max) in phase 1.
Methods¶
virtual std::vector<MappingCandidate> select( uint32_t maxCandidates, const std::vector<MappingCandidate>& candidates ) = 0
Selects maxCandidates from candidates.