23 #ifndef __DBSCAN_DISTRIBUTED_H__
24 #define __DBSCAN_DISTRIBUTED_H__
26 #include "algorithms/algorithm.h"
27 #include "data_management/data/numeric_table.h"
28 #include "services/daal_defines.h"
29 #include "algorithms/dbscan/dbscan_types.h"
51 template<ComputeStep step,
typename algorithmFPType, Method method, CpuType cpu>
52 class DAAL_EXPORT DistributedContainer
59 template<
typename algorithmFPType, Method method, CpuType cpu>
60 class DAAL_EXPORT DistributedContainer<step1Local, algorithmFPType, method, cpu> :
public
61 TrainingContainerIface<distributed>
69 DistributedContainer(daal::services::Environment::env *daalEnv);
71 ~DistributedContainer();
77 services::Status compute() DAAL_C11_OVERRIDE;
82 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
89 template<
typename algorithmFPType, Method method, CpuType cpu>
90 class DAAL_EXPORT DistributedContainer<step2Local, algorithmFPType, method, cpu> :
public
91 TrainingContainerIface<distributed>
99 DistributedContainer(daal::services::Environment::env *daalEnv);
101 ~DistributedContainer();
107 services::Status compute() DAAL_C11_OVERRIDE;
112 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
120 template<
typename algorithmFPType, Method method, CpuType cpu>
121 class DAAL_EXPORT DistributedContainer<step3Local, algorithmFPType, method, cpu> :
public
122 TrainingContainerIface<distributed>
130 DistributedContainer(daal::services::Environment::env *daalEnv);
132 ~DistributedContainer();
138 services::Status compute() DAAL_C11_OVERRIDE;
143 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
151 template<
typename algorithmFPType, Method method, CpuType cpu>
152 class DAAL_EXPORT DistributedContainer<step4Local, algorithmFPType, method, cpu> :
public
153 TrainingContainerIface<distributed>
161 DistributedContainer(daal::services::Environment::env *daalEnv);
163 ~DistributedContainer();
169 services::Status compute() DAAL_C11_OVERRIDE;
174 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
182 template<
typename algorithmFPType, Method method, CpuType cpu>
183 class DAAL_EXPORT DistributedContainer<step5Local, algorithmFPType, method, cpu> :
public
184 TrainingContainerIface<distributed>
192 DistributedContainer(daal::services::Environment::env *daalEnv);
194 ~DistributedContainer();
200 services::Status compute() DAAL_C11_OVERRIDE;
205 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
213 template<
typename algorithmFPType, Method method, CpuType cpu>
214 class DAAL_EXPORT DistributedContainer<step6Local, algorithmFPType, method, cpu> :
public
215 TrainingContainerIface<distributed>
223 DistributedContainer(daal::services::Environment::env *daalEnv);
225 ~DistributedContainer();
231 services::Status compute() DAAL_C11_OVERRIDE;
236 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
244 template<
typename algorithmFPType, Method method, CpuType cpu>
245 class DAAL_EXPORT DistributedContainer<step7Master, algorithmFPType, method, cpu> :
public
246 TrainingContainerIface<distributed>
254 DistributedContainer(daal::services::Environment::env *daalEnv);
256 ~DistributedContainer();
262 services::Status compute() DAAL_C11_OVERRIDE;
267 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
275 template<
typename algorithmFPType, Method method, CpuType cpu>
276 class DAAL_EXPORT DistributedContainer<step8Local, algorithmFPType, method, cpu> :
public
277 TrainingContainerIface<distributed>
285 DistributedContainer(daal::services::Environment::env *daalEnv);
287 ~DistributedContainer();
293 services::Status compute() DAAL_C11_OVERRIDE;
298 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
306 template<
typename algorithmFPType, Method method, CpuType cpu>
307 class DAAL_EXPORT DistributedContainer<step9Master, algorithmFPType, method, cpu> :
public
308 TrainingContainerIface<distributed>
316 DistributedContainer(daal::services::Environment::env *daalEnv);
318 ~DistributedContainer();
324 services::Status compute() DAAL_C11_OVERRIDE;
329 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
337 template<
typename algorithmFPType, Method method, CpuType cpu>
338 class DAAL_EXPORT DistributedContainer<step10Local, algorithmFPType, method, cpu> :
public
339 TrainingContainerIface<distributed>
347 DistributedContainer(daal::services::Environment::env *daalEnv);
349 ~DistributedContainer();
355 services::Status compute() DAAL_C11_OVERRIDE;
360 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
368 template<
typename algorithmFPType, Method method, CpuType cpu>
369 class DAAL_EXPORT DistributedContainer<step11Local, algorithmFPType, method, cpu> :
public
370 TrainingContainerIface<distributed>
378 DistributedContainer(daal::services::Environment::env *daalEnv);
380 ~DistributedContainer();
386 services::Status compute() DAAL_C11_OVERRIDE;
391 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
399 template<
typename algorithmFPType, Method method, CpuType cpu>
400 class DAAL_EXPORT DistributedContainer<step12Local, algorithmFPType, method, cpu> :
public
401 TrainingContainerIface<distributed>
409 DistributedContainer(daal::services::Environment::env *daalEnv);
411 ~DistributedContainer();
417 services::Status compute() DAAL_C11_OVERRIDE;
422 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
430 template<
typename algorithmFPType, Method method, CpuType cpu>
431 class DAAL_EXPORT DistributedContainer<step13Local, algorithmFPType, method, cpu> :
public
432 TrainingContainerIface<distributed>
440 DistributedContainer(daal::services::Environment::env *daalEnv);
442 ~DistributedContainer();
448 services::Status compute() DAAL_C11_OVERRIDE;
453 services::Status finalizeCompute() DAAL_C11_OVERRIDE;
473 template<ComputeStep step,
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
474 class DAAL_EXPORT Distributed {};
489 template<
typename algorithmFPType, Method method>
490 class DAAL_EXPORT Distributed<step1Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
493 typedef algorithms::dbscan::DistributedInput<step1Local> InputType;
494 typedef algorithms::dbscan::Parameter ParameterType;
495 typedef algorithms::dbscan::DistributedPartialResultStep1 PartialResultType;
502 Distributed(
size_t blockIndex,
size_t nBlocks);
510 Distributed(
const Distributed<step1Local, algorithmFPType, method> &other);
521 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
527 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
533 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
539 DistributedPartialResultStep1Ptr getPartialResult()
541 return _partialResult;
547 services::Status setPartialResult(
const DistributedPartialResultStep1Ptr& partialRes)
549 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
550 _partialResult = partialRes;
551 _pres = _partialResult.get();
552 return services::Status();
560 services::SharedPtr<Distributed<step1Local, algorithmFPType, method> > clone()
const
562 return services::SharedPtr<Distributed<step1Local, algorithmFPType, method> >(cloneImpl());
566 virtual Distributed<step1Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
568 return new Distributed<step1Local, algorithmFPType, method>(*this);
571 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
573 return services::Status();
576 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
578 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
579 _pres = _partialResult.get();
583 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
585 return services::Status();
590 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step1Local, algorithmFPType, method)(&_env);
592 _partialResult.reset(
new PartialResultType());
599 DistributedPartialResultStep1Ptr _partialResult;
615 template<
typename algorithmFPType, Method method>
616 class DAAL_EXPORT Distributed<step2Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
619 typedef algorithms::dbscan::DistributedInput<step2Local> InputType;
620 typedef algorithms::dbscan::Parameter ParameterType;
621 typedef algorithms::dbscan::DistributedPartialResultStep2 PartialResultType;
628 Distributed(
size_t blockIndex,
size_t nBlocks);
636 Distributed(
const Distributed<step2Local, algorithmFPType, method> &other);
647 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
653 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
659 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
665 DistributedPartialResultStep2Ptr getPartialResult()
667 return _partialResult;
673 services::Status setPartialResult(
const DistributedPartialResultStep2Ptr& partialRes)
675 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
676 _partialResult = partialRes;
677 _pres = _partialResult.get();
678 return services::Status();
686 services::SharedPtr<Distributed<step2Local, algorithmFPType, method> > clone()
const
688 return services::SharedPtr<Distributed<step2Local, algorithmFPType, method> >(cloneImpl());
692 virtual Distributed<step2Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
694 return new Distributed<step2Local, algorithmFPType, method>(*this);
697 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
699 return services::Status();
702 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
704 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
705 _pres = _partialResult.get();
709 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
711 return services::Status();
716 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step2Local, algorithmFPType, method)(&_env);
718 _partialResult.reset(
new PartialResultType());
725 DistributedPartialResultStep2Ptr _partialResult;
741 template<
typename algorithmFPType, Method method>
742 class DAAL_EXPORT Distributed<step3Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
745 typedef algorithms::dbscan::DistributedInput<step3Local> InputType;
746 typedef algorithms::dbscan::Parameter ParameterType;
747 typedef algorithms::dbscan::DistributedPartialResultStep3 PartialResultType;
756 Distributed(
size_t leftBlocks,
size_t rightBlocks);
764 Distributed(
const Distributed<step3Local, algorithmFPType, method> &other);
775 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
781 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
787 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
793 DistributedPartialResultStep3Ptr getPartialResult()
795 return _partialResult;
801 services::Status setPartialResult(
const DistributedPartialResultStep3Ptr& partialRes)
803 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
804 _partialResult = partialRes;
805 _pres = _partialResult.get();
806 return services::Status();
814 services::SharedPtr<Distributed<step3Local, algorithmFPType, method> > clone()
const
816 return services::SharedPtr<Distributed<step3Local, algorithmFPType, method> >(cloneImpl());
820 virtual Distributed<step3Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
822 return new Distributed<step3Local, algorithmFPType, method>(*this);
825 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
827 return services::Status();
830 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
832 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
833 _pres = _partialResult.get();
837 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
839 return services::Status();
844 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step3Local, algorithmFPType, method)(&_env);
846 _partialResult.reset(
new PartialResultType());
853 DistributedPartialResultStep3Ptr _partialResult;
869 template<
typename algorithmFPType, Method method>
870 class DAAL_EXPORT Distributed<step4Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
873 typedef algorithms::dbscan::DistributedInput<step4Local> InputType;
874 typedef algorithms::dbscan::Parameter ParameterType;
875 typedef algorithms::dbscan::DistributedPartialResultStep4 PartialResultType;
884 Distributed(
size_t leftBlocks,
size_t rightBlocks);
892 Distributed(
const Distributed<step4Local, algorithmFPType, method> &other);
903 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
909 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
915 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
921 DistributedPartialResultStep4Ptr getPartialResult()
923 return _partialResult;
929 services::Status setPartialResult(
const DistributedPartialResultStep4Ptr& partialRes)
931 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
932 _partialResult = partialRes;
933 _pres = _partialResult.get();
934 return services::Status();
942 services::SharedPtr<Distributed<step4Local, algorithmFPType, method> > clone()
const
944 return services::SharedPtr<Distributed<step4Local, algorithmFPType, method> >(cloneImpl());
948 virtual Distributed<step4Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
950 return new Distributed<step4Local, algorithmFPType, method>(*this);
953 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
955 return services::Status();
958 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
960 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
961 _pres = _partialResult.get();
965 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
967 return services::Status();
972 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step4Local, algorithmFPType, method)(&_env);
974 _partialResult.reset(
new PartialResultType());
981 DistributedPartialResultStep4Ptr _partialResult;
997 template<
typename algorithmFPType, Method method>
998 class DAAL_EXPORT Distributed<step5Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1001 typedef algorithms::dbscan::DistributedInput<step5Local> InputType;
1002 typedef algorithms::dbscan::Parameter ParameterType;
1003 typedef algorithms::dbscan::DistributedPartialResultStep5 PartialResultType;
1011 Distributed(
size_t blockIndex,
size_t nBlocks, algorithmFPType epsilon);
1019 Distributed(
const Distributed<step5Local, algorithmFPType, method> &other);
1030 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1036 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1042 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1048 DistributedPartialResultStep5Ptr getPartialResult()
1050 return _partialResult;
1056 services::Status setPartialResult(
const DistributedPartialResultStep5Ptr& partialRes)
1058 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1059 _partialResult = partialRes;
1060 _pres = _partialResult.get();
1061 return services::Status();
1069 services::SharedPtr<Distributed<step5Local, algorithmFPType, method> > clone()
const
1071 return services::SharedPtr<Distributed<step5Local, algorithmFPType, method> >(cloneImpl());
1075 virtual Distributed<step5Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1077 return new Distributed<step5Local, algorithmFPType, method>(*this);
1080 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1082 return services::Status();
1085 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1087 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1088 _pres = _partialResult.get();
1092 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1094 return services::Status();
1099 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step5Local, algorithmFPType, method)(&_env);
1101 _partialResult.reset(
new PartialResultType());
1108 DistributedPartialResultStep5Ptr _partialResult;
1124 template<
typename algorithmFPType, Method method>
1125 class DAAL_EXPORT Distributed<step6Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1128 typedef algorithms::dbscan::DistributedInput<step6Local> InputType;
1129 typedef algorithms::dbscan::Parameter ParameterType;
1130 typedef algorithms::dbscan::DistributedPartialResultStep6 PartialResultType;
1139 Distributed(
size_t blockIndex,
size_t nBlocks, algorithmFPType epsilon,
size_t minObservations);
1147 Distributed(
const Distributed<step6Local, algorithmFPType, method> &other);
1158 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1164 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1170 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1176 DistributedPartialResultStep6Ptr getPartialResult()
1178 return _partialResult;
1184 services::Status setPartialResult(
const DistributedPartialResultStep6Ptr& partialRes)
1186 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1187 _partialResult = partialRes;
1188 _pres = _partialResult.get();
1189 return services::Status();
1197 services::SharedPtr<Distributed<step6Local, algorithmFPType, method> > clone()
const
1199 return services::SharedPtr<Distributed<step6Local, algorithmFPType, method> >(cloneImpl());
1203 virtual Distributed<step6Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1205 return new Distributed<step6Local, algorithmFPType, method>(*this);
1208 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1210 return services::Status();
1213 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1215 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1216 _pres = _partialResult.get();
1220 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1222 return services::Status();
1227 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step6Local, algorithmFPType, method)(&_env);
1229 _partialResult.reset(
new PartialResultType());
1236 DistributedPartialResultStep6Ptr _partialResult;
1252 template<
typename algorithmFPType, Method method>
1253 class DAAL_EXPORT Distributed<step7Master, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1256 typedef algorithms::dbscan::DistributedInput<step7Master> InputType;
1257 typedef algorithms::dbscan::DistributedPartialResultStep7 PartialResultType;
1270 Distributed(
const Distributed<step7Master, algorithmFPType, method> &other);
1278 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1284 DistributedPartialResultStep7Ptr getPartialResult()
1286 return _partialResult;
1292 services::Status setPartialResult(
const DistributedPartialResultStep7Ptr& partialResult)
1294 DAAL_CHECK(partialResult, services::ErrorNullPartialResult)
1295 _partialResult = partialResult;
1296 _pres = _partialResult.get();
1297 return services::Status();
1305 services::SharedPtr<Distributed<step7Master, algorithmFPType, method> > clone()
const
1307 return services::SharedPtr<Distributed<step7Master, algorithmFPType, method> >(cloneImpl());
1313 virtual services::Status checkPartialResult() DAAL_C11_OVERRIDE
1315 return services::Status();
1319 virtual Distributed<step7Master, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1321 return new Distributed<step7Master, algorithmFPType, method>(*this);
1324 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1326 return services::Status();
1329 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1331 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1332 _pres = _partialResult.get();
1333 return services::Status();
1336 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1338 return services::Status();
1343 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step7Master, algorithmFPType, method)(&_env);
1345 _partialResult.reset(
new PartialResultType());
1352 DistributedPartialResultStep7Ptr _partialResult;
1368 template<
typename algorithmFPType, Method method>
1369 class DAAL_EXPORT Distributed<step8Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1372 typedef algorithms::dbscan::DistributedInput<step8Local> InputType;
1373 typedef algorithms::dbscan::Parameter ParameterType;
1374 typedef algorithms::dbscan::DistributedPartialResultStep8 PartialResultType;
1381 Distributed(
size_t blockIndex,
size_t nBlocks);
1389 Distributed(
const Distributed<step8Local, algorithmFPType, method> &other);
1400 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1406 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1412 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1418 DistributedPartialResultStep8Ptr getPartialResult()
1420 return _partialResult;
1426 services::Status setPartialResult(
const DistributedPartialResultStep8Ptr& partialRes)
1428 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1429 _partialResult = partialRes;
1430 _pres = _partialResult.get();
1431 return services::Status();
1439 services::SharedPtr<Distributed<step8Local, algorithmFPType, method> > clone()
const
1441 return services::SharedPtr<Distributed<step8Local, algorithmFPType, method> >(cloneImpl());
1445 virtual Distributed<step8Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1447 return new Distributed<step8Local, algorithmFPType, method>(*this);
1450 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1452 return services::Status();
1455 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1457 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1458 _pres = _partialResult.get();
1462 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1464 return services::Status();
1469 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step8Local, algorithmFPType, method)(&_env);
1471 _partialResult.reset(
new PartialResultType());
1478 DistributedPartialResultStep8Ptr _partialResult;
1494 template<
typename algorithmFPType, Method method>
1495 class DAAL_EXPORT Distributed<step9Master, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1498 typedef algorithms::dbscan::DistributedInput<step9Master> InputType;
1499 typedef algorithms::dbscan::DistributedResultStep9 ResultType;
1500 typedef algorithms::dbscan::DistributedPartialResultStep9 PartialResultType;
1513 Distributed(
const Distributed<step9Master, algorithmFPType, method> &other);
1521 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1527 DistributedResultStep9Ptr getResult()
1535 services::Status setResult(
const DistributedResultStep9Ptr& result)
1537 DAAL_CHECK(result, services::ErrorNullResult)
1539 _res = _result.get();
1540 return services::Status();
1547 DistributedPartialResultStep9Ptr getPartialResult()
1549 return _partialResult;
1555 services::Status setPartialResult(
const DistributedPartialResultStep9Ptr& partialRes)
1557 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1558 _partialResult = partialRes;
1559 _pres = _partialResult.get();
1560 return services::Status();
1568 services::SharedPtr<Distributed<step9Master, algorithmFPType, method> > clone()
const
1570 return services::SharedPtr<Distributed<step9Master, algorithmFPType, method> >(cloneImpl());
1574 virtual Distributed<step9Master, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1576 return new Distributed<step9Master, algorithmFPType, method>(*this);
1579 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1581 services::Status s = _result->allocate<algorithmFPType>(_pres, _par, (int) method);
1582 _res = _result.get();
1583 return services::Status();
1586 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1588 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1589 _pres = _partialResult.get();
1593 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1595 return services::Status();
1600 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step9Master, algorithmFPType, method)(&_env);
1602 _result.reset(
new ResultType());
1603 _partialResult.reset(
new PartialResultType());
1610 DistributedResultStep9Ptr _result;
1611 DistributedPartialResultStep9Ptr _partialResult;
1627 template<
typename algorithmFPType, Method method>
1628 class DAAL_EXPORT Distributed<step10Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1631 typedef algorithms::dbscan::DistributedInput<step10Local> InputType;
1632 typedef algorithms::dbscan::Parameter ParameterType;
1633 typedef algorithms::dbscan::DistributedPartialResultStep10 PartialResultType;
1640 Distributed(
size_t blockIndex,
size_t nBlocks);
1648 Distributed(
const Distributed<step10Local, algorithmFPType, method> &other);
1659 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1665 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1671 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1677 DistributedPartialResultStep10Ptr getPartialResult()
1679 return _partialResult;
1685 services::Status setPartialResult(
const DistributedPartialResultStep10Ptr& partialRes)
1687 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1688 _partialResult = partialRes;
1689 _pres = _partialResult.get();
1690 return services::Status();
1698 services::SharedPtr<Distributed<step10Local, algorithmFPType, method> > clone()
const
1700 return services::SharedPtr<Distributed<step10Local, algorithmFPType, method> >(cloneImpl());
1704 virtual Distributed<step10Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1706 return new Distributed<step10Local, algorithmFPType, method>(*this);
1709 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1711 return services::Status();
1714 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1716 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1717 _pres = _partialResult.get();
1721 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1723 return services::Status();
1728 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step10Local, algorithmFPType, method)(&_env);
1730 _partialResult.reset(
new PartialResultType());
1737 DistributedPartialResultStep10Ptr _partialResult;
1753 template<
typename algorithmFPType, Method method>
1754 class DAAL_EXPORT Distributed<step11Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1757 typedef algorithms::dbscan::DistributedInput<step11Local> InputType;
1758 typedef algorithms::dbscan::Parameter ParameterType;
1759 typedef algorithms::dbscan::DistributedPartialResultStep11 PartialResultType;
1766 Distributed(
size_t blockIndex,
size_t nBlocks);
1774 Distributed(
const Distributed<step11Local, algorithmFPType, method> &other);
1785 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1791 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1797 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1803 DistributedPartialResultStep11Ptr getPartialResult()
1805 return _partialResult;
1811 services::Status setPartialResult(
const DistributedPartialResultStep11Ptr& partialRes)
1813 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1814 _partialResult = partialRes;
1815 _pres = _partialResult.get();
1816 return services::Status();
1824 services::SharedPtr<Distributed<step11Local, algorithmFPType, method> > clone()
const
1826 return services::SharedPtr<Distributed<step11Local, algorithmFPType, method> >(cloneImpl());
1830 virtual Distributed<step11Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1832 return new Distributed<step11Local, algorithmFPType, method>(*this);
1835 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1837 return services::Status();
1840 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1842 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1843 _pres = _partialResult.get();
1847 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1849 return services::Status();
1854 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step11Local, algorithmFPType, method)(&_env);
1856 _partialResult.reset(
new PartialResultType());
1863 DistributedPartialResultStep11Ptr _partialResult;
1879 template<
typename algorithmFPType, Method method>
1880 class DAAL_EXPORT Distributed<step12Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
1883 typedef algorithms::dbscan::DistributedInput<step12Local> InputType;
1884 typedef algorithms::dbscan::Parameter ParameterType;
1885 typedef algorithms::dbscan::DistributedPartialResultStep12 PartialResultType;
1892 Distributed(
size_t blockIndex,
size_t nBlocks);
1900 Distributed(
const Distributed<step12Local, algorithmFPType, method> &other);
1911 ParameterType& parameter() {
return *
static_cast<ParameterType*
>(_par); }
1917 const ParameterType& parameter()
const {
return *
static_cast<const ParameterType*
>(_par); }
1923 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
1929 DistributedPartialResultStep12Ptr getPartialResult()
1931 return _partialResult;
1937 services::Status setPartialResult(
const DistributedPartialResultStep12Ptr& partialRes)
1939 DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
1940 _partialResult = partialRes;
1941 _pres = _partialResult.get();
1942 return services::Status();
1950 services::SharedPtr<Distributed<step12Local, algorithmFPType, method> > clone()
const
1952 return services::SharedPtr<Distributed<step12Local, algorithmFPType, method> >(cloneImpl());
1956 virtual Distributed<step12Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
1958 return new Distributed<step12Local, algorithmFPType, method>(*this);
1961 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
1963 return services::Status();
1966 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
1968 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
1969 _pres = _partialResult.get();
1973 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
1975 return services::Status();
1980 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step12Local, algorithmFPType, method)(&_env);
1982 _partialResult.reset(
new PartialResultType());
1989 DistributedPartialResultStep12Ptr _partialResult;
2005 template<
typename algorithmFPType, Method method>
2006 class DAAL_EXPORT Distributed<step13Local, algorithmFPType, method> :
public daal::algorithms::Analysis<distributed>
2009 typedef algorithms::dbscan::DistributedInput<step13Local> InputType;
2010 typedef algorithms::dbscan::DistributedResultStep13 ResultType;
2011 typedef algorithms::dbscan::DistributedPartialResultStep13 PartialResultType;
2024 Distributed(
const Distributed<step13Local, algorithmFPType, method> &other);
2032 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int) method; }
2038 DistributedResultStep13Ptr getResult()
2046 services::Status setResult(
const DistributedResultStep13Ptr& result)
2048 DAAL_CHECK(result, services::ErrorNullResult)
2050 _res = _result.get();
2051 return services::Status();
2058 DistributedPartialResultStep13Ptr getPartialResult()
2060 return _partialResult;
2066 services::Status setPartialResult(
const DistributedPartialResultStep13Ptr& partialResult)
2068 DAAL_CHECK(partialResult, services::ErrorNullPartialResult)
2069 _partialResult = partialResult;
2070 _pres = _partialResult.get();
2071 return services::Status();
2079 services::SharedPtr<Distributed<step13Local, algorithmFPType, method> > clone()
const
2081 return services::SharedPtr<Distributed<step13Local, algorithmFPType, method> >(cloneImpl());
2087 virtual services::Status checkPartialResult() DAAL_C11_OVERRIDE
2089 return services::Status();
2093 virtual Distributed<step13Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
2095 return new Distributed<step13Local, algorithmFPType, method>(*this);
2098 virtual services::Status allocateResult() DAAL_C11_OVERRIDE
2100 services::Status s = _result->allocate<algorithmFPType>(_pres, _par, (int) method);
2101 _res = _result.get();
2102 return services::Status();
2105 virtual services::Status allocatePartialResult() DAAL_C11_OVERRIDE
2107 services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int) method);
2108 _pres = _partialResult.get();
2109 return services::Status();
2112 virtual services::Status initializePartialResult() DAAL_C11_OVERRIDE
2114 return services::Status();
2119 Analysis<distributed>::_ac =
new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step13Local, algorithmFPType, method)(&_env);
2121 _result.reset(
new ResultType());
2122 _partialResult.reset(
new PartialResultType());
2129 DistributedResultStep13Ptr _result;
2130 DistributedPartialResultStep13Ptr _partialResult;
2135 using interface1::DistributedContainer;
2136 using interface1::Distributed;
daal::step7Master
Definition: daal_defines.h:132
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step6Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1197
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step1Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:560
daal::step2Local
Definition: daal_defines.h:126
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::checkPartialResult
virtual services::Status checkPartialResult() DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:2087
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step7Master, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1305
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step3Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:814
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1400
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep1Ptr getPartialResult()
Definition: dbscan_distributed.h:539
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1607
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:781
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep10Ptr getPartialResult()
Definition: dbscan_distributed.h:1677
daal
Definition: algorithm_base_common.h:31
daal::step5Local
Definition: daal_defines.h:130
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the second step of the distributed processing mode...
Definition: dbscan_distributed.h:616
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:2032
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:909
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::getResult
DistributedResultStep13Ptr getResult()
Definition: dbscan_distributed.h:2038
daal::step10Local
Definition: daal_defines.h:135
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:2126
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::setResult
services::Status setResult(const DistributedResultStep13Ptr &result)
Definition: dbscan_distributed.h:2046
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:915
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep11Ptr getPartialResult()
Definition: dbscan_distributed.h:1803
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:775
daal::services::ErrorNullPartialResult
Definition: error_indexes.h:105
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1406
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::getResult
DistributedResultStep9Ptr getResult()
Definition: dbscan_distributed.h:1527
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step12Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1950
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:533
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1911
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step2Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:686
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1917
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1797
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:659
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1030
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the fifth step of the distributed processing mode...
Definition: dbscan_distributed.h:998
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep5Ptr getPartialResult()
Definition: dbscan_distributed.h:1048
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the tenth step of the distributed processing mode...
Definition: dbscan_distributed.h:1628
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step8Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1439
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep7Ptr getPartialResult()
Definition: dbscan_distributed.h:1284
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::checkPartialResult
virtual services::Status checkPartialResult() DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1313
daal::step9Master
Definition: daal_defines.h:134
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1105
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step10Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1698
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1986
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:653
daal::algorithms::kmeans::init::interface2::Distributed
class DAAL_EXPORT Distributed
Computes initial clusters for the K-Means algorithm in the distributed processing mode...
Definition: kmeans_init_distributed.h:275
daal::distributed
Definition: daal_defines.h:111
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1412
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep3Ptr getPartialResult()
Definition: dbscan_distributed.h:793
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1734
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep8Ptr getPartialResult()
Definition: dbscan_distributed.h:1418
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step11Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1824
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:978
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1158
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the eleventh step of the distributed processing mode...
Definition: dbscan_distributed.h:1754
daal::step13Local
Definition: daal_defines.h:138
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1665
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::setResult
services::Status setResult(const DistributedResultStep9Ptr &result)
Definition: dbscan_distributed.h:1535
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep6Ptr getPartialResult()
Definition: dbscan_distributed.h:1176
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1349
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep4Ptr getPartialResult()
Definition: dbscan_distributed.h:921
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1671
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1233
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the third step of the distributed processing mode...
Definition: dbscan_distributed.h:742
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:527
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep9Ptr getPartialResult()
Definition: dbscan_distributed.h:1547
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:521
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the eighth step of the distributed processing mode...
Definition: dbscan_distributed.h:1369
daal::step4Local
Definition: daal_defines.h:124
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep2Ptr getPartialResult()
Definition: dbscan_distributed.h:665
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1791
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep4Ptr &partialRes)
Definition: dbscan_distributed.h:929
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1521
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode...
Definition: dbscan_distributed.h:1253
daal::algorithms::Analysis
Provides methods for execution of operations over data, such as computation of Summary Statistics est...
Definition: analysis.h:68
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step4Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:942
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep11Ptr &partialRes)
Definition: dbscan_distributed.h:1811
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep12Ptr getPartialResult()
Definition: dbscan_distributed.h:1929
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep3Ptr &partialRes)
Definition: dbscan_distributed.h:801
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step9Master, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1568
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:596
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep1Ptr &partialRes)
Definition: dbscan_distributed.h:547
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the eighth step of the distributed processing mode...
Definition: dbscan_distributed.h:1880
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep2Ptr &partialRes)
Definition: dbscan_distributed.h:673
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1164
daal::algorithms::kmeans::interface1::DistributedContainer
class DAAL_EXPORT DistributedContainer
Provides methods to run implementations of the K-Means algorithm. This class is associated with the d...
Definition: kmeans_distributed.h:55
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep6Ptr &partialRes)
Definition: dbscan_distributed.h:1184
daal::step1Local
Definition: daal_defines.h:121
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1475
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep12Ptr &partialRes)
Definition: dbscan_distributed.h:1937
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep7Ptr &partialResult)
Definition: dbscan_distributed.h:1292
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:903
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:787
daal::algorithms::dbscan::interface1::Distributed< step4Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the fourth step of the distributed processing mode...
Definition: dbscan_distributed.h:870
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode...
Definition: dbscan_distributed.h:1495
daal::step12Local
Definition: daal_defines.h:137
daal::step8Local
Definition: daal_defines.h:133
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1785
daal::step6Local
Definition: daal_defines.h:131
daal::algorithms::dbscan::interface1::Distributed
Computes the results of the DBSCAN algorithm in the distributed processing mode.
Definition: dbscan_distributed.h:474
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep10Ptr &partialRes)
Definition: dbscan_distributed.h:1685
daal::algorithms::dbscan::interface1::Distributed< step12Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1923
daal::step3Local
Definition: daal_defines.h:123
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1042
daal::algorithms::dbscan::interface1::Distributed< step9Master, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep9Ptr &partialRes)
Definition: dbscan_distributed.h:1555
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:647
daal::algorithms::dbscan::interface1::Distributed< step1Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the first step of the distributed processing mode...
Definition: dbscan_distributed.h:490
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step13Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:2079
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep13Ptr getPartialResult()
Definition: dbscan_distributed.h:2058
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step5Local, algorithmFPType, method > > clone() const
Definition: dbscan_distributed.h:1069
daal::algorithms::dbscan::interface1::Distributed< step3Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:850
daal::services::ErrorNullResult
Definition: error_indexes.h:96
daal::algorithms::dbscan::interface1::DistributedContainer
Class containing methods to compute the result of DBSCAN algorithm in the distributed processing mode...
Definition: dbscan_distributed.h:52
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1170
daal::step11Local
Definition: daal_defines.h:136
daal::algorithms::TrainingContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the model...
Definition: training.h:50
daal::algorithms::dbscan::interface1::Distributed< step8Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep8Ptr &partialRes)
Definition: dbscan_distributed.h:1426
daal::algorithms::dbscan::interface1::Distributed< step6Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the sixth step of the distributed processing mode...
Definition: dbscan_distributed.h:1125
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >
Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode...
Definition: dbscan_distributed.h:2006
daal::algorithms::dbscan::interface1::Distributed< step2Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:722
daal::algorithms::dbscan::interface1::Distributed< step13Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep13Ptr &partialResult)
Definition: dbscan_distributed.h:2066
daal::algorithms::dbscan::interface1::Distributed< step7Master, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: dbscan_distributed.h:1278
daal::algorithms::dbscan::interface1::Distributed< step10Local, algorithmFPType, method >::parameter
ParameterType & parameter()
Definition: dbscan_distributed.h:1659
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep5Ptr &partialRes)
Definition: dbscan_distributed.h:1056
daal::algorithms::dbscan::interface1::Distributed< step11Local, algorithmFPType, method >::input
InputType input
Definition: dbscan_distributed.h:1860
daal::algorithms::dbscan::interface1::Distributed< step5Local, algorithmFPType, method >::parameter
const ParameterType & parameter() const
Definition: dbscan_distributed.h:1036