We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rule@@ // グラフ構造を変更しないルール {a([AA,AE],Out)} :- {a([AA,AE],Out)}. b(Out). c(AA). {a([AA,AE],Out)}. e(AE). //// desired output //// // b(Out), d(EE), c(AA), // {a([EE,AE],Out)}, e(AE,AA). //// real output //// // b(Out), d(EE), c(AA), // {a([EE|L4],Out), [L0]=L3}, e(L0,AA).
rule
a[AE, AA]
{a([EE|L4],Out), [L0]=L3}
// リンクが切断される場合(バグ) b(Out). {a([AA,AE],Out)}. c(AA). e(AE). b(Out). c(AA). e(AE). {a([AA,AE],Out)}. b(Out). c(AA). {a([AA,AE],Out)}. e(AE). {a([AA,AE],Out)}. b(Out). c(AA). e(AE). {a([AA,AE],Out)}. c(AA). b(Out). e(AE). c(AA). b(Out). e(AE). {a([AA,AE],Out)}. c(AA). b(Out). {a([AA,AE],Out)}. e(AE). c(AA). {a([AA,AE],Out)}. b(Out). e(AE). // リストが切断されない場合(正常) e(AE). b(Out). {a([AA,AE],Out)}. c(AA). e(AE). b(Out). c(AA). {a([AA,AE],Out)}. e(AE). {a([AA,AE],Out)}. b(Out). c(AA). e(AE). {a([AA,AE],Out)}. c(AA). b(Out). e(AE). c(AA). b(Out). {a([AA,AE],Out)}. e(AE). c(AA). {a([AA,AE],Out)}. b(Out). b(Out). e(AE). {a([AA,AE],Out)}. c(AA). b(Out). e(AE). c(AA). {a([AA,AE],Out)}. b(Out). {a([AA,AE],Out)}. e(AE). c(AA). {a([AA,AE],Out)}. e(AE). b(Out). c(AA). {a([AA,AE],Out)}. e(AE). c(AA). b(Out). {a([AA,AE],Out)}. b(Out). e(AE). c(AA). {a([AA,AE],Out)}. c(AA). e(AE). b(Out). c(AA). e(AE). b(Out). {a([AA,AE],Out)}. c(AA). e(AE). {a([AA,AE],Out)}. b(Out). c(AA). {a([AA,AE],Out)}. e(AE). b(Out).
c(AA)
e(AE)
The text was updated successfully, but these errors were encountered:
修正前
Compiled Ruleset @602 Compiled Rule --atommatch: --memmatch: spec [1, 15] ... newatom [9, 0, 'b'_1] newatom [10, 0, 'c'_1] newatom [11, 0, 'e'_1] ... newlink [9, 0, 14, 1, 0] newlink [10, 0, 12, 1, 0] newlink [11, 0, 13, 1, 0] newlink [12, 0, 6, 0, 0] <- newlink [13, 0, 7, 0, 0] <- newlink [14, 0, 8, 0, 0] <- proceed []
修正後
Compiled Ruleset @602 Compiled Rule --atommatch: --memmatch: spec [1, 15] ... newatom [9, 0, 'b'_1] newatom [10, 0, 'c'_1] newatom [11, 0, 'e'_1] ... newlink [9, 0, 14, 1, 0] newlink [10, 0, 12, 1, 0] newlink [11, 0, 13, 1, 0] newlink [13, 0, 6, 0, 0] <- newlink [14, 0, 7, 0, 0] <- newlink [12, 0, 8, 0, 0] <- proceed []
Sorry, something went wrong.
No branches or pull requests
問題
rule
が適用されると、等価なグラフ表現であっても、部分グラフの並べ方によっては、つながったままになるはずのリスト構造が切断され、a[AE, AA]
が{a([EE|L4],Out), [L0]=L3}
の形になる場合がある。c(AA)
とe(AE)
がこの順に登場するc(AA)
とe(AE)
がこの順に登場する実行例のグラフ
Unyo実行時(初期状態)
SLIM実行時
The text was updated successfully, but these errors were encountered: