回答

1

這可能是更有效地使用類似:Boolean Normal Form

對於實現,我建議你自己做簡單的東西是這樣的。一種有效的方法有僞代碼+解釋here