|
| DataDistribution () |
|
| DataDistribution (const TypeSet< VT > &) |
|
| DataDistribution (const TypeSet< VT > &, SamplingData< VT >) |
|
| DataDistribution (int) |
|
| DataDistribution (SamplingData< VT >, int n=256) |
|
void | add (const VT *) |
| fast, no checks More...
|
|
VT | binPos (int) const |
|
Interval< VT > | dataRange () const |
|
VT | get (int, bool cumulative=false) const |
|
VT * | getArr (bool cum) const |
| for fast non-shared usage More...
|
|
void | getAvgStd (VT &avg, VT &std) const |
|
int | getBinNr (VT) const |
|
TypeSet< VT > | getSet (bool cum) const |
|
bool | isEmpty () const |
|
bool | isNormalised () const |
|
bool | isNormalized () const |
|
VT | maxValue () const |
|
| mDeclMonitorableAssignment (DataDistribution) |
|
VT | medianPosition () const |
|
| mImplSimpleMonitoredGetSet (inline, sampling, setSampling, SamplingData< VT >, sampling_, cSamplingChange()) |
|
VT | operator[] (int) const |
|
VT | positionForCumulative (VT) const |
|
void | set (const VT *) |
| fast, no checks More...
|
|
void | set (int, VT) |
| slow, O(N) More...
|
|
void | setEmpty () |
|
void | setSize (int) |
|
int | size () const |
|
VT | sumOfValues () const |
|
VT | valueAt (VT, bool cumulative) const |
|
| NamedMonitoredObject (const char *nm=0) |
|
| NamedMonitoredObject (const NamedMonitoredObject &) |
|
| NamedMonitoredObject (const NamedObject &) |
|
virtual | ~NamedMonitoredObject () |
|
NamedMonitoredObject * | clone () const override |
|
ChangeType | compareWith (const MonitoredObject &) const override |
|
NamedMonitoredObject * | getClone () const override |
|
BufferString | getName () const override |
|
bool | operator!= (const NamedMonitoredObject &oth) const |
|
NamedMonitoredObject & | operator= (const NamedMonitoredObject &) |
|
bool | operator== (const NamedMonitoredObject &) const |
|
void | setName (const char *) override |
|
| MonitoredObject (const MonitoredObject &) |
|
virtual | ~MonitoredObject () |
|
virtual DirtyCountType | dirtyCount () const |
|
virtual ChangeDataNotifier & | objectChanged () const |
|
virtual Notifier< MonitoredObject > & | objectToBeDeleted () const |
|
MonitoredObject & | operator= (const MonitoredObject &) |
|
bool | operator== (const MonitoredObject &) const |
|
void | sendChangeNotification (const ChangeData &) const |
|
void | sendEntireObjectChangeNotification () const |
|
virtual void | touch () const |
|
void | transferNotifsTo (const MonitoredObject &, const CallBacker *onlyfor=0) const |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
|
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
|
void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More...
|
|
void | detachCB (const NotifierAccess &, const CallBack &) const |
|
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
|
virtual bool | isCapsule () const |
|
bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
void | stopReceivingNotifications () const |
|
virtual CallBacker * | trueCaller () |
|
| NamedObject (const char *nm=nullptr) |
|
| NamedObject (const NamedObject &oth) |
|
virtual | ~NamedObject () |
|
bool | getNameFromPar (const IOPar &) |
|
const name_type & | name () const override |
|
NamedObject & | operator= (const NamedObject &) |
|
bool | operator== (const NamedObject &oth) const |
|
virtual | ~ObjectWithName () |
|
bool | hasName (const char *nm) const |
|
bool | hasName (const name_type &nm) const |
|
void | putNameInPar (IOPar &) const |
|
void | addObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More...
|
|
int | nrRefs () const |
| Only for expert use. More...
|
|
void | ref () const |
|
bool | refIfReffed () const |
| Don't use in production, for debugging. More...
|
|
void | removeObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More...
|
|
bool | tryRef () const |
| Not for normal use. May become private. More...
|
|
void | unRef () const |
|
void | unRefNoDelete () const |
|
template<class VT>
class DataDistribution< VT >
Sharable data distribution. Sampling defaults to 0 step 1.
The data in this object can be either true 'frequencies' or 'histogram' values. More generally, if you want to obtain a 'true' distribution in the mathematical sense of the word, then you should use 'normalize', which assures that the sum of the values is 1.
The SamplingData describes the positions of the bin centers. Thus, if you have a hard start and stop, calculate the step like (stop-start)/nrbins, then put sampling.start at start + 0.5*step.
Note that it is a bad idea to have negative data (P<0). We're not checking.
The position in a distribution is a data value.
<>