Files
conflict-range/cpp/src/fast.h
T

16 lines
508 B
C++

// Released under Apache 2.0 license as described in the file LICENSE.
#pragma once
#include "model.h"
namespace cr::fast {
// A summarised implementation of the same decision procedure as
// `Statement.closedForm`. It is equivalent on readable inputs (and in fact
// reproduces the same endpoints), but computes the result statistics once and
// avoids the literal translation's repeated scans and allocations.
ConflictRange closedForm(const RangeRead& r, const Result& res);
} // namespace cr::fast