136 QList<LabelPosition *> getSolution(
bool returnInactive, QList<LabelPosition *> *unlabeled =
nullptr );
141 void init_sol_falp();
170 QStringList labelledLayersName;
175 int mTotalCandidates = 0;
185 std::size_t mFeatureCount = 0;
190 bool mDisplayAll =
false;
195 double mMapExtentBounds[4] = { 0, 0, 0, 0 };
197 std::vector< std::unique_ptr< LabelPosition > > mLabelPositions;
202 std::vector< std::unique_ptr< LabelPosition > > mPositionsWithNoCandidates;
205 std::vector< int > mFirstCandidateIndexForFeature;
207 std::vector< int > mCandidateCountForFeature;
209 std::vector< double > mUnlabeledCostForFeature;
215 std::vector< int > activeLabelIds;
217 void init( std::size_t featureCount ) { activeLabelIds.resize( featureCount, -1 ); }
221 double mNbOverlap = 0.0;
224 std::unique_ptr< Chain > chain(
int seed );
228 void solution_cost();
229 void ignoreLabel(
const LabelPosition *lp, pal::PriorityQueue &list, PalRtree<LabelPosition> &candidatesIndex );
Contains information about the context of a rendering operation.