19 #ifndef OST_QA_PACKING_POTENTIAL_HH
20 #define OST_QA_PACKING_POTENTIAL_HH
27 #include <boost/shared_ptr.hpp>
34 namespace ost {
namespace qa {
42 PackingPotentialOpts(
int bucket_size,
int max_count,
Real cutoff,
53 template <
typename DS>
77 bool calculate_average_energy_flag=0);
81 void SaveToFile(
const String& filename);
89 int GetEnergyCounts();
94 count=count>options_.max_counts ? options_.max_counts : count;
95 return energies_.Get(aa, count/options_.bucket_size);
98 template <
typename DS>
111 bool calculate_average_energy_flag=0);
114 PackingEnergies energies_;