<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.yz-learning.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Yz-Learning Base Wiki - game-engineer:classes:2021:game-algorithm:8-23</title>
        <description></description>
        <link>https://www.yz-learning.com/</link>
        <lastBuildDate>Sat, 04 Apr 2026 07:17:54 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.yz-learning.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>Yz-Learning Base Wiki</title>
            <link>https://www.yz-learning.com/</link>
        </image>
        <item>
            <title>スタックの応用</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2021:game-algorithm:8-23:stack-supplement&amp;rev=1652325379</link>
            <description>スタックの応用

スタックを使って、逆ポーランド記法で書かれた数式の計算法を紹介しました。

今度は、括弧の整合性判定をしてみます。




括弧の整合性判定

括弧の整合性とは、括弧の開き括弧（左側）と閉じ括弧（右側）の数があっているかどうかの判定です。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 12 May 2022 03:16:19 +0000</pubDate>
        </item>
        <item>
            <title>逆ポーランド記法</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2021:game-algorithm:8-23:stack-supplement2&amp;rev=1666587130</link>
            <description>逆ポーランド記法

中間記法


よく見る普通の数式の表し方
人間が見る分には理解しやすいよ
(1 + 2) / (3 - 4) = (3) / (-1) = -3

1 + 2 / 3 - 4 　通常括弧を付けて優先度を表すよ 


後置記法


演算記号を数字の後ろに置く計算記法
これが逆ポーランド記法です。
1 + 2 ⇒ 1 2 +
のように、間にあった演算記号を後ろに置く書き方</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 24 Oct 2022 04:52:10 +0000</pubDate>
        </item>
    </channel>
</rss>
