113 LabelPosition *
featureCandidate(
int feature,
int candidate )
const {
return mLabelPositions[ mFirstCandidateIndexForFeature[feature] + candidate ].get(); }
137 QList<LabelPosition *> getSolution(
bool returnInactive, QList<LabelPosition *> *unlabeled =
nullptr );
142 void init_sol_falp();
152 return &mPositionsWithNoCandidates;
175 QStringList labelledLayersName;
180 int mTotalCandidates = 0;
190 std::size_t mFeatureCount = 0;
195 bool mDisplayAll =
false;
200 double mMapExtentBounds[4] = {0, 0, 0, 0};
202 std::vector< std::unique_ptr< LabelPosition > > mLabelPositions;
207 std::vector< std::unique_ptr< LabelPosition > > mPositionsWithNoCandidates;
210 std::vector< int > mFirstCandidateIndexForFeature;
212 std::vector< int > mCandidateCountForFeature;
214 std::vector< double > mUnlabeledCostForFeature;
221 std::vector< int > activeLabelIds;
223 void init( std::size_t featureCount )
225 activeLabelIds.resize( featureCount, -1 );
230 double mNbOverlap = 0.0;
233 std::unique_ptr< Chain > chain(
int seed );
237 void solution_cost();
238 void ignoreLabel(
const LabelPosition *lp, pal::PriorityQueue &list, PalRtree<LabelPosition> &candidatesIndex );
Contains information about the context of a rendering operation.