20 #ifndef GAIA_ALGOUTILS_H 21 #define GAIA_ALGOUTILS_H 36 const Region& region);
47 const Region& region);
59 bool operator()(
const QString& a,
const QString& b)
const {
63 if (la == FixedLength && lb == VariableLength)
return true;
64 if (la == VariableLength && lb == FixedLength)
return false;
86 #endif // GAIA_ALGOUTILS_H This class represents a dataset and all related information.
Definition: dataset.h:91
Compare the descriptor names using the following criteria:
Definition: algoutils.h:55
QStringList findVariableLengthDescriptors(const DataSet *dataset)
For all variable-length descriptors in this DataSet, find all the ones which actually are of differen...
Definition: algoutils.cpp:124
This class describes the layout of a point.
Definition: pointlayout.h:60
DescriptorLengthType
Either fixed-length or variable-length.
Definition: region.h:46
Main Gaia namespace, which contains all the library functions.
Definition: addfield.cpp:22
QPair< Point, Point > getRegionMeanVar(const DataSet &dataset, const Region ®ion)
Gets the mean and variance of the descriptors in the given region.
Definition: algoutils.cpp:25
DescriptorLengthType lengthType() const
Returns the descriptor length type if all segments within this region are of the same type...
Definition: region.cpp:90
QPair< Point, Point > getRegionMinMax(const DataSet &dataset, const Region ®ion)
Gets the mean and variance of the descriptors in the given region.
Definition: algoutils.cpp:81
Region descriptorLocation(const QString &name) const
Returns the region corresponding to the location of the specified descriptor or group of descriptors...
Definition: pointlayout.cpp:60