C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
DistributedPartialResult Class Reference

Provides methods to access partial results obtained with the compute() method of the second step of the QR decomposition algorithm in the distributed processing mode. More...

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Constructor & Destructor Documentation

◆ DistributedPartialResult()

Default constructor

◆ ~DistributedPartialResult()

virtual ~DistributedPartialResult ( )
inlinevirtual

Default destructor

Member Function Documentation

◆ allocate()

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input input,
const daal::algorithms::Parameter parameter,
const int  method 
)

Allocates memory for storing partial results of the QR decomposition algorithm

Parameters
[in]inputPointer to input object
[in]parameterPointer to parameter
[in]methodComputation method

◆ check() [1/2]

virtual services::Status check ( const daal::algorithms::Parameter parameter,
int  method 
) const
virtual

Checks partial results of the algorithm

Parameters
[in]parameterPointer to parameters
[in]methodComputation method

Reimplemented from PartialResult.

◆ check() [2/2]

virtual services::Status check ( const daal::algorithms::Input input,
const daal::algorithms::Parameter parameter,
int  method 
) const
virtual

Checks final results of the algorithm

Parameters
[in]inputPointer to input objects
[in]parameterPointer to parameters
[in]methodComputation method

Reimplemented from PartialResult.

◆ get() [1/2]

data_management::KeyValueDataCollectionPtr get ( DistributedPartialResultCollectionId  id) const

Returns partial result of the QR decomposition algorithm. KeyValueDataCollection under outputOfStep2ForStep3 id is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Parameters
[in]idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier

◆ get() [2/2]

Returns the result of the QR decomposition algorithm with the matrix R calculated

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier

◆ set() [1/2]

void set ( DistributedPartialResultCollectionId  id,
const data_management::KeyValueDataCollectionPtr &  value 
)

Sets KeyValueDataCollection to store partial result of the QR decomposition algorithm

Parameters
[in]idIdentifier of partial result
[in]valuePointer to the Result object

◆ set() [2/2]

void set ( DistributedPartialResultId  id,
const ResultPtr value 
)

Sets Result object to store the result of the QR decomposition algorithm

Parameters
[in]idIdentifier of the result
[in]valuePointer to the Result object

◆ setPartialResultStorage()

DAAL_EXPORT services::Status setPartialResultStorage ( data_management::KeyValueDataCollection *  inCollection,
size_t &  nBlocks 
)

Allocates memory for storing partial results of the QR decomposition algorithm based on known structure of partial results from the first steps of the algorithm in the distributed processing mode. KeyValueDataCollection under outputOfStep2ForStep3 is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Template Parameters
algorithmFPTypeData type to be used for storage in resulting HomogenNumericTable
Parameters
[in]inCollectionKeyValueDataCollection of all partial results from the first steps of the algorithm in the distributed processing mode
[out]nBlocksNumber of rows in the input data set

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.