14 #ifndef _ZOLTAN2_COLORINGSOLUTION_HPP_
15 #define _ZOLTAN2_COLORINGSOLUTION_HPP_
33 template <
typename Adapter>
38 typedef typename Adapter::scalar_t scalar_t;
77 for (
size_t i=0; i<
length_; i++){
int * getColors()
Get (local) color array by raw pointer (no RCP).
Defines the Solution base class.
Just a placeholder for now.
map_t::global_ordinal_type gno_t
int getNumColors()
Get local number of colors. This is computed from the coloring each time, as this is cheap...
size_t length_
Get global number of colors.
ArrayRCP< int > & getColorsRCP()
Get (local) color array by RCP.
ColoringSolution(size_t length)
Constructor allocates memory for the solution.
map_t::local_ordinal_type lno_t
Gathering definitions used in software development.
size_t getColorsSize()
Get (local) size of color array.
The class containing coloring solution.