モジュール lillib:fs

Feature-structure manipulating routines

バージョン

April 07, 1999

登場したバージョン

July 08, 1998

著者


目次

述語


Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

述語

glb/3

書式glb(+$FS1, +$FS2, -$FS3)
-$FS3 is the Greatest Lower Bound of $FS1 and $FS2. Let's try these.
 ?- A=[1,1|A], B=[1,1,1|B], glb(A,B,GLB).
  ?- A=[1,2|A], B=[1,2,3|B], glb(A,B,GLB).

restriction_cycle/1

書式restriction_cycle(+$FS)
引数
+$FSbot
restrict cycles in $FS

have_cycle/1

書式have_cycle(+$FS)
引数
+$FSbot
this is true if $FS has a cycle

find_fail_point/4

書式find_fail_point(+$A, +$B, -$PATH, -$REASON)
引数
+$Abot
+$Bbot
-$PATHlist
-$REASONfail_reason
This predicate shows us the failing point when we try to unify $A and $B. $PATH is the path to the failing point, and $REASON is the reason of its unification failure. $REASON should be,
  • fail_unknown : unknown (error, bug of implementation or something?)
  • fail_types : incompatible, type($A) v.s. type($B)
  • fail_1_constr: incompatible, type($A) v.s. constraint($B)
  • fail_2_constr: incompatible, constraint($A) v.s. type($B)
  • fail_other : incompatible? constraint($A) v.s. constraint($B) (I'm not sure, ask makino)

find_all_fail_point/4

書式find_all_fail_point(+$A, +$B, -$PATHs, -$REASONs)
引数
+$Abot
+$Bbot
-$PATHslist of list
-$REASONslist of fail_reason
関連項目find_fail_point/4
This predicate finds all the unification failing points in $A and $B. In this predicate, 'find_fail_point' is called to find a failing point and all the failing points are retrieved by removing the last failing point in $A by 'restriction' and calling 'find_fail_point' again.

Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

コメントはこちら:
MITSUISHI Yutaka (mitsuisi@is.s.u-tokyo.ac.jp)

This document is automatically created by lildoc on Fri Sep 24 14:14:00 2004