Expressing numerical constraints using Prolog without CLP(FD)

后端 未结 0 528
甜味超标
甜味超标 2020-12-28 23:53
ordering(A, B, C) :-
    integer(A),
    integer(B),
    integer(C),
    A > B,
    B > C,
    A > 0,
    10 > C.

is satisfied by

相关标签:
回答
  • 消灭零回复
提交回复
热议问题