Zoltan 2 Version 0.5
Public Member Functions | Protected Attributes
Zoltan2::OrderingSolution< gid_t, lno_t > Class Template Reference

The class containing ordering solutions and metrics. More...

#include <Zoltan2_OrderingSolution.hpp>

Inheritance diagram for Zoltan2::OrderingSolution< gid_t, lno_t >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::OrderingSolution< gid_t, lno_t >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OrderingSolution (size_t perm_size, size_t ngids)
 Constructor allocates memory for the solution.
size_t getPermutationSize ()
 TODO.
ArrayRCP< gid_t > & getGidsRCP ()
 TODO.
ArrayRCP< lno_t > & getPermutationRCP ()
 TODO.
ArrayRCP< gid_t > & getGidsRCPConst () const
 TODO.
ArrayRCP< lno_t > & getPermutationRCPConst () const
 TODO.
gid_t * getGids (size_t *length)
 TODO.
lno_tgetPermutation (size_t *length)
 TODO.

Protected Attributes

size_t perm_size_
ArrayRCP< gid_t > gids_
ArrayRCP< lno_tperm_

Detailed Description

template<typename gid_t, typename lno_t>
class Zoltan2::OrderingSolution< gid_t, lno_t >

The class containing ordering solutions and metrics.

Template parameters:

Todo:
documentation

Definition at line 68 of file Zoltan2_OrderingSolution.hpp.


Constructor & Destructor Documentation

template<typename gid_t , typename lno_t >
Zoltan2::OrderingSolution< gid_t, lno_t >::OrderingSolution ( size_t  perm_size,
size_t  ngids 
) [inline]

Constructor allocates memory for the solution.

Definition at line 74 of file Zoltan2_OrderingSolution.hpp.


Member Function Documentation

template<typename gid_t , typename lno_t >
size_t Zoltan2::OrderingSolution< gid_t, lno_t >::getPermutationSize ( ) [inline]

TODO.

Definition at line 93 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<gid_t>& Zoltan2::OrderingSolution< gid_t, lno_t >::getGidsRCP ( ) [inline]

TODO.

Definition at line 97 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<lno_t>& Zoltan2::OrderingSolution< gid_t, lno_t >::getPermutationRCP ( ) [inline]

TODO.

Definition at line 101 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<gid_t>& Zoltan2::OrderingSolution< gid_t, lno_t >::getGidsRCPConst ( ) const [inline]

TODO.

Definition at line 105 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<lno_t>& Zoltan2::OrderingSolution< gid_t, lno_t >::getPermutationRCPConst ( ) const [inline]

TODO.

Definition at line 112 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
gid_t* Zoltan2::OrderingSolution< gid_t, lno_t >::getGids ( size_t *  length) [inline]

TODO.

Definition at line 119 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
lno_t* Zoltan2::OrderingSolution< gid_t, lno_t >::getPermutation ( size_t *  length) [inline]

TODO.

Definition at line 127 of file Zoltan2_OrderingSolution.hpp.


Member Data Documentation

template<typename gid_t , typename lno_t >
size_t Zoltan2::OrderingSolution< gid_t, lno_t >::perm_size_ [protected]

Definition at line 135 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<gid_t> Zoltan2::OrderingSolution< gid_t, lno_t >::gids_ [protected]

Definition at line 136 of file Zoltan2_OrderingSolution.hpp.

template<typename gid_t , typename lno_t >
ArrayRCP<lno_t> Zoltan2::OrderingSolution< gid_t, lno_t >::perm_ [protected]

Definition at line 137 of file Zoltan2_OrderingSolution.hpp.


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