|
Rosetta 3.5
|
#include <DistanceHistogram.hh>


Public Member Functions | |
| DistanceHistogram (void) | |
| Create a histogram that collects distances between two predefined atom types. More... | |
| Size | operator() (Real distance) const |
| Returns the number of counts for a given distance. More... | |
| Size | get (Real distance) const |
| Returns the number of counts for a given distance. More... | |
| Size | get (Size bin) const |
| Returns the number of counts for a given bin. More... | |
| Real | distance (Size bin) const |
| tells waht distance falls into a certain bin More... | |
| void | insert (Real distance) |
| Adds a distance observation to the histogram. More... | |
| Size | size () |
| Returns the size of this histogram. More... | |
| void | zeros () |
| Clears this histogram by filling each cell with 0.0. More... | |
| Size | total () const |
| Returns the total number of counts in this histogram. More... | |
| Size | last_nonempty_bin () const |
Private Attributes | |
| Real | factor_ |
| Real | max_dist_ |
| Size | last_nonempty_bin_ |
| utility::vector1< Size > | h_ |
Definition at line 38 of file DistanceHistogram.hh.
|
inline |
Create a histogram that collects distances between two predefined atom types.
Definition at line 42 of file DistanceHistogram.hh.
tells waht distance falls into a certain bin
Definition at line 54 of file DistanceHistogram.hh.
References factor_.
Referenced by get().
Returns the number of counts for a given distance.
Definition at line 48 of file DistanceHistogram.hh.
References distance(), factor_, and h_.
Returns the number of counts for a given bin.
Definition at line 51 of file DistanceHistogram.hh.
References h_.
|
inline |
Adds a distance observation to the histogram.
Definition at line 57 of file DistanceHistogram.hh.
References protocols::match::upstream::b, factor_, h_, and last_nonempty_bin_.
|
inline |
Definition at line 78 of file DistanceHistogram.hh.
References last_nonempty_bin_.
Returns the number of counts for a given distance.
Definition at line 45 of file DistanceHistogram.hh.
|
inline |
Returns the size of this histogram.
Definition at line 65 of file DistanceHistogram.hh.
References h_.
|
inline |
Returns the total number of counts in this histogram.
Definition at line 71 of file DistanceHistogram.hh.
References h_.
|
inline |
Clears this histogram by filling each cell with 0.0.
Definition at line 68 of file DistanceHistogram.hh.
References h_, and last_nonempty_bin_.
|
private |
Definition at line 80 of file DistanceHistogram.hh.
Referenced by distance(), get(), insert(), and operator()().
|
private |
Definition at line 83 of file DistanceHistogram.hh.
Referenced by get(), insert(), operator()(), size(), total(), and zeros().
|
private |
Definition at line 82 of file DistanceHistogram.hh.
Referenced by insert(), last_nonempty_bin(), and zeros().
|
private |
Definition at line 81 of file DistanceHistogram.hh.
1.8.4