コード例 #1
0
        public static int Evaluate(string infixNotationString)
        {
            string postFixNotationString = ShuntingYardConverter.Convert(infixNotationString);
            int    result = PostfixNotation.Evaluate(postFixNotationString);

            return(result);
        }
コード例 #2
0
        public static BigInteger Evaluate(string infixNotationString)
        {
            string postFixNotationString = ShuntingYardConverter.Convert(infixNotationString);

            return(PostfixNotation.Evaluate(postFixNotationString));
        }