From 2378be5d867af28a35fa3ba2cb0a5f7d8e73e050 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Wed, 3 May 2023 03:32:49 +0200 Subject: [PATCH] Segmentation: code up the algorithm according to spec ...derive the implementation mostly by logical reasoning ...indicate positions by Iterators of a random-access list --- src/steam/fixture/segmentation.cpp | 202 +++++++++++++++++++++++++---- wiki/thinkPad.ichthyo.mm | 62 +++++++-- 2 files changed, 233 insertions(+), 31 deletions(-) diff --git a/src/steam/fixture/segmentation.cpp b/src/steam/fixture/segmentation.cpp index 58c4793a7..6aaaa8eb8 100644 --- a/src/steam/fixture/segmentation.cpp +++ b/src/steam/fixture/segmentation.cpp @@ -31,7 +31,7 @@ //#include "steam/mobject/builder/fixture-change-detector.hpp" ///////////TODO #include "lib/time/timevalue.hpp" -#include +#include namespace steam { @@ -53,6 +53,7 @@ namespace fixture { namespace {// Implementation of Split-Splice algorithm using lib::time::Time; + using lib::time::TimeVar; using OptTime = std::optional