我是 sat4j 求解器的新手..
它说应该给出一些cnf文件作为输入
是否有任何可能的方法将规则作为输入并获取它是否可以满足?
我的规则是这样的:
Problem = (
( staff_1 <=> staff_2 ) AND
( doctor_1 <=> physician_2 )
) AND (
( staff_1 AND doctor_1 )
) AND (
NOT( ward_2 AND physician_2 ) AND
NOT( clinic_2 AND physician_2 ) AND
NOT( admission_record_2 AND physician_2 )
) AND (
NOT( hospital_2 AND physician_2 ) AND
NOT( department_2 AND physician_2 ) AND
NOT( staff_2 AND physician_2 )
)
有人可以帮助我如何使用 sat4j 求解器解决这个问题吗?