Public Member Functions
ModelThreadInfo Class Reference

#include <ModelThreadInfo.h>

List of all members.

Public Member Functions

int index () const
 ModelThreadInfo (const InversionThread *t, int index)
bool operator< (const ModelThreadInfo &o) const
const InversionThreadthread () const

Constructor & Destructor Documentation

ModelThreadInfo::ModelThreadInfo ( const InversionThread t,
int  index 
) [inline]

References index().

{
  _thread=t;
  _index=index;
}

Member Function Documentation

int ModelThreadInfo::index ( ) const [inline]
bool ModelThreadInfo::operator< ( const ModelThreadInfo o) const

The sign is reversed to sort by decreasing misfit

References InversionThread::misfit().

{
  return _thread->misfit(_index) > o._thread->misfit(o._index);
}
const InversionThread* ModelThreadInfo::thread ( ) const [inline]

Referenced by PSViewer::setLimits(), and NAModelsPlot::xml_writeBinaryData().

{return _thread;}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines