OEEonHitlistBuilder

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

class OEEonHitlistBuilder

This class aggregates shape and electrostatic overlay scores into a ranked hit list. Use AddScore or AddScores to populate scores, then call Build and retrieve the ranked results with GetHits.

The OEEonHitlistBuilder class defines the following public methods:

Constructors

OEEonHitlistBuilder(const OEEonHitlistOptions& hitlistOptions = OEEonHitlistOptions())

Constructor. This class is not copyable.

Destructor

~OEEonHitlistBuilder()

GetAddCount

unsigned GetAddCount() const

This method returns number of added entries to the hit list.

GetHitCount

unsigned GetHitCount() const

This method returns the number of hits stored currently in the hit list object.

GetHits

std::vector<OEEonHit> GetHits() const
bool GetHits(std::vector<OEEonHit>& vecHits) const

This method returns the sorted hits.

AddScores

bool AddScores(const std::vector<OEEon::OEEonHit>& hits)

This method adds a vector of hits to the hit list object.

AddScore

bool AddScore(const OEEonOverlayScore& score,
              const OEChem::OEMCMolBase& mol)

This method adds an Eon hit to the hit list object.

Build

bool Build()

This method builds internal variables to build a hit list once all scores have been added.