你上面那个图不合乎规格阿,缺了5个个直角三角形。按照规则,匹配上一个直角的图形就是矩形的一角,所有能够匹配直角的图形不能超过4个。
另外你的原题中:
If pairs of consecutive *s on a common horizontal edge of a piece are stored in columns c1
and c2 , then jc1 c2j = 2.
If pairs of consecutive *s on a common vertical edge of a piece are stored in rows r1 and r2,
then jr1 r2j = 1.
If pairs of consecutive *s on a common diagonal edge of a piece are stored in rows r1 and r2
and in columns c1 and c2 , then jr1 r2j = 1 and jc1 c2j = 1.
No piece contains any hole.
Say that a * stored in row r1 and column c1 is a neighbouring * of a * stored in row r2 and
column c2 if either c1 = c2 and jr1 r2j = 1, or r1 = r2 and jc1 c2j = 2, or jr1 r2j = 1
and jc1 c2j = 1. The vertices of a given piece can be identied as those points marked
with a * from which it is possible to reach neighbouring *s in exactly two derent directions
and in no opposite direction.
这段将边规则的,里面好多乱码,给个清楚点的吧。你那个关于是不是合格三角形的问题,答案可能估计就在里面。
另外你的原题中:
If pairs of consecutive *s on a common horizontal edge of a piece are stored in columns c1
and c2 , then jc1 c2j = 2.
If pairs of consecutive *s on a common vertical edge of a piece are stored in rows r1 and r2,
then jr1 r2j = 1.
If pairs of consecutive *s on a common diagonal edge of a piece are stored in rows r1 and r2
and in columns c1 and c2 , then jr1 r2j = 1 and jc1 c2j = 1.
No piece contains any hole.
Say that a * stored in row r1 and column c1 is a neighbouring * of a * stored in row r2 and
column c2 if either c1 = c2 and jr1 r2j = 1, or r1 = r2 and jc1 c2j = 2, or jr1 r2j = 1
and jc1 c2j = 1. The vertices of a given piece can be identied as those points marked
with a * from which it is possible to reach neighbouring *s in exactly two derent directions
and in no opposite direction.
这段将边规则的,里面好多乱码,给个清楚点的吧。你那个关于是不是合格三角形的问题,答案可能估计就在里面。