class gpr::priors::PopulationPrior

Overview

#include <gpr/prior/PopulationPrior.h>
 
class PopulationPrior {
public:
    // methods
 
    bool empty() const;
    std::size_t size() const;
    void clear();
    void add(PopulationPairPrior prior);
    const PopulationPairPrior* find(int element_a, int element_b) const;
    bool read(std::istream& input);
    std::vector<const PopulationPairPrior*> perPairtype(const AtomsConfiguration& conf) const;
};

Detailed Documentation

Methods

const PopulationPairPrior* find(int element_a, int element_b) const

The entry of an element pair, in either order; null when unseen.

bool read(std::istream& input)

Table rows “Za Zb cells log_length_mu log_length_sigma”; ‘#’ starts a comment. False on a malformed row.

std::vector<const PopulationPairPrior*> perPairtype(const AtomsConfiguration& conf) const

The entry of each active pair type of a configuration (null for a pair type whose element pair the population has not seen), by the same walk of the type table the covalent prior uses.