Пример #1
0
        public static bool Negate(ref Truth.State truth)
        {
            if (truth != State.Unknown)
            {
                truth = truth == State.True ? State.False : State.True;

                return(true);
            }

            return(false);
        }
Пример #2
0
 public Atom(Truth.State truth)
 {
     m_truth = truth;
 }
Пример #3
0
        //--//

        public Atom(Clause clause, Truth.State truth)
        {
            m_clause = clause;
            m_truth  = truth;
        }