JP6173945B2 - Simulation apparatus, simulation method, and program - Google Patents

Simulation apparatus, simulation method, and program Download PDF

Info

Publication number
JP6173945B2
JP6173945B2 JP2014037506A JP2014037506A JP6173945B2 JP 6173945 B2 JP6173945 B2 JP 6173945B2 JP 2014037506 A JP2014037506 A JP 2014037506A JP 2014037506 A JP2014037506 A JP 2014037506A JP 6173945 B2 JP6173945 B2 JP 6173945B2
Authority
JP
Japan
Prior art keywords
simulation
trial
expected value
result
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014037506A
Other languages
Japanese (ja)
Other versions
JP2015162129A (en
Inventor
貴洋 加藤子
貴洋 加藤子
優介 千葉
優介 千葉
正央 岡田
正央 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2014037506A priority Critical patent/JP6173945B2/en
Publication of JP2015162129A publication Critical patent/JP2015162129A/en
Application granted granted Critical
Publication of JP6173945B2 publication Critical patent/JP6173945B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、シミュレーション装置、シミュレーション方法及びプログラムに関し、特に、期待値シミュレーションを実行するためのシミュレーション装置、シミュレーション方法及びプログラムに関する。   The present invention relates to a simulation apparatus, a simulation method, and a program, and more particularly, to a simulation apparatus, a simulation method, and a program for executing expected value simulation.

シミュレーション手法の一つとして、モンテカルロシミュレーションが知られている。モンテカルロシミュレーションとは、評価対象となる現象を確率変数を含んだ値で模擬し、乱数を用いて該確率変数の繰り返し計算を行うことでシミュレーション結果を得る手法である。モンテカルロシミュレーションでは、乱数を用いた複数回の繰り返し計算が行われることで、シミュレーション結果に対する分布(バラつき)を求めることができる。   As one of simulation methods, Monte Carlo simulation is known. The Monte Carlo simulation is a method of obtaining a simulation result by simulating a phenomenon to be evaluated with a value including a random variable and repeatedly calculating the random variable using a random number. In the Monte Carlo simulation, a distribution (variation) with respect to the simulation result can be obtained by performing a plurality of repeated calculations using random numbers.

しかしながら、モンテカルロシミュレーションには、シミュレーションの規模が増大すると、繰り返し計算に要する計算時間が膨大になるという課題がある。   However, the Monte Carlo simulation has a problem that the calculation time required for iterative calculation becomes enormous as the simulation scale increases.

このような問題に対し、特開2010−145895号公報(特許文献1)は、過去に行われた計算と同一条件の計算については、過去の計算結果を利用することで、計算時間を短縮する手法を開示している。また、特開2012−243212号公報(特許文献2)は、複数の計算機で分散して計算を行うことにより、短時間でシミュレーション結果を得る手法を開示している。   With respect to such a problem, Japanese Patent Laid-Open No. 2010-145895 (Patent Document 1) shortens the calculation time by using the past calculation result for the calculation under the same condition as the calculation performed in the past. The method is disclosed. Japanese Patent Laying-Open No. 2012-243212 (Patent Document 2) discloses a method of obtaining a simulation result in a short time by performing a calculation in a distributed manner with a plurality of computers.

しかしながら、これらの手法は、計算時間の増加という問題を抜本的に改善するものではない。特許文献1の手法では、計算時間の低減の効果は限定的であり、また、特許文献2の手法では、計算時間自体は短縮されず、その一方で、シミュレーションに必要なハードウェア資源が増大してしまう。   However, these methods do not drastically improve the problem of increase in calculation time. In the method of Patent Document 1, the effect of reducing the calculation time is limited, and in the method of Patent Document 2, the calculation time itself is not shortened. On the other hand, hardware resources necessary for the simulation increase. End up.

このような背景から、発明者らは、期待値シミュレーションを採用することで計算時間を短縮することを検討している。期待値シミュレーションとは、評価対象の現象を、その現象が見込まれる値(期待値)で模擬し、現象を解析的に解くことでシミュレーション結果を得る手法である。期待値シミュレーションは、確定型シミュレーションであり、1回の計算によりシミュレーション結果を得ることができる。   Against this background, the inventors are considering reducing the calculation time by adopting expected value simulation. The expected value simulation is a method of obtaining a simulation result by simulating a phenomenon to be evaluated with a value (expected value) where the phenomenon is expected and solving the phenomenon analytically. The expected value simulation is a deterministic simulation, and a simulation result can be obtained by one calculation.

しかしながら、従来の期待値シミュレーションは、1回の計算によりシミュレーション結果を得ることができるが、シミュレーション結果の分布(バラつき)を求めることはできない。   However, in the conventional expected value simulation, a simulation result can be obtained by one calculation, but a distribution (variation) of the simulation result cannot be obtained.

特開2010−145895号公報JP 2010-145895 A 特開2012−243212号公報JP 2012-243212 A

本発明は、このような背景からなされたものであり、本発明の目的は、期待値シミュレーションを実行するときに、シミュレーション結果の分布を求めるための技術を提供することにある。   The present invention has been made from such a background, and an object of the present invention is to provide a technique for obtaining a distribution of simulation results when an expected value simulation is executed.

以下に、発明を実施するための形態で使用される番号・符号を用いて、課題を解決するための手段を説明する。これらの番号・符号は、特許請求の範囲の記載と発明を実施するための形態との対応関係の一例を示すために、参考として、括弧付きで付加されたものである。   Hereinafter, means for solving the problem will be described using the numbers and symbols used in the embodiments for carrying out the invention. These numbers and symbols are added with parentheses for reference in order to show an example of the correspondence between the description of the claims and the mode for carrying out the invention.

本発明の一の観点では、シミュレーション装置(10)が、記憶手段(5)とシミュレーション手段(6)とを具備している。記憶手段(5)は、第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データ(15)と、第1確率変数の分布関数を示す第1分布データ(17)と、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データ(16)と、第2確率変数の分布関数を示す第2分布データ(18)とを記憶する。シミュレーション手段(6)は、第1期待値データ(15)と第2期待値データ(16)とに基づいて、第1試行の結果としてx個の対象要素が選択されたときにx個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行う。シミュレーション手段(6)は、更に、第3試行の結果の分布関数を、第1分布データ(17)と第2分布データ(18)とに基づいて算出する。   In one aspect of the present invention, the simulation apparatus (10) includes a storage means (5) and a simulation means (6). The storage means (5) includes first expected value data (15) indicating the expected value of the first random variable corresponding to the result of the first trial, and first distribution data (17) indicating the distribution function of the first random variable. And second expected value data (16) indicating the expected value of the second random variable corresponding to the result of the second trial, and second distribution data (18) indicating the distribution function of the second random variable. The simulation means (6) generates x targets when x target elements are selected as a result of the first trial based on the first expected value data (15) and the second expected value data (16). An expected value simulation is performed to calculate an expected value of the result of the third trial, which is a trial of performing the second trial for i target elements (i is an integer of 0 or more and x or less). The simulation means (6) further calculates a distribution function as a result of the third trial based on the first distribution data (17) and the second distribution data (18).

このようなシミュレーション装置(10)によれば、期待値シミュレーションを実行するときに、シミュレーション結果の分布を求めることができる。   According to such a simulation apparatus (10), when an expected value simulation is executed, a distribution of simulation results can be obtained.

一実施形態では、シミュレーション手段(6)は、期待値シミュレーションを行う際に、期待値シミュレーションの過程における対象要素のそれぞれの状態を記録したログデータを作成してもよい。この場合、シミュレーション手段(6)は、第3試行の結果の分布関数の算出において、ログデータからx個の対象要素のうちからi個の対象要素が選択される確率を算出し、第3試行の結果の分布関数を、第1分布データ(17)と第2分布データ(18)と確率とに基づいて算出することが好ましい。このような構成によれば、第1試行で選択されたx個の対象要素のうちの一部のみについて第2試行が行われる場合について、シミュレーション結果の分布、即ち、第3試行の結果の分布関数を算出することができる。   In one embodiment, the simulation means (6) may create log data in which each state of the target element in the process of the expected value simulation is recorded when performing the expected value simulation. In this case, the simulation means (6) calculates the probability that i target elements are selected from the x target elements from the log data in calculating the distribution function of the result of the third trial, and the third trial It is preferable that the distribution function as a result of the above is calculated based on the first distribution data (17), the second distribution data (18), and the probability. According to such a configuration, the distribution of the simulation results, that is, the distribution of the results of the third trial, in the case where the second trial is performed for only some of the x target elements selected in the first trial. A function can be calculated.

より具体的には、一実施形態では、シミュレーション手段(6)は、第3試行の結果の分布関数H(y)を、下記式(1):

Figure 0006173945
に従って算出してもよい。ここで、xは、第1確率変数がとり得る値であり、F(x)は、第1確率変数の分布関数であり、yは、第2確率変数がとり得る値であり、G(y)は、i個の対象要素に対して第2試行を行った結果に対応する第2確率変数の分布関数であり、I(i)は、x個の対象要素のうちからi個の対象要素が選択される確率である。 More specifically, in one embodiment, the simulation means (6) uses the distribution function H (y) as a result of the third trial as the following formula (1):
Figure 0006173945
You may calculate according to. Here, x is a value that the first random variable can take, F (x) is a distribution function of the first random variable, y is a value that the second random variable can take, and G i ( y) is a distribution function of the second random variable corresponding to the result of performing the second trial on i target elements, and I x (i) is i number of x target elements. This is the probability that the target element will be selected.

第1試行の結果として選択されたx個の対象要素の全てが第2試行が行われる対象要素として選択される場合には、シミュレーション手段(6)は、第3試行の結果の分布関数H(y)を、下記式(2):

Figure 0006173945
に従って算出してもよい。ここで、xは、第1確率変数がとり得る値であり、F(x)は、第1確率変数の分布関数であり、yは、第2確率変数がとり得る値であり、G(y)は、x個の対象要素に対して第2試行を行った結果に対応する第2確率変数の分布関数である。この場合には、第1試行で選択されたx個の対象要素の全てが第2試行の対象とされる場合について、シミュレーション結果の分布、即ち、第3試行の結果の分布関数を算出することができる。 When all of the x target elements selected as the result of the first trial are selected as target elements for which the second trial is performed, the simulation means (6) distributes the distribution function H ( y) is converted into the following formula (2):
Figure 0006173945
You may calculate according to. Here, x is a value that the first random variable can take, F (x) is a distribution function of the first random variable, y is a value that the second random variable can take, and G x ( y) is a distribution function of the second random variable corresponding to the result of performing the second trial on x target elements. In this case, the simulation result distribution, that is, the distribution function of the third trial result is calculated for the case where all the x target elements selected in the first trial are the target of the second trial. Can do.

当該シミュレーション装置(10)は、モンテカルロシミュレーションにより、第1期待値データ(15)と第1分布データ(17)と第2期待値データ(16)と第2分布データ(18)とを生成するモンテカルロシミュレーション手段(7)を具備してもよい。このような構成によれば、当該シミュレーション装置(10)により、第1期待値データ(15)と第1分布データ(17)と第2期待値データ(16)と第2分布データ(18)を準備することができる。   The simulation apparatus (10) generates the first expected value data (15), the first distribution data (17), the second expected value data (16), and the second distribution data (18) by Monte Carlo simulation. Simulation means (7) may be provided. According to such a configuration, the simulation apparatus (10) converts the first expected value data (15), the first distribution data (17), the second expected value data (16), and the second distribution data (18). Can be prepared.

本発明の他の観点では、味方軍の部隊と敵軍の部隊が、それぞれ複数の戦闘ユニットを含んでおり、且つ、味方軍の戦闘ユニットと敵軍の戦闘ユニットとが遭遇したときに戦闘が発生するとして戦闘を模擬する部隊戦闘シミュレーションを行う部隊戦闘シミュレーション装置(10)が提供される。当該部隊戦闘シミュレーション装置(10)は、記憶手段(5)と、シミュレーション手段(6)とを具備する。記憶手段は、敵軍の戦闘ユニットである脅威を探知するという第1試行により探知した脅威の数の期待値を示す第1期待値データ(15)と、第1試行により探知した脅威の数の分布関数を示す第1分布データ(17)と、攻撃可能な脅威がi個あるときにi個の脅威に対して攻撃するという第2試行により撃破した脅威の数の期待値を示す第2期待値データ(16)と、第2試行により撃破した脅威の数の分布関数を示す第2分布データ(18)とを記憶する。シミュレーション手段(6)は、第1期待値データ(15)と第2期待値データ(16)とに基づいて、第1試行の結果としてx個の脅威を探知したときにx個の脅威のうちの攻撃可能なi個(iは、0以上x以下の整数)の脅威について第2試行を行う試行である第3試行の結果の期待値を算出する期待値シミュレーションを行う。シミュレーション手段(6)は、更に、第3試行の結果の分布関数を、第1分布データ(17)と第2分布データ(18)とに基づいて算出する。   In another aspect of the present invention, the friendly troops and the enemy troops each include a plurality of combat units, and the battle occurs when the friendly combat units and the enemy combat units meet. A unit battle simulation device (10) is provided for performing a unit battle simulation that simulates a battle as it occurs. The unit battle simulation apparatus (10) includes a storage means (5) and a simulation means (6). The storage means includes first expected value data (15) indicating an expected value of the number of threats detected by the first trial of detecting a threat that is a battle unit of an enemy army, and the number of threats detected by the first trial. First distribution data (17) indicating a distribution function and second expectation indicating an expected value of the number of threats destroyed by a second trial of attacking i threats when there are i threats that can be attacked Value data (16) and second distribution data (18) indicating a distribution function of the number of threats destroyed by the second trial are stored. The simulation means (6) detects x threats as a result of the first trial based on the first expected value data (15) and the second expected value data (16). The expected value simulation is performed to calculate the expected value of the result of the third trial, which is the trial of performing the second trial for i threats that can be attacked (i is an integer of 0 or more and x or less). The simulation means (6) further calculates a distribution function as a result of the third trial based on the first distribution data (17) and the second distribution data (18).

このような部隊戦闘シミュレーション装置(10)によれば、期待値シミュレーションを実行するときに、シミュレーション結果、即ち、撃破した脅威の数の分布関数を求めることができる。   According to such a unit battle simulation apparatus (10), when an expected value simulation is executed, a simulation result, that is, a distribution function of the number of threats destroyed can be obtained.

一実施形態では、シミュレーション手段(6)は、期待値シミュレーションを行う際に、期待値シミュレーションの過程における戦闘ユニットのそれぞれの状態を記録したログデータを作成してもよい。この場合、シミュレーション手段(6)は、第3試行の結果の分布関数の算出において、ログデータからx個の脅威のうちi個の脅威が攻撃可能である確率を算出し、第3試行の結果の分布関数を、第1分布データ(17)と第2分布データ(18)と確率とに基づいて算出してもよい。このような構成によれば、探知されたx個の脅威のうちの一部のみが攻撃可能である場合について、シミュレーション結果の分布、即ち、第3試行の結果の分布関数を算出することができる。   In one embodiment, the simulation means (6) may create log data recording each state of the battle unit in the process of expected value simulation when performing the expected value simulation. In this case, in the calculation of the distribution function of the result of the third trial, the simulation means (6) calculates the probability that i threats can be attacked among the x threats from the log data, and the result of the third trial May be calculated based on the first distribution data (17), the second distribution data (18), and the probability. According to such a configuration, it is possible to calculate the distribution of simulation results, that is, the distribution function of the results of the third trial, when only some of the detected x threats can be attacked. .

より具体的には、シミュレーション手段(6)は、第3試行の結果の分布関数H(y)を、下記式(3):

Figure 0006173945
に従って算出してもよい。F(x)は、第1試行により探知した脅威の数の分布関数であり、G(y)は、i個の脅威に対して第2試行を行うことによって撃破した脅威の数の分布関数であり、yは、第2試行を行うことによって撃破した脅威の数がとり得る値であり、I(i)は、x個の脅威のうちi個の脅威が攻撃可能である確率である。I(i)は、第3試行を行った特定戦闘ユニットの探知範囲に存在する脅威の数をaとし、また、特定戦闘ユニットの攻撃射程内に存在する脅威の数をbとして、下記式(4)に従って算出される:
Figure 0006173945
More specifically, the simulation means (6) uses the distribution function H (y) as a result of the third trial as the following formula (3):
Figure 0006173945
You may calculate according to. F (x) is a distribution function of the number of threats detected by the first trial, and G i (y) is a distribution function of the number of threats destroyed by performing the second trial on i threats. Y is a value that can be taken by the number of threats defeated by performing the second trial, and I x (i) is a probability that i threats of x threats can be attacked. . I x (i) is expressed by the following formula, where a is the number of threats existing in the detection range of the specific battle unit that has performed the third trial, and b is the number of threats existing within the attack range of the specific battle unit. Calculated according to (4):
Figure 0006173945

本発明の更に他の観点では、コンピュータを、第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データ(15)と、第1確率変数の分布関数を示す第1分布データ(17)と、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データ(16)と、第2確率変数の分布関数を示す第2分布データ(18)とを記憶する記憶手段(5)と、シミュレーション手段(6)として機能させるプログラムが提供される。当該シミュレーション手段(6)は、第1期待値データ(15)と第2期待値データ(16)とに基づいて、第1試行の結果としてx個の対象要素が選択されたときにx個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行う。シミュレーション手段(6)は、更に、第3試行の結果の分布関数を、第1分布データ(17)と第2分布データ(18)とに基づいて算出する。   In still another aspect of the present invention, the computer performs first expectation value data (15) indicating an expectation value of a first random variable corresponding to a result of the first trial, and a first function indicating a distribution function of the first random variable. Distribution data (17), second expected value data (16) indicating the expected value of the second random variable corresponding to the result of the second trial, and second distribution data (18) indicating the distribution function of the second random variable Are provided as a storage means (5) and a program for functioning as a simulation means (6). The simulation means (6), based on the first expected value data (15) and the second expected value data (16), when x target elements are selected as a result of the first trial, An expected value simulation is performed to calculate the expected value of the result of the third trial, which is a trial of performing the second trial for i target elements (i is an integer of 0 or more and x or less) among the target elements. The simulation means (6) further calculates a distribution function as a result of the third trial based on the first distribution data (17) and the second distribution data (18).

このようなプログラムによれば、期待値シミュレーションを実行するときに、シミュレーション結果の分布を求めることができる。   According to such a program, the distribution of the simulation result can be obtained when the expected value simulation is executed.

本発明の更に他の観点では、記憶手段(5)とシミュレーション手段(6)とを備えるシミュレーション装置(10)で行われるシミュレーション方法が提供される。該シミュレーション方法は、第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データ(15)と、第1確率変数の分布関数を示す第1分布データ(17)と、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データ(16)と、第2確率変数の分布関数を示す第2分布データ(18)とを記憶手段(5)に記憶させるステップと、シミュレーション手段(6)が、第1期待値データ(15)と第2期待値データ(16)とに基づいて、第1試行の結果としてx個の対象要素が選択されたときにx個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行うステップと、シミュレーション手段(6)が、第1分布データ(17)と第2分布データ(18)とに基づいて第3試行の結果の分布関数を算出するステップとを具備する。   In still another aspect of the present invention, there is provided a simulation method performed by a simulation apparatus (10) including a storage unit (5) and a simulation unit (6). The simulation method includes first expected value data (15) indicating an expected value of a first random variable corresponding to a result of the first trial, first distribution data (17) indicating a distribution function of the first random variable, Storage means (5) stores second expected value data (16) indicating an expected value of the second random variable corresponding to the result of the second trial, and second distribution data (18) indicating a distribution function of the second random variable. And the simulation means (6) selects x target elements as a result of the first trial based on the first expected value data (15) and the second expected value data (16). An expected value simulation for calculating the expected value of the result of the third trial, which is an attempt to perform the second trial on i target elements (i is an integer not less than 0 and not more than x) sometimes among x target elements Step and simulation hand (6), and a step of calculating the distribution function of the result of the third trial based on the first distribution data (17) and the second distribution data (18).

このようなシミュレーション方法によれば、期待値シミュレーションを実行するときに、シミュレーション結果の分布を求めることができる。   According to such a simulation method, the distribution of the simulation result can be obtained when the expected value simulation is executed.

本発明によれば、期待値シミュレーションを実行するときに、シミュレーション結果の分布を求めることができる。   According to the present invention, when an expected value simulation is executed, a distribution of simulation results can be obtained.

本発明の一実施形態におけるシミュレーション方法を示す概念図である。It is a conceptual diagram which shows the simulation method in one Embodiment of this invention. 本発明の一実施形態におけるシミュレーション装置の構成を概念的に示すブロック図である。It is a block diagram which shows notionally the structure of the simulation apparatus in one Embodiment of this invention. 本発明の一実施形態におけるシミュレーション方法を示すフローチャートである。It is a flowchart which shows the simulation method in one Embodiment of this invention. 本発明のシミュレーションの実施例1を説明する図である。It is a figure explaining Example 1 of the simulation of the present invention. 本発明のシミュレーションの実施例2を説明する図である。It is a figure explaining Example 2 of the simulation of this invention. 実施例2において、P市に向かうトラックの数、P市に向かうトラック以外の車両の数、及び、P市に向かう車両の総数、Q市に向かうトラックの数、Q市に向かうトラック以外の車両の数、及び、Q市に向かう車両の総数の関係を示す表である。In Example 2, the number of trucks going to P city, the number of vehicles other than trucks going to P city, the total number of vehicles going to P city, the number of trucks going to Q city, and the vehicles other than trucks going to Q city And the total number of vehicles heading to Q city. 実施例2の変形例において、P市に向かう大型トラックの数、P市に向かう小型トラックの数、P市に向かうトラック以外の車両の数、P市に向かう車両の総数、Q市に向かう大型トラックの数、Q市に向かう小型トラックの数、Q市に向かうトラック以外の車両の数、及び、Q市に向かう車両の総数の関係を示す表である。In the modification of Example 2, the number of large trucks heading to P city, the number of small trucks heading to P city, the number of vehicles other than trucks heading to P city, the total number of vehicles heading to P city, the large truck heading to Q city It is a table | surface which shows the relationship between the number of trucks, the number of small trucks which go to Q city, the number of vehicles other than the truck which goes to Q city, and the total number of vehicles which go to Q city.

以下、添付図面を参照して本発明の実施形態について説明する。図1は、本発明の一実施形態におけるシミュレーション方法を示す概念図である。本発明の一実施形態では、試行Aを行い、試行Aの結果としてx個の対象要素(シミュレーションの対象となる要素)が選択されたときに(xは、0以上a以下の整数)、該x個の対象要素のうちのi個の対象要素(iは、0以上x以下の整数)について試行Bを行う場合の試行Bの結果の期待値を算出する期待値シミュレーションが行われる。以下では、試行Aの結果に対応する確率変数をX、試行Bの結果に対応する確率変数をYと記載する。また、「試行Aを行い、試行Aの結果としてx個の対象要素が選択されたときに、該x個の対象要素のうちのi個の対象要素(iは、0以上x以下の整数)に対して試行Bを行う」という試行を試行ABと記載し、試行ABの結果に対応する確率変数をXYと記載する。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a conceptual diagram showing a simulation method in one embodiment of the present invention. In one embodiment of the present invention, when trial A is performed and x target elements (elements to be simulated) are selected as a result of trial A (x is an integer of 0 or more and a or less), An expected value simulation is performed to calculate the expected value of the result of trial B when trial B is performed for i target elements (i is an integer of 0 to x) of the x target elements. Hereinafter, the random variable corresponding to the result of trial A is described as X, and the random variable corresponding to the result of trial B is described as Y. Also, “when trial A is performed and x target elements are selected as a result of trial A, i target elements (i is an integer between 0 and x) in the x target elements. The trial “perform trial B against” is described as trial AB, and the random variable corresponding to the result of trial AB is described as XY.

本実施形態のシミュレーション方法では、期待値シミュレーションの入力データ(以下、「シミュレーション基礎データ」ということがある。)が、試行Aを行った時に得られる結果に対応する確率変数Xの期待値E[X]及びi個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの期待値E[Y]を示すデータを含んでいる。更に、この期待値E[X]、E[Y]に基づいて試行ABの結果に対応する確率変数XYの期待値E[XY]が算出される。この期待値シミュレーションは、一般的な確定的シミュレーションによって実行される。   In the simulation method of the present embodiment, input data of an expected value simulation (hereinafter, also referred to as “simulation basic data”) is an expected value E [of a random variable X corresponding to a result obtained when the trial A is performed. X] and data indicating the expected value E [Y] of the random variable Y corresponding to the result obtained when trial B is performed for i target elements. Further, the expected value E [XY] of the random variable XY corresponding to the result of the trial AB is calculated based on the expected values E [X] and E [Y]. This expected value simulation is executed by a general deterministic simulation.

本実施形態のシミュレーション方法では、更に、試行Aを行った時に得られる結果に対応する確率変数Xの分布関数F(x)及びi個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの分布関数G(y)が、シミュレーション基礎データとして与えられ、その分布関数F(x)、G(y)に基づいて、試行ABの結果に対応する確率変数XYの分布を示す分布関数H(y)が算出される。ここで、xは、試行Aの結果に対応する確率変数Xのとる値であり、yは、試行Bの結果に対応する確率変数Yのとる値である。 In the simulation method of the present embodiment, the distribution function F (x) of the random variable X corresponding to the result obtained when the trial A is performed and the result obtained when the trial B is performed on the i target elements. The distribution function G i (y) of the random variable Y to be performed is given as simulation basic data, and the distribution of the random variable XY corresponding to the result of the trial AB based on the distribution functions F (x) and G i (y) A distribution function H (y) is calculated. Here, x is a value taken by the random variable X corresponding to the result of the trial A, and y is a value taken by the random variable Y corresponding to the result of the trial B.

分布関数H(y)の算出は、下記のようにして行われる。まず、試行Aにおいてx個の対象要素が選択されるという事象が発生したときに、該x個の対象要素のうちi個が試行Bの対象要素となる確率I(i)(iは、0以上x以下の整数)が、期待値E[XY]を算出するために行われた期待値シミュレーションにおいて記録されるログデータから導出される。分布関数H(y)は、算出された確率I(i)に基づいて下記式(1)に従って算出される:

Figure 0006173945
The distribution function H (y) is calculated as follows. First, when an event that x target elements are selected in the trial A occurs, the probability I x (i) (i is the target element of the trial B when i out of the x target elements is selected). (An integer of 0 or more and x or less) is derived from log data recorded in the expected value simulation performed to calculate the expected value E [XY]. The distribution function H (y) is calculated according to the following equation (1) based on the calculated probability I x (i):
Figure 0006173945

ここで、試行Aにおいてx個の対象要素が選択されるという事象が発生したときに、該x個の対象要素のすべてが試行Bの対象要素となる特別な場合には、I(i)は、1になる。この場合、分布関数H(y)は、下記式(2)に従って算出される:

Figure 0006173945
Here, when the event that x target elements are selected in the trial A occurs, in the special case where all of the x target elements are the target elements of the trial B, I x (i) Becomes 1. In this case, the distribution function H (y) is calculated according to the following equation (2):
Figure 0006173945

以下では、期待値シミュレーションによる期待値E[XY]及び分布関数H(y)の算出の具体例について詳細に説明する。   Hereinafter, a specific example of calculating the expected value E [XY] and the distribution function H (y) by the expected value simulation will be described in detail.

図2は、本発明の一実施形態のシミュレーション装置10の構成を概念的に示すブロック図である。本実施形態のシミュレーション装置10は、上記のシミュレーションを実行するコンピュータとして構成されており、プロセッサ1、メモリ2、入力装置3、出力装置4及び外部記憶装置5を備えている。   FIG. 2 is a block diagram conceptually showing the structure of the simulation apparatus 10 according to the embodiment of the present invention. A simulation apparatus 10 according to the present embodiment is configured as a computer that executes the above-described simulation, and includes a processor 1, a memory 2, an input device 3, an output device 4, and an external storage device 5.

プロセッサ1は、外部記憶装置5にインストールされたソフトウェアプログラムを実行し、所望の演算を行う。メモリ2は、プロセッサ1によって実行される演算に使用される主記憶装置として使用される。入力装置3と出力装置4とは、シミュレーション装置10にデータを入力し、又は、シミュレーション装置10からデータを出力するインターフェースを構成している。入力装置3としては、例えば、キーボード、マウス、タッチパッドが使用され得る。また、出力装置4としては、例えば、ディスプレイやプリンタが使用され得る。   The processor 1 executes a software program installed in the external storage device 5 and performs a desired calculation. The memory 2 is used as a main storage device used for operations executed by the processor 1. The input device 3 and the output device 4 constitute an interface for inputting data to the simulation device 10 or outputting data from the simulation device 10. As the input device 3, for example, a keyboard, a mouse, and a touch pad can be used. For example, a display or a printer can be used as the output device 4.

外部記憶装置5は、本実施形態におけるシミュレーションに用いられるソフトウェアプログラム及びデータを格納し、更に、シミュレーションの結果を示すデータを格納する。より具体的には、本実施形態では、外部記憶装置5には、期待値シミュレータ6とモンテカルロシミュレータ7とがインストールされており、更に、シミュレーション基礎データ11が格納される。   The external storage device 5 stores software programs and data used for the simulation in the present embodiment, and further stores data indicating the result of the simulation. More specifically, in this embodiment, an expected value simulator 6 and a Monte Carlo simulator 7 are installed in the external storage device 5, and further simulation basic data 11 is stored.

シミュレーション基礎データ11は、期待値シミュレータ6による期待値シミュレーションにおいて用いられるデータである。本実施形態では、シミュレーション基礎データ11が、期待値データ15、16を含んでいる。期待値データ15は、試行Aを行った時に得られる結果に対応する確率変数Xの期待値E[X]を示すデータであり、期待値データ16は、i個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの期待値E[Y]を示すデータである。   The simulation basic data 11 is data used in an expected value simulation by the expected value simulator 6. In the present embodiment, the simulation basic data 11 includes expected value data 15 and 16. The expected value data 15 is data indicating the expected value E [X] of the random variable X corresponding to the result obtained when the trial A is performed, and the expected value data 16 is the trial B for i target elements. This is data indicating the expected value E [Y] of the random variable Y corresponding to the result obtained.

シミュレーション基礎データ11は、更に、分布データ17、18を含んでいる。分布データ17は、試行Aを行った時に得られる結果に対応する確率変数Xの分布関数F(x)を示すデータである。一方、分布データ18は、i個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの分布関数G(y)を示すデータである。 The simulation basic data 11 further includes distribution data 17 and 18. The distribution data 17 is data indicating the distribution function F (x) of the random variable X corresponding to the result obtained when the trial A is performed. On the other hand, the distribution data 18 is data indicating the distribution function G i (y) of the random variable Y corresponding to the result obtained when trial B is performed on i target elements.

期待値シミュレータ6は、シミュレーション基礎データ11に含まれる様々なデータ、より具体的には、期待値データ15、16に基づいて期待値シミュレーションを行い、該期待値シミュレーションの結果を示すシミュレーション結果データ12を生成する。このとき、期待値シミュレータ6は、該期待値シミュレーションの過程における対象要素のそれぞれの状態を記録したログデータ13を生成する。   The expected value simulator 6 performs expected value simulation based on various data included in the simulation basic data 11, more specifically, expected value data 15 and 16, and simulation result data 12 indicating the result of the expected value simulation. Is generated. At this time, the expected value simulator 6 generates log data 13 in which the state of each target element in the expected value simulation process is recorded.

期待値シミュレータ6は、更に、更に、シミュレーション基礎データ11に含まれる分布データ17、18に記述されている分布関数F(x)、G(y)とログデータ13とに基づいて、シミュレーション結果の分布、即ち、分布関数H(y)を示すシミュレーション結果分布データ14を算出する。 The expected value simulator 6 further performs simulation results based on the distribution functions F (x) and G i (y) described in the distribution data 17 and 18 included in the simulation basic data 11 and the log data 13. , I.e., the simulation result distribution data 14 indicating the distribution function H (y).

モンテカルロシミュレータ7は、シミュレーション基礎データ11に含まれるデータを生成するために用いられるシミュレータである。モンテカルロシミュレータ7は、小規模なモンテカルロシミュレーションを行うことでシミュレーション基礎データ11に含まれるデータを生成する。本実施形態では、シミュレーション基礎データ11が、期待値データ15、16及び分布データ17、18を含んでおり、その期待値データ15、16及び分布データ17、18が、モンテカルロシミュレータ7で生成される。   The Monte Carlo simulator 7 is a simulator used for generating data included in the simulation basic data 11. The Monte Carlo simulator 7 generates data included in the simulation basic data 11 by performing a small-scale Monte Carlo simulation. In the present embodiment, the simulation basic data 11 includes expected value data 15 and 16 and distribution data 17 and 18, and the expected value data 15 and 16 and distribution data 17 and 18 are generated by the Monte Carlo simulator 7. .

なお、シミュレーション基礎データ11に含まれるデータを生成するためにモンテカルロシミュレーションが必要ない場合(例えば、期待値データ15、16及び分布データ17、18が実測値として得られる場合)には、モンテカルロシミュレータ7がシミュレーション装置10にインストールされていなくてもよい。   In addition, when the Monte Carlo simulation is not necessary to generate the data included in the simulation basic data 11 (for example, when the expected value data 15 and 16 and the distribution data 17 and 18 are obtained as actual measurement values), the Monte Carlo simulator 7 May not be installed in the simulation apparatus 10.

図3は、本実施形態におけるシミュレーション方法を示すフローチャートである。ステップS01では、期待値シミュレーションにおいて使用されるシミュレーション基礎データ11が準備される。本実施形態では、期待値データ15、16と分布データ17、18を含むシミュレーション基礎データ11が準備される。上述のように、期待値データ15は、試行Aを行った時に得られる結果に対応する確率変数Xの期待値E[X]を示すデータであり、期待値データ16は、i個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの期待値E[Y]を示すデータである。また、分布データ17は、試行Aを行った時に得られる結果に対応する確率変数Xの分布関数F(x)を示すデータであり、分布データ18は、i個の対象要素について試行Bを行った時に得られる結果に対応する確率変数Yの分布関数G(y)を示すデータである。期待値データ15、16と分布データ17、18は、モンテカルロシミュレータ7によって生成されてもよい。 FIG. 3 is a flowchart showing a simulation method in the present embodiment. In step S01, simulation basic data 11 used in expected value simulation is prepared. In this embodiment, simulation basic data 11 including expected value data 15 and 16 and distribution data 17 and 18 is prepared. As described above, the expected value data 15 is data indicating the expected value E [X] of the random variable X corresponding to the result obtained when the trial A is performed, and the expected value data 16 is i target elements. Is the data indicating the expected value E [Y] of the random variable Y corresponding to the result obtained when trial B is performed. The distribution data 17 is data indicating the distribution function F (x) of the random variable X corresponding to the result obtained when the trial A is performed, and the distribution data 18 performs the trial B for i target elements. This is data indicating the distribution function G i (y) of the random variable Y corresponding to the result obtained at the time. The expected value data 15 and 16 and the distribution data 17 and 18 may be generated by the Monte Carlo simulator 7.

ステップS02では、期待値シミュレータ6により、シミュレーション基礎データ11を入力データとして用いて期待値シミュレーションが行われ、該期待値シミュレーションの結果を示すシミュレーション結果データ12が生成される。この期待値シミュレーションは、一般的な確定的シミュレーションによって行われる。該期待値シミュレーションでは、試行AB(試行Aを行い、試行Aの結果としてx個の対象要素が選択されたときに、該x個の対象要素のうちのi個の対象要素(iは、0以上x以下の整数)に対して試行Bを行うという試行)の結果に対応する確率変数XYの期待値E[XY]が、期待値データ15、16に記述されている期待値E[X]、E[Y]に基づいて算出される。シミュレーション結果データ12には、試行ABの結果に対応する確率変数XYの期待値E[XY]が記述される。ステップS02における期待値シミュレーションでは、期待値シミュレーションの各過程における対象要素のそれぞれの状態を記録したログデータ13が生成される。   In step S02, the expected value simulator 6 performs an expected value simulation using the simulation basic data 11 as input data, and generates simulation result data 12 indicating the result of the expected value simulation. This expected value simulation is performed by a general deterministic simulation. In the expected value simulation, when trial AB (trial A is performed and x target elements are selected as a result of trial A, i target elements (i is 0) of the x target elements is selected. The expected value E [XY] of the random variable XY corresponding to the result of the trial B in which trial B is performed for an integer less than or equal to x) is the expected value E [X] described in the expected value data 15 and 16. , E [Y]. In the simulation result data 12, an expected value E [XY] of the random variable XY corresponding to the result of the trial AB is described. In the expected value simulation in step S02, log data 13 in which the state of each target element in each process of the expected value simulation is recorded is generated.

更に、ステップS03では、シミュレーション結果の分布が算出され、算出された分布を示すシミュレーション結果分布データ14が生成される。ステップS03では、試行ABの結果に対応する確率変数XYの分布を示す分布関数H(y)が算出される。シミュレーション結果分布データ14には、分布関数H(y)が記述される。   Further, in step S03, a simulation result distribution is calculated, and simulation result distribution data 14 indicating the calculated distribution is generated. In step S03, a distribution function H (y) indicating the distribution of the random variable XY corresponding to the result of the trial AB is calculated. In the simulation result distribution data 14, a distribution function H (y) is described.

分布関数H(y)の算出では、まず、試行Aにおいてx個の対象要素が選択されるという事象が発生したときに、該x個の対象要素のうちi個が試行Bの対象要素となる確率I(i)が、ステップS02の期待値シミュレーションにおいて記録されたログデータ13から導出される。一実施形態では、ログデータ13に記録されている該x個の対象要素の状態から、該x個の対象要素のうちi個が試行Bの対象要素となる確率I(i)が算出される。また、試行Aの結果として選択されたx個の対象要素のうちi個(iは、0以上x以下の整数)が試行Bの対象要素となるという事象が、期待値シミュレーションにおいて複数回実績として発生している場合には、それぞれの発生している実績に基づいて確率I(i)を算出してもよい。 In the calculation of the distribution function H (y), first, when an event occurs that x target elements are selected in trial A, i of the x target elements become target elements of trial B. The probability I x (i) is derived from the log data 13 recorded in the expected value simulation in step S02. In one embodiment, from the state of the x target elements recorded in the log data 13, a probability I x (i) that i out of the x target elements are target elements of the trial B is calculated. The In addition, an event that i elements (i is an integer not less than 0 and not more than x) among x object elements selected as a result of the experiment A becomes an object element of the experiment B is a plurality of results in the expected value simulation. When it has occurred, the probability I x (i) may be calculated based on the actual results that have occurred.

確率I(i)(iは、0以上x以下の整数)が算出された後、上記の式(1)に従って、分布関数H(y)が算出される。ここで、試行Aにおいてx個の対象要素が選択されるという事象が発生したときに、該x個の対象要素のすべてが試行Bの対象要素となる特別な場合には、I(i)は、1になり、この場合、分布関数H(y)は、上記の式(2)に従って算出される。 After the probability I x (i) (i is an integer not less than 0 and not more than x) is calculated, the distribution function H (y) is calculated according to the above equation (1). Here, when the event that x target elements are selected in the trial A occurs, in the special case where all of the x target elements are the target elements of the trial B, I x (i) Becomes 1, and in this case, the distribution function H (y) is calculated according to the above equation (2).

ステップS04では、シミュレーション結果、即ち、ステップS02で得られたシミュレーション結果データ12及びステップS03で得られたシミュレーション結果分布データ14が出力される。   In step S04, the simulation result, that is, the simulation result data 12 obtained in step S02 and the simulation result distribution data 14 obtained in step S03 are output.

以上に説明されているように、本実施形態のシミュレーション装置及び方法によれば、期待値シミュレーションを実行するときに、同時に、シミュレーション結果の分布を求めることができる。以下では、本実施形態のシミュレーション装置及び方法において行われるシミュレーションの具体例を説明する。   As described above, according to the simulation apparatus and method of this embodiment, when the expected value simulation is executed, the distribution of simulation results can be obtained simultaneously. Below, the specific example of the simulation performed in the simulation apparatus and method of this embodiment is demonstrated.

(実施例1)
図4は、実施例1における期待値シミュレーションについて説明する図である。実施例1では、期待値シミュレータ6により、部隊戦闘を模擬するシミュレーションが行われる。当該シミュレーションでは、味方軍(第1軍)の部隊と敵軍(第2軍)の部隊が、それぞれ複数の戦闘ユニットを含んでおり、且つ、味方軍の戦闘ユニットと敵軍の戦闘ユニットとが遭遇したときに戦闘が発生するとして戦闘が模擬される。戦闘ユニットとしては、航空機、戦車、装甲車両、火砲などが例示される。各戦闘ユニットの移動は、期待値シミュレータ6に組み込まれたアルゴリズムによって決定されてもよく、また、ユーザが入力装置3を操作することによって各戦闘ユニットの移動が指定されてもよい。期待値シミュレータ6による期待値シミュレーションでは、各時刻における各戦闘ユニットの位置及び状態が、ログデータ13に記録される。この期待値シミュレーションにおいては、各戦闘における戦果(戦闘ユニットの撃破数)が算出され、更に、各戦闘における戦果の分布(分布関数)が算出される。
Example 1
FIG. 4 is a diagram for explaining the expected value simulation in the first embodiment. In the first embodiment, a simulation for simulating a unit battle is performed by the expected value simulator 6. In the simulation, the friendly army (first army) unit and the enemy army (second army) unit each include a plurality of combat units, and the friendly army combat unit and the enemy army combat unit A battle is simulated as a battle occurs when it encounters. Examples of combat units include aircraft, tanks, armored vehicles, artillery, and the like. The movement of each battle unit may be determined by an algorithm incorporated in the expected value simulator 6, and the movement of each battle unit may be designated by the user operating the input device 3. In the expected value simulation by the expected value simulator 6, the position and state of each battle unit at each time are recorded in the log data 13. In this expectation value simulation, the battle results in each battle (the number of battle units defeated) are calculated, and further, the battle results distribution (distribution function) in each battle is calculated.

実施例1では、試行Aが「脅威(即ち、敵軍の戦闘ユニット)を探知する」とし、試行Bが「脅威を攻撃する」であるとして期待値シミュレーションが行われる。より厳密には、ある戦闘において、該戦闘に関与する特定の戦闘ユニットの探知範囲にa個の脅威が存在したときに、該特定の戦闘ユニットが該a個の脅威を探知するという試行が試行Aとして定義され、更に、該特定の戦闘ユニットが攻撃可能な脅威がi個存在するときに、該i個の脅威に対して攻撃するという試行が試行Bとして定義される。ここで、「攻撃可能な脅威」とは、試行Aによって探知され、且つ、該特定の戦闘ユニットの攻撃射程内にある脅威のことである。   In the first embodiment, the expected value simulation is performed assuming that the trial A is “detecting a threat (that is, a battle unit of an enemy army)” and the trial B is “attacking a threat”. More precisely, in a battle, when there are a threats in the detection range of a specific combat unit involved in the battle, an attempt is made that the specific combat unit detects the a threats. In addition, an attempt to attack the i threats when there are i threats that can be attacked by the specific combat unit is defined as a trial B. Here, the “attack that can be attacked” is a threat that is detected by trial A and is within the attack range of the specific combat unit.

ここで、試行Aの結果として探知に成功した脅威の数を確率変数Xとし、試行Bの結果として撃破した脅威の数を確率変数Yとする。また、a個の脅威に対する試行Aの結果としてx個の脅威が探知されたときに、該x個の脅威のうち試行Bが実行可能な(攻撃可能な)i個の脅威(iは、0以上x以下の整数)に対して試行Bを行うという試行ABの結果として撃破した脅威の数を確率変数XYとする。実施例1における期待値シミュレーションの主題は、各戦闘Sにおける戦果の期待値及び分布を算出すること、即ち、各戦闘Sにおける試行ABの結果として得られる確率変数XYの期待値E[XY]、及び、確率変数XYの分布関数H(y)を得ることである。 Here, the number of threats successfully detected as a result of trial A is set as a random variable X, and the number of threats destroyed as a result of trial B is set as a random variable Y. In addition, when x threats are detected as a result of trial A for a threats, i threats (i can be attacked) of trial threats B among the x threats (i is 0). The number of threats defeated as a result of trial AB in which trial B is performed on x is an integer equal to or less than x) is defined as a random variable XY. Expected value simulation of the subject in the first embodiment, to calculate the expected value and the distribution of veterans in each combat S k, that is, the expected value E [XY random variables XY resulting attempt AB in each combat S k And obtaining a distribution function H (y) of the random variable XY.

実施例1では、下記のようにして、各戦闘の戦果の期待値E[XY]及び分布関数H(y)が算出される。   In the first embodiment, the expected value E [XY] and the distribution function H (y) of each battle result are calculated as follows.

ステップS01では、モンテカルロシミュレーションにより、シミュレーション基礎データ11に含まれる期待値データ15、16及び分布データ17、18、即ち、
(1)試行A(ある戦闘において、該戦闘に関与する戦闘ユニットの探知範囲にa個の脅威が存在したときに、該a個の脅威を探知するという試行)の結果として検知された脅威の数の期待値E[X]及び分布関数F(x)、
(2)試行B(攻撃可能な脅威がi個存在するときに、該i個の脅威に対して攻撃するという試行)の結果として撃破した脅威の数の期待値E[Y]及び分布関数G(y)
が算出される。
In step S01, the expected value data 15 and 16 and the distribution data 17 and 18 included in the simulation basic data 11 are obtained by Monte Carlo simulation, that is,
(1) The threat detected as a result of trial A (trial in which a threat is detected when a threat exists in the detection range of a combat unit involved in the battle) The expected value E [X] of the number and the distribution function F (x),
(2) Expected value E [Y] of the number of threats defeated as a result of trial B (attack to attack i threats when there are i attackable threats) and distribution function G i (y)
Is calculated.

ステップS02の期待値シミュレーションでは、各戦闘ユニットの移動と戦闘の発生とがシミュレートされる。この期待値シミュレーションでは、各戦闘Sにおける戦果(戦闘ユニットの撃破数)の期待値、即ち、各戦闘Sにおける試行ABの結果として得られる確率変数XYの期待値E[XY]が算出され、各戦闘Sについて算出された期待値E[XY]を示すシミュレーション結果データ12が生成される。このとき、当該期待値シミュレーションの過程における味方軍、敵軍の各部隊の各戦闘ユニットのそれぞれの状態が、ログデータ13に記録される。ログデータ13には、例えば、各時刻における味方軍、敵軍の各部隊の各戦闘ユニットのそれぞれの位置が記録される。ある戦闘Sにおいて、ある部隊のある戦闘ユニットが撃破された場合には、その事実がログデータ13に記録される。 In the expected value simulation in step S02, the movement of each battle unit and the occurrence of a battle are simulated. This expectation simulation, the expected value of veterans (Kills combat units) in each combat S k, that is, the expected value E of the random variables XY resulting attempt AB in each combat S k [XY] are calculated the simulation result data 12 indicating the expectation value E calculated for each combat S k [XY] are generated. At this time, the status of each combat unit of each unit of the friendly army and the enemy army in the process of the expected value simulation is recorded in the log data 13. In the log data 13, for example, the respective positions of each combat unit of each unit of the friendly army and the enemy army at each time are recorded. In certain combat S k, combat units with certain forces when it is destroyed, the fact is recorded in the log data 13.

ステップS03では、試行Aにおいてx個の戦闘ユニットが探知されるという事象が発生したときに、該x個の戦闘ユニットのうちのi個に対して試行Bが行われる(即ち、攻撃される)確率I(i)が、ステップS02の期待値シミュレーションにおいて記録されたログデータ13から導出され、更に、上記の式(1)に従って分布関数H(y)(即ち、戦果の分布)が算出される。以下では、実施例1における確率I(i)の導出について説明する。 In step S03, when an event occurs that x combat units are detected in trial A, trial B is performed (i.e., attacked) for i of the x combat units. The probability I x (i) is derived from the log data 13 recorded in the expected value simulation in step S02, and the distribution function H (y) (that is, the distribution of battle results) is calculated according to the above equation (1). The Hereinafter, the derivation of the probability I x (i) in the first embodiment will be described.

ある戦闘において、試行ABを行った戦闘ユニットの探知範囲に存在する脅威の数をaとし、また、該戦闘ユニットの攻撃射程内に存在する脅威の数をbとする。この場合、試行Aにおいて探知される確率が、攻撃射程内に存在するか攻撃射程外に存在するかに依存せずに各脅威について同一であるとすると、試行Aにおいてx個の脅威が探知されたときに、該x個の脅威のうちi個の脅威が攻撃射程内にある確率I(i)は、下記式(3)で表せる:

Figure 0006173945
式(3)において、は、n個のものからr個を選択する組合せの総数である。 In a certain battle, the number of threats existing in the detection range of the battle unit that performed the trial AB is a, and the number of threats existing in the attack range of the battle unit is b. In this case, assuming that the probability detected in trial A is the same for each threat regardless of whether it is within the attack range or outside the attack range, x threats are detected in trial A. Then, the probability I x (i) that the i threats out of the x threats are within the attack range can be expressed by the following equation (3):
Figure 0006173945
In the formula (3), n C r is the total number of combinations for selecting r from n.

各戦闘における戦果の分布、即ち、分布関数H(y)は、式(3)で算出される確率I(i)を用いて式(1)に従って算出される。ここで、試行Aを行った戦闘ユニットの探知範囲に存在する脅威の数a、及び、該戦闘ユニットの攻撃射程内に存在する脅威の数bは、ログデータ13に記録された各戦闘ユニットの位置から得ることができるから、確率I(i)は、ログデータ13から導きだせることに留意されたい。 The distribution of battle results in each battle, that is, the distribution function H (y) is calculated according to equation (1) using the probability I x (i) calculated by equation (3). Here, the number of threats a existing in the detection range of the battle unit that performed the trial A, and the number b of threats existing within the attack range of the battle unit are the numbers of each battle unit recorded in the log data 13. Note that the probability I x (i) can be derived from the log data 13 because it can be obtained from the position.

ステップS04では、シミュレーション結果、即ち、ステップS02で得られたシミュレーション結果データ12及びステップS03で得られたシミュレーション結果分布データ14が出力される。シミュレーション結果データ12には、各戦闘Sにおける試行AB(a個の脅威に対する試行Aの結果としてx個の脅威が探知されたときに、該x個の脅威のうち試行Bが実行可能な(攻撃可能な)i個の脅威(iは、0以上x以下の整数)に対して試行Bを行うという試行)の結果に対応する確率変数XYの期待値E[XY]が記述される。また、シミュレーション結果分布データ14には、分布関数H(y)が記述される。 In step S04, the simulation result, that is, the simulation result data 12 obtained in step S02 and the simulation result distribution data 14 obtained in step S03 are output. The simulation result data 12, when x number of threats are detected as a result of the trial A to attempt AB (a number of threats in each combat S k, that can perform trial B of the x number of threats ( An expected value E [XY] of a random variable XY corresponding to a result of i threats that can be attacked (trial in which trial B is performed with respect to i threats (i is an integer of 0 to x)) is described. The simulation result distribution data 14 describes a distribution function H (y).

(実施例2)
図5は、実施例2における期待値シミュレーションについて説明する図である。実施例2では、期待値シミュレータ6により、車両による物流を模擬する交通/物流シミュレーションが行われる。当該交通/物流シミュレーションでは、ある目的地「P市」に到達する荷物の量のシミュレーションが行われる。
(Example 2)
FIG. 5 is a diagram for explaining an expected value simulation in the second embodiment. In the second embodiment, the expected value simulator 6 performs a traffic / logistics simulation that simulates physical distribution by vehicles. In the traffic / logistics simulation, the amount of luggage reaching a certain destination “P city” is simulated.

ただし、下記の前提が用いられる:
(1)現在、a台の車両が走行している。
(2)a台の車両のうちトラックの数がb台である。
(3)トラックのみが荷物を運べる。
(4)すべての車両(a台)は、P市又はQ市のいずれか一方に向かう。
(5)各車両は、燃料不足などの原因に起因して、目的地(P市又はQ市)に到達できないことがある。
However, the following assumptions are used:
(1) Currently, a number of vehicles are traveling.
(2) Of the a vehicles, the number of trucks is b.
(3) Only trucks can carry luggage.
(4) All the vehicles (a vehicle) go to either P city or Q city.
(5) Each vehicle may not reach the destination (P city or Q city) due to a cause such as fuel shortage.

実施例2では、試行Aが「P市又はQ市のいずれかを目的地として出発する」とし、試行Bが「途中で燃料不足が発生せずに目的地(P市又はQ市)に到着する」であると定義される。ここで、上記の前提(3)は、P市に到達する荷物の量が、P市に到達するトラックの台数と等価であることを意味している。そこで、実施例2では、「試行Aを行い、試行Aの結果として、P市に向かうx台の車両が選択されたときに(xは、0以上a以下の整数)、該x台の車両のうちのi台のトラック(iは、0以上x以下の整数)について試行Bを行う」という試行が試行ABと定義されて期待値シミュレーションが行われる。   In Example 2, trial A “departs from either P city or Q city as the destination” and trial B “arrives at the destination (P city or Q city) without fuel shortage on the way Is defined as Here, the above assumption (3) means that the amount of luggage reaching P city is equivalent to the number of trucks reaching P city. Therefore, in the second embodiment, “when trial A is performed and x vehicles toward P city are selected as a result of trial A (x is an integer of 0 or more and a or less), the x vehicles The trial “perform trial B for i tracks (i is an integer not smaller than 0 and not larger than x)” is defined as trial AB, and the expected value simulation is performed.

ここで、試行Aの結果としてP市を目的地として出発した車両の数を確率変数Xとし、試行Bの結果として目的地に到着した車両の数を確率変数Yとする。また、試行ABの結果としてP市に到着したトラックの数を確率変数XYとする。実施例2における期待値シミュレーションの主題は、P市に到達するトラックの数及びその分布を得ること、即ち、試行ABの結果として得られる確率変数XYの期待値E[XY]、及び、確率変数XYの分布関数H(y)を得ることである。   Here, the number of vehicles that depart from P city as a result of trial A is a random variable X, and the number of vehicles that arrive at the destination as a result of trial B is a random variable Y. In addition, the number of tracks that have arrived at city P as a result of trial AB is assumed to be a random variable XY. The subject of the expected value simulation in the second embodiment is to obtain the number of tracks reaching P city and its distribution, that is, the expected value E [XY] of the random variable XY obtained as a result of the trial AB, and the random variable. The XY distribution function H (y) is obtained.

実施例2では、下記のようにして、P市に到達するトラックの数の期待値E[XY]及び分布関数H(y)が算出される。   In the second embodiment, the expected value E [XY] and the distribution function H (y) of the number of tracks reaching the city P are calculated as follows.

ステップS01では、モンテカルロシミュレーションにより、シミュレーション基礎データ11に含まれる期待値データ15、16及び分布データ17、18、即ち、
(1)試行Aの結果としてP市を目的地として出発した車両の数の期待値E[X]及び分布関数F(x)、
(2)試行Bとして、i台の車両が目的地に向けて出発したときに、目的地(P市又はQ市)に到着する車両の数の期待値E[Y]及び分布関数G(y)
が算出される。
In step S01, the expected value data 15 and 16 and the distribution data 17 and 18 included in the simulation basic data 11 are obtained by Monte Carlo simulation, that is,
(1) Expected value E [X] of the number of vehicles that departed from P city as a destination as a result of trial A and distribution function F (x),
(2) As trial B, when i vehicles depart for the destination, the expected value E [Y] of the number of vehicles arriving at the destination (P city or Q city) and the distribution function G i ( y)
Is calculated.

ステップS02の期待値シミュレーションでは、各車両の移動がシミュレートされる。この期待値シミュレーションでは、P市に到達するトラックの数の期待値、即ち、試行ABの結果として得られる確率変数XYの期待値E[XY]が算出され、期待値E[XY]を示すシミュレーション結果データ12が生成される。このとき、当該期待値シミュレーションの過程における各車両の状態が、ログデータ13に記録される。ログデータ13には、例えば、各車両がトラックかトラック以外の車両であるかが記録される。   In the expected value simulation in step S02, the movement of each vehicle is simulated. In this expected value simulation, an expected value of the number of trucks reaching P city, that is, an expected value E [XY] of a random variable XY obtained as a result of the trial AB is calculated, and a simulation showing the expected value E [XY] Result data 12 is generated. At this time, the state of each vehicle in the process of the expected value simulation is recorded in the log data 13. The log data 13 records, for example, whether each vehicle is a truck or a vehicle other than a truck.

ステップS03では、試行Aによりx台の車両がP市に向かって出発するという事象が発生したときに、該x台の車両のうちi台がトラックである確率I(i)(即ち、該x台の車両のうちi台のトラックについて試行Bが行われる確率)が、ステップS02の期待値シミュレーションにおいて記録されたログデータ13から導出され、更に、上記の式(1)に従って分布関数H(y)(即ち、P市に到着するトラックの数の分布)が算出される。 In step S03, when the event that x vehicles depart for P city by trial A occurs, the probability I x (i) that the i vehicles of the x vehicles are trucks (that is, the vehicle) The probability that trial B will be performed for i trucks among x vehicles) is derived from the log data 13 recorded in the expected value simulation of step S02, and further according to the above equation (1), the distribution function H ( y) (ie, the distribution of the number of trucks arriving at P city) is calculated.

図6は、(b台のトラックを含む)x台の車両が、個別に、且つ、ランダムに、目的地をP市又はQ市から選択する場合における、P市に向かうトラックの数、P市に向かうトラック以外の車両の数、及び、P市に向かう車両の総数、Q市に向かうトラックの数、Q市に向かうトラック以外の車両の数、及び、Q市に向かう車両の総数の関係を示す表である。このような関係が成立する場合、P市に向かうトラックの数がi台になる確率I(i)は、下記式(4)で表せる:

Figure 0006173945
FIG. 6 shows the number of tracks heading to P city when P vehicles (including b trucks) individually and randomly select a destination from P city or Q city, P city. The relationship between the number of vehicles other than trucks heading to Q, the total number of vehicles heading to P city, the number of trucks heading to Q city, the number of vehicles other than trucks heading to Q city, and the total number of vehicles heading to Q city It is a table | surface which shows. When such a relationship is established, the probability I x (i) that the number of trucks heading to the city P is i can be expressed by the following equation (4):
Figure 0006173945

P市に到着するトラックの数の分布、即ち、分布関数H(y)は、式(4)で算出される確率I(i)を用いて式(1)に従って算出される。ここで、現在、走行している車両の台数a、及び、a台の車両のうちのトラックの数bは、ログデータ13の記録から得ることができるから、確率I(i)は、ログデータ13から導きだせることに留意されたい。 The distribution of the number of trucks arriving at P city, that is, the distribution function H (y) is calculated according to the equation (1) using the probability I x (i) calculated by the equation (4). Here, since the number a of vehicles currently running and the number b of tracks of the a vehicles can be obtained from the log data 13, the probability I x (i) is the log Note that it can be derived from data 13.

ステップS04では、シミュレーション結果、即ち、ステップS02で得られたシミュレーション結果データ12及びステップS03で得られたシミュレーション結果分布データ14が出力される。シミュレーション結果データ12には、試行AB(試行Aを行い、試行Aの結果として、P市に向かうx台の車両が選択されたときに(xは、0以上a以下の整数)、該x台の車両のうちのi台のトラック(iは、0以上x以下の整数)について試行Bを行う)の結果に対応する確率変数XYの期待値E[XY]が記述される。また、シミュレーション結果分布データ14には、分布関数H(y)が記述される。   In step S04, the simulation result, that is, the simulation result data 12 obtained in step S02 and the simulation result distribution data 14 obtained in step S03 are output. The simulation result data 12 includes trial AB (when trial A is performed and x vehicles toward P city are selected as a result of trial A (x is an integer between 0 and a)) The expected value E [XY] of the random variable XY corresponding to the result of i tracks (i is an integer of 0 or more and x or less) is described. The simulation result distribution data 14 describes a distribution function H (y).

図7は、実施例2の変形例における期待値シミュレーションを説明する表である。本変形例でも、期待値シミュレータ6により、車両による物流を模擬する交通/物流シミュレーションが行われる。当該交通/物流シミュレーションでは、ある目的地「P市」に到達する荷物の量のシミュレーションが行われる。ただし、本変形例では、下記のように前提が変更される。
(1)現在、a台の車両が走行している。
(2’)a台の車両のうちトラックの数がb台であり、b台のトラックのうちc台が大型トラックである。
(3’)大型トラックのみが荷物を運べる。
(4)すべての車両(a台)は、P市又はQ市のいずれか一方に向かう。
(5)各車両は、燃料不足などの原因に起因して、目的地(P市又はQ市)に到達できないことがある。
FIG. 7 is a table for explaining an expected value simulation in a modification of the second embodiment. Also in this modified example, the expected value simulator 6 performs a traffic / distribution simulation that simulates distribution by vehicles. In the traffic / logistics simulation, the amount of luggage reaching a certain destination “P city” is simulated. However, in this modified example, the premise is changed as follows.
(1) Currently, a number of vehicles are traveling.
(2 ′) Of the a vehicles, the number of trucks is b, and of the b trucks, c is a large truck.
(3 ') Only large trucks can carry luggage.
(4) All the vehicles (a vehicle) go to either P city or Q city.
(5) Each vehicle may not reach the destination (P city or Q city) due to a cause such as fuel shortage.

本変形例では、「試行Aを行い、試行Aの結果として、P市に向かうx台の車両が選択されたときに(xは、0以上a以下の整数)、該x台の車両のうちのi台がトラックであり(iは、0以上x以下の整数)、i台のトラックのうちj台が大型トラックであり(jは、0以上i以下の整数)、該j台の大型トラックについて試行Bを行う」という試行が試行ABと定義されて期待値シミュレーションが行われる。   In this modified example, “when trial A is performed and, as a result of trial A, x vehicles heading to P city are selected (x is an integer of 0 or more and a or less), among the x vehicles, I are trucks (i is an integer from 0 to x), j of the i trucks are large trucks (j is an integer from 0 to i), and the j large trucks The trial “perform trial B for” is defined as trial AB, and the expected value simulation is performed.

ここで、試行Aの結果としてP市を目的地として出発した車両の数を確率変数Xとし、試行Bの結果として目的地に到着した車両の数を確率変数Yとする。また、試行ABの結果としてP市に到着した大型トラックの数を確率変数XYとする。本変形例における期待値シミュレーションの主題は、P市に到達する大型トラックの数及びその分布を得ること、即ち、試行ABの結果として得られる確率変数XYの期待値E[XY]、及び、確率変数XYの分布関数H(y)を得ることである。   Here, the number of vehicles that depart from P city as a result of trial A is a random variable X, and the number of vehicles that arrive at the destination as a result of trial B is a random variable Y. Further, the number of large trucks arriving at P city as a result of the trial AB is set as a random variable XY. The subject of the expected value simulation in this modification is to obtain the number of large trucks reaching P city and its distribution, that is, the expected value E [XY] of the random variable XY obtained as a result of the trial AB, and the probability The distribution function H (y) of the variable XY is obtained.

ステップS01では、モンテカルロシミュレーションにより、シミュレーション基礎データ11に含まれる期待値データ15、16及び分布データ17、18、即ち、
(1)試行Aの結果としてP市を目的地として出発した車両の数の期待値E[X]及び分布関数F(x)、
(2)試行Bとして、j台の車両が目的地に向けて出発したときに、目的地(P市又はQ市)に到着する車両の数の期待値E[Y]及び分布関数G(y)
が算出される。
In step S01, the expected value data 15 and 16 and the distribution data 17 and 18 included in the simulation basic data 11 are obtained by Monte Carlo simulation, that is,
(1) Expected value E [X] of the number of vehicles that departed from P city as a destination as a result of trial A and distribution function F (x),
(2) As trial B, when j vehicles depart for the destination, the expected value E [Y] of the number of vehicles arriving at the destination (P city or Q city) and the distribution function G j ( y)
Is calculated.

ステップS02の期待値シミュレーションでは、各車両の移動がシミュレートされる。この期待値シミュレーションでは、P市に到達する大型トラックの数の期待値、即ち、試行ABの結果として得られる確率変数XYの期待値E[XY]が算出され、期待値E[XY]を示すシミュレーション結果データ12が生成される。このとき、当該期待値シミュレーションの過程における各車両の状態が、ログデータ13に記録される。ログデータ13には、例えば、各車両が大型トラックか小型トラックか、又は、トラック以外の車両であるかが記録される。   In the expected value simulation in step S02, the movement of each vehicle is simulated. In this expected value simulation, an expected value of the number of large trucks reaching P city, that is, an expected value E [XY] of a random variable XY obtained as a result of the trial AB is calculated and represents the expected value E [XY]. Simulation result data 12 is generated. At this time, the state of each vehicle in the process of the expected value simulation is recorded in the log data 13. The log data 13 records, for example, whether each vehicle is a large truck, a small truck, or a vehicle other than a truck.

ステップS03では、試行Aによりx台の車両がP市に向かって出発するという事象が発生したときに、該x台の車両のうちi台がトラックであり、i台のトラックのうちのj台が大型トラックである確率I(i,j)(即ち、該x台の車両のうちi台の大型トラックについて試行Bが行われる確率)が、ステップS02の期待値シミュレーションにおいて記録されたログデータ13から導出される。更に、確率I(i,j)を用いて分布関数H(y)(即ち、P市に到着する大型トラックの数の分布)が算出される。 In step S03, when the event that x vehicles depart for P city by trial A occurs, i of the x vehicles are trucks, and j of the i vehicles are j tracks. Log data recorded in the expected value simulation of step S02 is the probability I x (i, j) that is a large truck (that is, the probability that trial B will be performed for i large trucks among the x vehicles). 13 is derived. Further, the distribution function H (y) (that is, the distribution of the number of large trucks arriving at P city) is calculated using the probability I x (i, j).

図7は、x台の車両が、個別に、且つ、ランダムに、目的地をP市又はQ市から選択する場合における、P市に向かう大型トラックの数、P市に向かう小型トラックの数、P市に向かうトラック以外の車両の数、P市に向かう車両の総数、Q市に向かう大型トラックの数、Q市に向かう小型トラックの数、Q市に向かうトラック以外の車両の数、及び、Q市に向かう車両の総数の関係を示す表である。このような関係が成立する場合、P市に向かう大型トラックの数がj台になる確率I(i,j)は、下記式(5)で表せる:

Figure 0006173945
FIG. 7 shows the number of large trucks heading to P city, the number of small trucks heading to P city when x vehicles individually and randomly select a destination from P city or Q city. Number of vehicles other than trucks heading to P city, total number of vehicles heading to P city, number of large trucks heading to Q city, number of small trucks heading to Q city, number of vehicles other than truck heading to Q city, and It is a table | surface which shows the relationship of the total number of vehicles which head to Q city. When such a relationship is established, the probability I x (i, j) that the number of large trucks heading for P city is j can be expressed by the following equation (5):
Figure 0006173945

P市に向かうトラックの分布、即ち、分布関数H(y)は、式(5)で算出される確率I(i,j)を用いて下記式(6):

Figure 0006173945
に従って算出される。ここで、現在、走行している車両の台数a、及び、a台の車両のうちのトラックの数bは、b台のトラックのうちの大型トラックの数cは、ログデータ13の記録から得ることができるから、確率I(i,j)は、ログデータ13から導きだせることに留意されたい。 The distribution of the truck toward P city, that is, the distribution function H (y) is expressed by the following formula (6) using the probability I x (i, j) calculated by the formula (5):
Figure 0006173945
Is calculated according to Here, the number a of vehicles currently running, and the number b of trucks among the a vehicles, and the number c of large trucks among the b trucks are obtained from the log data 13. Note that the probability I x (i, j) can be derived from the log data 13 because it can.

ステップS04では、シミュレーション結果、即ち、ステップS02で得られたシミュレーション結果データ12及びステップS03で得られたシミュレーション結果分布データ14が出力される。シミュレーション結果データ12には、試行AB(試行Aを行い、試行Aの結果として、P市に向かうx台の車両が選択されたときに(xは、0以上a以下の整数)、該x台の車両のうちのi台のトラック(iは、0以上x以下の整数)について試行Bを行う)の結果に対応する確率変数XYの期待値E[XY]が記述される。また、シミュレーション結果分布データ14には、分布関数H(y)が記述される。   In step S04, the simulation result, that is, the simulation result data 12 obtained in step S02 and the simulation result distribution data 14 obtained in step S03 are output. The simulation result data 12 includes trial AB (when trial A is performed and x vehicles toward P city are selected as a result of trial A (x is an integer between 0 and a)) The expected value E [XY] of the random variable XY corresponding to the result of i tracks (i is an integer of 0 or more and x or less) is described. The simulation result distribution data 14 describes a distribution function H (y).

以上には、本発明の実施形態及び実施例が具体的に記述されているが、本発明は、上記の実施形態及び実施例に限定されない。本発明が、様々な変更とともに実施され得ることは、当業者には自明的であろう。   Although the embodiments and examples of the present invention have been specifically described above, the present invention is not limited to the above-described embodiments and examples. It will be apparent to those skilled in the art that the present invention may be practiced with various modifications.

1 :プロセッサ
2 :メモリ
3 :入力装置
4 :出力装置
5 :外部記憶装置
6 :期待値シミュレータ
7 :モンテカルロシミュレータ
10 :シミュレーション装置
11 :シミュレーション基礎データ
12 :シミュレーション結果データ
13 :ログデータ
14 :シミュレーション結果分布データ
15 :期待値データ
16 :期待値データ
17 :分布データ
18 :分布データ
1: Processor 2: Memory 3: Input device 4: Output device 5: External storage device 6: Expected value simulator 7: Monte Carlo simulator 10: Simulation device 11: Simulation basic data 12: Simulation result data 13: Log data 14: Simulation result Distribution data 15: Expected value data 16: Expected value data 17: Distribution data 18: Distribution data

Claims (12)

第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データと、前記第1確率変数の分布関数を示す第1分布データと、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データと、前記第2確率変数の分布関数を示す第2分布データとを記憶する記憶手段と、
シミュレーション手段
とを具備し、
前記シミュレーション手段は、前記第1期待値データと前記第2期待値データとに基づいて、前記第1試行の結果としてx個の対象要素が選択されたときに前記x個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について前記第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行い、
前記シミュレーション手段は、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データとに基づいて算出する
シミュレーション装置。
First expected value data indicating the expected value of the first random variable corresponding to the result of the first trial, first distribution data indicating the distribution function of the first random variable, and second corresponding to the result of the second trial Storage means for storing second expected value data indicating an expected value of a random variable and second distribution data indicating a distribution function of the second random variable;
Simulation means,
The simulation means, based on the first expected value data and the second expected value data, includes the x target elements when x target elements are selected as a result of the first trial. performing an expected value simulation for calculating an expected value of a result of a third trial, which is an attempt to perform the second trial for i target elements (i is an integer of 0 to x),
The simulation unit calculates a distribution function as a result of the third trial based on the first distribution data and the second distribution data.
請求項1に記載のシミュレーション装置であって、
前記シミュレーション手段は、前記期待値シミュレーションを行う際に、前記期待値シミュレーションの過程における対象要素のそれぞれの状態を記録したログデータを作成し、
前記シミュレーション手段は、前記第3試行の結果の分布関数の算出において、前記ログデータから前記x個の対象要素のうちからi個の対象要素が選択される確率を算出し、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データと前記確率とに基づいて算出する
シミュレーション装置。
The simulation apparatus according to claim 1,
The simulation means, when performing the expected value simulation, creates log data recording each state of the target element in the process of the expected value simulation,
In the calculation of the distribution function of the result of the third trial, the simulation means calculates a probability that i target elements are selected from the x target elements from the log data, and A simulation apparatus that calculates a distribution function as a result based on the first distribution data, the second distribution data, and the probability.
請求項2に記載のシミュレーション装置であって、
前記シミュレーション手段は、前記第3試行の結果の分布関数H(y)を、下記式(1):
Figure 0006173945
に従って算出する
シミュレーション装置。
ここで、xは、前記第1確率変数がとり得る値であり、F(x)は、前記第1確率変数の分布関数であり、yは、前記第2確率変数がとり得る値であり、G(y)は、i個の対象要素に対して前記第2試行を行った結果に対応する前記第2確率変数の分布関数であり、I(i)は、前記x個の対象要素のうちからi個の対象要素が選択される前記確率である。
The simulation apparatus according to claim 2,
The simulation means calculates a distribution function H (y) as a result of the third trial by the following formula (1):
Figure 0006173945
Calculate according to the simulation device.
Here, x is a value that can be taken by the first random variable, F (x) is a distribution function of the first random variable, and y is a value that can be taken by the second random variable, G i (y) is a distribution function of the second random variable corresponding to the result of performing the second trial on i target elements, and I x (i) is the x target elements. This is the probability that i target elements will be selected.
請求項1に記載のシミュレーション装置であって、
前記期待値シミュレーションでは、前記第1試行の結果として選択された前記x個の対象要素の全てが前記第2試行が行われる対象要素として選択され、
前記シミュレーション手段は、前記第3試行の結果の分布関数H(y)を、下記式(2):
Figure 0006173945
に従って算出する
シミュレーション装置。
ここで、xは、前記第1確率変数がとり得る値であり、F(x)は、前記第1確率変数の分布関数であり、yは、前記第2確率変数がとり得る値であり、G(y)は、x個の対象要素に対して前記第2試行を行った結果に対応する前記第2確率変数の分布関数である。
The simulation apparatus according to claim 1,
In the expected value simulation, all of the x target elements selected as a result of the first trial are selected as target elements on which the second trial is performed,
The simulation means calculates a distribution function H (y) as a result of the third trial by the following formula (2):
Figure 0006173945
Calculate according to the simulation device.
Here, x is a value that can be taken by the first random variable, F (x) is a distribution function of the first random variable, and y is a value that can be taken by the second random variable, G x (y) is a distribution function of the second random variable corresponding to the result of performing the second trial on x target elements.
請求項1乃至4のいずれかに記載のシミュレーション装置であって、
更に、
モンテカルロシミュレーションにより、前記第1期待値データと前記第1分布データと前記第2期待値データと前記第2分布データとを生成するモンテカルロシミュレーション手段を具備する
シミュレーション装置。
The simulation apparatus according to any one of claims 1 to 4,
Furthermore,
A simulation apparatus comprising Monte Carlo simulation means for generating the first expected value data, the first distribution data, the second expected value data, and the second distribution data by Monte Carlo simulation.
味方軍の部隊と敵軍の部隊が、それぞれ複数の戦闘ユニットを含んでおり、且つ、味方軍の戦闘ユニットと敵軍の戦闘ユニットとが遭遇したときに戦闘が発生するとして戦闘を模擬する部隊戦闘シミュレーションを行う部隊戦闘シミュレーション装置であって、
敵軍の戦闘ユニットである脅威を探知するという第1試行により探知した脅威の数の期待値を示す第1期待値データと、前記第1試行により探知した脅威の数の分布関数を示す第1分布データと、攻撃可能な脅威がi個あるときにi個の脅威に対して攻撃するという第2試行により撃破した脅威の数の期待値を示す第2期待値データと、前記第2試行により撃破した脅威の数の分布関数を示す第2分布データとを記憶する記憶手段と、
シミュレーション手段
とを具備し、
前記シミュレーション手段は、前記第1期待値データと前記第2期待値データとに基づいて、前記第1試行の結果としてx個の脅威を探知したときに前記x個の脅威のうちの攻撃可能なi個(iは、0以上x以下の整数)の脅威について前記第2試行を行う試行である第3試行の結果の期待値を算出する期待値シミュレーションを行い、
前記シミュレーション手段は、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データとに基づいて算出する
部隊戦闘シミュレーション装置。
A unit that mimics a battle when a friendly unit and an enemy unit each contain multiple combat units, and a battle occurs when a friendly unit and an enemy combat unit encounter each other A unit battle simulation device for performing a battle simulation,
First expected value data indicating an expected value of the number of threats detected by the first trial of detecting a threat that is a battle unit of the enemy army, and a first function indicating a distribution function of the number of threats detected by the first trial Distribution data, second expected value data indicating the expected value of the number of threats destroyed by the second trial of attacking i threats when there are i possible threats, and the second trial Storage means for storing second distribution data indicating a distribution function of the number of threats destroyed;
Simulation means,
The simulation means can attack the x threats when detecting x threats as a result of the first trial based on the first expected value data and the second expected value data. performing an expected value simulation for calculating an expected value of a result of a third trial, which is an attempt to perform the second trial, for i threats (i is an integer of 0 to x);
The simulation unit calculates a distribution function as a result of the third trial based on the first distribution data and the second distribution data.
請求項6に記載の部隊戦闘シミュレーション装置であって、
前記シミュレーション手段は、前記期待値シミュレーションを行う際に、前記期待値シミュレーションの過程における前記戦闘ユニットのそれぞれの状態を記録したログデータを作成し、
前記シミュレーション手段は、前記第3試行の結果の分布関数の算出において、前記ログデータから前記x個の脅威のうちi個の脅威が攻撃可能である確率を算出し、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データと前記確率とに基づいて算出する
部隊戦闘シミュレーション装置。
The unit battle simulation apparatus according to claim 6,
The simulation means creates log data that records each state of the battle unit in the process of the expected value simulation when performing the expected value simulation,
In the calculation of the distribution function of the result of the third trial, the simulation unit calculates a probability that i threats of the x threats can be attacked from the log data, and calculates the result of the third trial. A unit battle simulation apparatus that calculates a distribution function based on the first distribution data, the second distribution data, and the probability.
請求項7に記載の部隊戦闘シミュレーション装置であって、
前記シミュレーション手段は、前記第3試行の結果の分布関数H(y)を、下記式(3):
Figure 0006173945
に従って算出する
部隊戦闘シミュレーション装置。
ここで、
F(x)は、前記第1試行により探知した脅威の数の分布関数であり、
(y)は、i個の脅威に対して前記第2試行を行うことによって撃破した脅威の数の分布関数であり、
yは、前記第2試行を行うことによって撃破した脅威の数がとり得る値であり、
(i)は、前記x個の脅威のうちi個の脅威が攻撃可能である前記確率であり、前記第3試行を行った特定戦闘ユニットの探知範囲に存在する脅威の数をaとし、また、前記特定戦闘ユニットの攻撃射程内に存在する脅威の数をbとして、下記式(4)に従って算出される:
Figure 0006173945
The unit battle simulation apparatus according to claim 7,
The simulation means calculates the distribution function H (y) as a result of the third trial by the following formula (3):
Figure 0006173945
Unit battle simulation device to calculate according to.
here,
F (x) is a distribution function of the number of threats detected by the first trial,
G i (y) is a distribution function of the number of threats destroyed by performing the second trial on i threats,
y is a value that can be taken by the number of threats destroyed by performing the second trial,
I x (i) is the probability that i of the x threats can be attacked, and a is the number of threats existing in the detection range of the specific combat unit that has performed the third trial. Also, the number of threats existing within the attack range of the specific battle unit is set as b, and is calculated according to the following formula (4):
Figure 0006173945
コンピュータを、
第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データと、前記第1確率変数の分布関数を示す第1分布データと、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データと、前記第2確率変数の分布関数を示す第2分布データとを記憶する記憶手段と、
シミュレーション手段
として機能させるプログラムであって、
前記シミュレーション手段は、前記第1期待値データと前記第2期待値データとに基づいて、前記第1試行の結果としてx個の対象要素が選択されたときに前記x個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について前記第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行い、
前記シミュレーション手段は、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データとに基づいて算出する
プログラム。
Computer
First expected value data indicating the expected value of the first random variable corresponding to the result of the first trial, first distribution data indicating the distribution function of the first random variable, and second corresponding to the result of the second trial Storage means for storing second expected value data indicating an expected value of a random variable and second distribution data indicating a distribution function of the second random variable;
A program that functions as a simulation means,
The simulation means, based on the first expected value data and the second expected value data, includes the x target elements when x target elements are selected as a result of the first trial. performing an expected value simulation for calculating an expected value of a result of a third trial, which is an attempt to perform the second trial for i target elements (i is an integer of 0 to x),
The simulation means calculates a distribution function as a result of the third trial based on the first distribution data and the second distribution data.
請求項9に記載のプログラムであって、
前記シミュレーション手段は、前記期待値シミュレーションを行う際に、前記期待値シミュレーションの過程における対象要素のそれぞれの状態を記録したログデータを作成し、
前記シミュレーション手段は、前記第3試行の結果の分布関数の算出において、前記ログデータから前記x個の対象要素のうちからi個の対象要素が選択される確率を算出し、前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データと前記確率とに基づいて算出する
プログラム。
The program according to claim 9, wherein
The simulation means, when performing the expected value simulation, creates log data recording each state of the target element in the process of the expected value simulation,
In the calculation of the distribution function of the result of the third trial, the simulation means calculates a probability that i target elements are selected from the x target elements from the log data, and A program for calculating a distribution function of a result based on the first distribution data, the second distribution data, and the probability.
記憶手段とシミュレーション手段とを備えるシミュレーション装置で行われるシミュレーション方法であって、
第1試行の結果に対応する第1確率変数の期待値を示す第1期待値データと、前記第1確率変数の分布関数を示す第1分布データと、第2試行の結果に対応する第2確率変数の期待値を示す第2期待値データと、前記第2確率変数の分布関数を示す第2分布データとを記憶手段に記憶させるステップと、
前記シミュレーション手段が、前記第1期待値データと前記第2期待値データとに基づいて、前記第1試行の結果としてx個の対象要素が選択されたときに前記x個の対象要素のうちのi個(iは、0以上x以下の整数)の対象要素について前記第2試行を行うという試行である第3試行の結果の期待値を算出する期待値シミュレーションを行うステップと、
前記シミュレーション手段が、前記第1分布データと前記第2分布データとに基づいて前記第3試行の結果の分布関数を算出するステップ
とを具備する
シミュレーション方法。
A simulation method performed by a simulation apparatus including a storage unit and a simulation unit,
First expected value data indicating the expected value of the first random variable corresponding to the result of the first trial, first distribution data indicating the distribution function of the first random variable, and second corresponding to the result of the second trial Storing in memory means second expected value data indicating an expected value of a random variable and second distribution data indicating a distribution function of the second random variable;
Of the x target elements, the simulation means selects x target elements as a result of the first trial based on the first expected value data and the second expected value data. performing an expected value simulation for calculating an expected value of a result of a third trial that is an attempt to perform the second trial for i target elements (i is an integer of 0 to x);
The simulation method includes a step of calculating a distribution function as a result of the third trial based on the first distribution data and the second distribution data.
請求項11に記載のシミュレーション方法であって、
更に、
前記シミュレーション手段が、前記期待値シミュレーションを行う際に、前記期待値シミュレーションの過程における対象要素のそれぞれの状態を記録したログデータを作成するステップ
を具備し、
前記第3試行の結果の分布関数を算出するステップは、
前記ログデータから前記x個の対象要素のうちからi個の対象要素が選択される確率を算出するステップと
前記第3試行の結果の分布関数を、前記第1分布データと前記第2分布データと前記確率とに基づいて算出するステップ
とを備える
シミュレーション方法。
The simulation method according to claim 11, comprising:
Furthermore,
When the simulation means performs the expected value simulation, and includes the step of creating log data in which each state of the target element in the process of the expected value simulation is recorded,
Calculating the distribution function of the result of the third trial,
Calculating a probability that i target elements are selected from the x target elements from the log data; and a distribution function of a result of the third trial, the first distribution data and the second distribution data And a step of calculating based on the probability.
JP2014037506A 2014-02-27 2014-02-27 Simulation apparatus, simulation method, and program Active JP6173945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014037506A JP6173945B2 (en) 2014-02-27 2014-02-27 Simulation apparatus, simulation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014037506A JP6173945B2 (en) 2014-02-27 2014-02-27 Simulation apparatus, simulation method, and program

Publications (2)

Publication Number Publication Date
JP2015162129A JP2015162129A (en) 2015-09-07
JP6173945B2 true JP6173945B2 (en) 2017-08-02

Family

ID=54185174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014037506A Active JP6173945B2 (en) 2014-02-27 2014-02-27 Simulation apparatus, simulation method, and program

Country Status (1)

Country Link
JP (1) JP6173945B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09107370A (en) * 1995-08-08 1997-04-22 Toshiba Corp Simulation method and simulator
JP2002092311A (en) * 2000-09-19 2002-03-29 Ibj-Dl Financial Technology Co Ltd Risk amount quantifying system
JP3831786B2 (en) * 2002-12-13 2006-10-11 独立行政法人水産総合研究センター Section estimation method of existing amount of floating fish resources, program and recording medium therefor
JP2007108843A (en) * 2005-10-11 2007-04-26 Toshiba Corp Semiconductor device design support method, semiconductor device design support system and semiconductor device design support program
JP2007198838A (en) * 2006-01-25 2007-08-09 Toshiba Corp Breakage probability calculation method
JP4922644B2 (en) * 2006-03-29 2012-04-25 株式会社 日立東日本ソリューションズ Time series analysis program, time series analysis system, and time series analysis apparatus used therefor
JP6103683B2 (en) * 2012-06-06 2017-03-29 国立大学法人北見工業大学 Role playing game capture method calculation device, calculation method, calculation program, and recording medium recording this program

Also Published As

Publication number Publication date
JP2015162129A (en) 2015-09-07

Similar Documents

Publication Publication Date Title
Lucas The stochastic versus deterministic argument for combat simulations: Tales of when the average won't do
CN110048992B (en) Method for constructing dynamic heterogeneous redundant architecture
JP2012514179A (en) Method for applying guided disturbance deployment, guided disturbance deployment system, and computer program product
CN112883589B (en) Scene association degree calculation method and device, computer equipment and storage medium
KR20140074036A (en) Method of threat evaluation based on fuzzy-bayesian and weapon assignment using a heuristic algorithm in a local air defense environment
JP2014055037A (en) Loading operation method, system and computer program
JP6173945B2 (en) Simulation apparatus, simulation method, and program
Truong et al. X-ware: a proof of concept malware utilizing artificial intelligence
Baudains et al. A dynamic spatial model of conflict escalation
Aggarwal et al. Cyber security: A game-theoretic analysis of defender and attacker strategies in defacing-website games
Zhou et al. The resilience evaluation of unmanned autonomous swarm with informed agents under partial failure
CN115310257B (en) Situation estimation method and device based on artificial potential field
Dobson et al. A computational model of cyber situational awareness
Van Bossuyt et al. Model based resilience engineering for design and assessment of mission critical systems containing artificial intelligence components
JP5408990B2 (en) Simulation execution method
CN117441168A (en) Method and apparatus for resistance attack in deep reinforcement learning
Ilachinski AI, Robots, and Swarms
CN114254722B (en) Multi-intelligent-model fusion method for game confrontation
You et al. Simulation-Based Tactics Generation for Warship Combat Using the Genetic Algorithm
WO2007087491A2 (en) Termination assessment of a computer simulation
Kai Integrating algorithms for integrable affine constraints
Hansen et al. Input attribution for statistical model checking using logistic regression
Bak et al. Challenges and tool implementation of hybrid rapidly-exploring random trees
Ewart Edwards of Space: Devising In-Space Developmental Test Capabilities for Rapid Acquisition
Anghinolfi et al. A system supporting the evaluation of the operational effectiveness of naval tasks based on agent simulation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160628

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170705

R150 Certificate of patent or registration of utility model

Ref document number: 6173945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150