Package jline.api.mam
Class Mmap_shortenKt
-
- All Implemented Interfaces:
public final class Mmap_shortenKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixCell
mmap_shorten(MatrixCell mmap)
Converts an MMAP representation from M3A format to BUTools format. -
-
Method Detail
-
mmap_shorten
final static MatrixCell mmap_shorten(MatrixCell mmap)
Converts an MMAP representation from M3A format to BUTools format.
In the M3A format, an MMAP is represented as a MAP followed by multiple D1 matrices for different markings (D0, D1, D1a, D1b, ...). In the BUTools format, the MMAP representation skips the initial D1 matrix, directly listing the marking matrices (D0, D1a, D1b, ...). This method reorders the matrices accordingly.
- Parameters:
mmap
- the MatrixCell containing the MMAP representation in M3A format- Returns:
a MatrixCell representing the MMAP in BUTools format
-
-
-
-