backport from main: sat, graph, lp_data, glop

This commit is contained in:
Laurent Perron
2024-09-13 13:29:25 -07:00
parent ed94162b91
commit 701cc87e1e
51 changed files with 2483 additions and 1217 deletions

View File

@@ -599,7 +599,8 @@ FindRectanglesResult FindRectanglesWithEnergyConflictMC(
// Render a packing solution as a Graphviz dot file. Only works in the "neato"
// or "fdp" Graphviz backends.
std::string RenderDot(std::optional<Rectangle> bb,
absl::Span<const Rectangle> solution);
absl::Span<const Rectangle> solution,
std::string_view extra_dot_payload = "");
// Given a bounding box and a list of rectangles inside that bounding box,
// returns a list of rectangles partitioning the empty area inside the bounding