mosaic.inmosaic.in has the following structure:
The first line contains the number of segments in the
mosaic structure. The second line contains the breakpoints,
where the number of breakpoints is one less than the number
of segments (the beginning and the end of the sequence are
not counted as breakpoints). Finally, the last row
contains the topologies,
represented by an integer between 0 and 2. Note that a
topology refers to the segment to the left of the
corresponding breakpoint.
Example:
4
202 507 538
2 0 1 0
This specifies a mosaic structure with following four segments:
| Segment | Topology |
| 1-201 | 2 |
| 202-506 | 0 |
| 507-537 | 1 |
| 538-end | 0 |
Obviously, end must be greater than 538.
Back to the beginning of this documentation.