23.02.2014 Views

Shape

Shape

Shape

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

191 <strong>Shape</strong>s in Algebras and Algebras in Rows<br />

or have coincident elements in common<br />

The maximal elements in a shape formed in a difference are not defined automatically.<br />

Some work is needed to get them, just as it is to get the maximal elements in<br />

a sum. An algorithm for lines is framed in terms of embedding in table 5. The rules<br />

are independent, and they exhaust the ways any two lines interact when a segment<br />

Table 5<br />

Rules for Maximal Lines in Differences<br />

Start with any two sets of maximal lines that are ordered by their endpoints. Let l be a line in the<br />

first set and lA be a line in the second. Then, the first set is changed recursively according to three<br />

rules that may be applied in any order until no rule can be applied.<br />

(1) If l is embedded in lA<br />

then remove l from the set.<br />

(2) If lA is properly embedded in l, so that no endpoint is shared<br />

then replace l with the lines lB and lBA fixed by the two leftmost and the two rightmost endpoints<br />

of l and lA. Alternatively, if lA is properly embedded in l, and there is a common endpoint<br />

then replace l with the line lB fixed by the remaining endpoints of l and lA.<br />

(3) If l and lA overlap but neither is embedded in the other<br />

then replace l with the line lB fixed either by the two leftmost or by the two rightmost endpoints<br />

of l and lA, so that lB isn’t embedded in lA.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!