-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.52..v0.2.53 changeset PoiPolygonRfClassifier.cpp
Garret Voltz edited this page Feb 12, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonRfClassifier.cpp b/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonRfClassifier.cpp
index f809f1f..896b06c 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonRfClassifier.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonRfClassifier.cpp
@@ -22,16 +22,16 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "PoiPolygonRfClassifier.h"
// hoot
-#include <hoot/core/algorithms/extractors/AddressScoreExtractor.h>
-#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonAlphaShapeDistanceExtractor.h>
-#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonDistanceExtractor.h>
-#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonNameScoreExtractor.h>
-#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonTypeScoreExtractor.h>
+//#include <hoot/core/algorithms/extractors/AddressScoreExtractor.h>
+//#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonAlphaShapeDistanceExtractor.h>
+//#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonDistanceExtractor.h>
+//#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonNameScoreExtractor.h>
+//#include <hoot/core/algorithms/extractors/poi-polygon/PoiPolygonTypeScoreExtractor.h>
#include <hoot/core/util/Factory.h>
using namespace std;
@@ -48,14 +48,14 @@ void PoiPolygonRfClassifier::_createExtractors()
{
_extractors.clear();
- _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonDistanceExtractor()));
- _extractors.push_back(std::shared_ptr<FeatureExtractor>(
- new PoiPolygonAlphaShapeDistanceExtractor()));
- _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonNameScoreExtractor()));
- _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonTypeScoreExtractor()));
- std::shared_ptr<AddressScoreExtractor> addressExtractor1(new AddressScoreExtractor());
- addressExtractor1->setConfiguration(conf());
- _extractors.push_back(addressExtractor1);
+// _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonDistanceExtractor()));
+// _extractors.push_back(std::shared_ptr<FeatureExtractor>(
+// new PoiPolygonAlphaShapeDistanceExtractor()));
+// _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonNameScoreExtractor()));
+// _extractors.push_back(std::shared_ptr<FeatureExtractor>(new PoiPolygonTypeScoreExtractor()));
+// std::shared_ptr<AddressScoreExtractor> addressExtractor1(new AddressScoreExtractor());
+// addressExtractor1->setConfiguration(conf());
+// _extractors.push_back(addressExtractor1);
}
map<QString, double> PoiPolygonRfClassifier::getFeatures(const ConstOsmMapPtr& m,