예제 #1
0
        public bool isTriggered(WorkingMemory wm)
        {
            foreach (Clause antecedent in m_antecedents)
            {
                if (!wm.IsFact(antecedent))
                {
                    return(false);
                }
            }

            return(true);
        }