ESBTL::Max_occupancy_policy< Line_format > Class Template Reference

#include <occupancy_handlers.h>

Detailed Description

template<class Line_format>
class ESBTL::Max_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 highest 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 maximum. In case of ambiguous maximum (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.

The documentation for this class was generated from the following file: