Go to the documentation of this file.
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++){
The class containing coloring solution.
size_t length_
Get global number of colors.
ColoringSolution(size_t length)
Constructor allocates memory for the solution.
Just a placeholder for now.
size_t getColorsSize()
Get (local) size of color array.
Gathering definitions used in software development.
int * getColors()
Get (local) color array by raw pointer (no RCP).
Defines the Solution base class.
int getNumColors()
Get local number of colors. This is computed from the coloring each time, as this is cheap.
ArrayRCP< int > & getColorsRCP()
Get (local) color array by RCP.