Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Min_occupancy_policy< Line_format > Class Template Reference

#include <occupancy_handlers.h>

Detailed Description

template<class Line_format>
class ESBTL::Min_occupancy_policy< Line_format >

This object provides an occupancy policy. An atom with an occupancy != 1 and with no alternate location is kept if its occupancy value corresponds to the lowest found while reading a molecular structure. Note that if a line have been discarded by the selector, then its occupancy value have not been taken into account for computing the minimum. In case of ambiguous minimum (0.5), the program will crash with an error message.

Template Parameters
Line_formatis a helper class to read molecular data files such as ESBTL::PDB::Line_format.