50 #ifndef _ZOLTAN2_ORDERINGSOLUTION_HPP_
51 #define _ZOLTAN2_ORDERINGSOLUTION_HPP_
67 template <
typename g
id_t,
typename lno_t>
81 gids_ = ArrayRCP<gid_t>(ngids);
107 return const_cast<ArrayRCP<gid_t>&
> (
gids_);
114 return const_cast<ArrayRCP<lno_t>&
> (
perm_);
121 *length =
gids_.size();
122 return gids_.getRawPtr();
129 *length =
perm_.size();
130 return perm_.getRawPtr();
lno_t * getPermutation(size_t *length)
TODO.
ArrayRCP< gid_t > & getGidsRCP()
TODO.
Defines the Solution base class.
size_t getPermutationSize()
TODO.
Just a placeholder for now.
ArrayRCP< lno_t > & getPermutationRCP()
TODO.
ArrayRCP< lno_t > & getPermutationRCPConst() const
TODO.
gid_t * getGids(size_t *length)
TODO.
ArrayRCP< gid_t > & getGidsRCPConst() const
TODO.
OrderingSolution(size_t perm_size, size_t ngids)
Constructor allocates memory for the solution.
Gathering definitions used in software development.
The class containing ordering solutions and metrics.