50 #ifndef _ZOLTAN2_COLORINGSOLUTION_HPP_
51 #define _ZOLTAN2_COLORINGSOLUTION_HPP_
69 template <
typename Adapter>
73 typedef typename Adapter::gno_t gno_t;
74 typedef typename Adapter::scalar_t scalar_t;
75 typedef typename Adapter::lno_t lno_t;
113 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.
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.
Gathering definitions used in software development.
size_t getColorsSize()
Get (local) size of color array.
The class containing coloring solution.