コード例 #1
0
        private string genExp(KarnoughEngine eng, IKarnoughMap map)
        {
            IKarnoughLogic log = eng.getExp(map);

            return(log.genLogicExpression());
        }
コード例 #2
0
        /// <summary>
        /// カルノー図から論理式を生成
        /// </summary>
        /// <param name="map">カルノー図</param>
        /// <returns>論理式</returns>
        public string getExpress(IKarnoughMap map)
        {
            IKarnoughLogic logi = getExp(map);

            return(logi.genLogicExpression());
        }