|
Lagrange
|
Option struct for computing greedy coloring. More...
#include <lagrange/compute_greedy_coloring.h>
Public Attributes | |
| std::string_view | output_attribute_name = "@color_id" |
| Output attribute name. If the attribute already exists, it will be overwritten. | |
| AttributeElement | element_type = AttributeElement::Facet |
| Element type to be colored. Can be either Vertex or Facet. | |
| size_t | num_color_used = 8 |
| Initial color palette size. The algorithm allocates more colors when neighbors exhaust the palette, and may use fewer. | |
Option struct for computing greedy coloring.