<?php
$lang->montecarlo->addVar        = '添加變數';
$lang->montecarlo->addForecast   = '添加預測';
$lang->montecarlo->addTarget     = '目標';
$lang->montecarlo->addRequest    = '添加要求';
$lang->montecarlo->targetTip     = '添加目標';
$lang->montecarlo->requestTip    = '添加要求';
$lang->montecarlo->addDecision   = '添加決策';
$lang->montecarlo->var           = '定義變數';
$lang->montecarlo->varName       = '假設變數';
$lang->montecarlo->planName      = '方案名稱';
$lang->montecarlo->distribution  = '服從分佈或值';
$lang->montecarlo->forecast      = '定義預測';
$lang->montecarlo->forecastName  = '預測名稱';
$lang->montecarlo->formula       = '公式';
$lang->montecarlo->runNumber     = '運行次數';
$lang->montecarlo->export        = '輸出';
$lang->montecarlo->distTip       = '請設置分佈';
$lang->montecarlo->decision      = '使用決策變數';
$lang->montecarlo->decisionVar   = '決策變數名稱';
$lang->montecarlo->decisionValue = '決策變數的值';
$lang->montecarlo->planDefine    = '方案';
$lang->montecarlo->statistic     = '統計值';
$lang->montecarlo->request       = '要求';
$lang->montecarlo->forecastVar   = '預測變數';
$lang->montecarlo->value         = '值';
$lang->montecarlo->let           = '令';
$lang->montecarlo->andSingle     = '且';
$lang->montecarlo->sensitivity   = '敏感度分析';
$lang->montecarlo->displayPlans  = '所有方案模擬結果';
$lang->montecarlo->importInfo    = '信息導入';

$lang->montecarlo->importTemplate = '蒙特卡羅導入模板';
$lang->montecarlo->dataError      = '數據格式有誤,請重新下載模板填寫後上傳。';
$lang->montecarlo->numberError    = '單元格%s需要為數字。';

$lang->montecarlo->formulaTip  = '請輸入已有的變數代號進行計算，如a*(b-c)+if(x1==1,1,0)+max(a,b)。';
$lang->montecarlo->decisionTip = '請填寫使用英文逗號分隔的自然數，如1,2,3';

$lang->montecarlo->importTipPrefix = '請先';
$lang->montecarlo->importTipLink   = '下載信息導入模板';
$lang->montecarlo->importTipSuffix = '，按照模板要求填寫數據；為避免導入失敗，請勿修改表頭。';

$lang->montecarlo->condition = array();
$lang->montecarlo->condition        = '條件';
$lang->montecarlo->conditionFormula = '條件公式';

$lang->montecarlo->hypo      = '假設';
$lang->montecarlo->hypoVar   = '變數';
$lang->montecarlo->value     = '值';
$lang->montecarlo->if        = '如果';
$lang->montecarlo->and       = '並且';
$lang->montecarlo->then      = '那麼';
$lang->montecarlo->otherwise = '否則';

$lang->montecarlo->conditionCheck = array();
$lang->montecarlo->conditionCheck['value']     = '值';
$lang->montecarlo->conditionCheck['then']      = '那麼';
$lang->montecarlo->conditionCheck['otherwise'] = '否則';

$lang->montecarlo->supportedFormulas = '當前公式支持max()/min()、if條件函數，不支持輸入[]和{}。';
$lang->montecarlo->decisionHelp      = '請輸入決策變數包含的方案編號，例如決策變數x1是測試方式，包含的方案有2個，分別是走查、抽樣檢查，那麼輸入框內填寫1,2。';
$lang->montecarlo->errorLimit        = '上下限與分佈數據的區間不重合，請重新設置。';

$lang->montecarlo->typeList = array();
$lang->montecarlo->typeList['dist']  = '分佈';
$lang->montecarlo->typeList['fixed'] = '數值';

$lang->montecarlo->sensitivityList = array();
$lang->montecarlo->sensitivityList['true']  = '開啟';
$lang->montecarlo->sensitivityList['false'] = '關閉';

$lang->montecarlo->displayPlansList = array();
$lang->montecarlo->displayPlansList['true']  = '顯示';
$lang->montecarlo->displayPlansList['false'] = '隱藏';

$lang->montecarlo->validMsg  = array();
$lang->montecarlo->validMsg['required'] = '[%s]不能為空';
$lang->montecarlo->validMsg['limit']    = '%s ≤ [%s] ≤ %s';
$lang->montecarlo->validMsg['number']   = '[%s]必須為數值';
$lang->montecarlo->validMsg['integer']  = '[%s]必須為正整數';
$lang->montecarlo->validMsg['decision'] = '[%s]存在錯誤, ' . $lang->montecarlo->decisionTip;
$lang->montecarlo->validMsg['formula']  = '[%s]存在錯誤, ' . $lang->montecarlo->formulaTip;
$lang->montecarlo->validMsg['export']   = "[{$lang->montecarlo->export}]至少選擇一個";

$lang->montecarlo->varMsg  = array();
$lang->montecarlo->varMsg['distribution']    = '服從分佈或值';
$lang->montecarlo->varMsg['decisionVar']     = $lang->montecarlo->decisionValue;
$lang->montecarlo->varMsg['formula']         = '公式';
$lang->montecarlo->varMsg['exportForecasts'] = '輸出預測變數';
$lang->montecarlo->varMsg['runNumber']       = '運行次數';
$lang->montecarlo->varMsg['reqValue']        = '值';

$lang->montecarlo->dists = array();

$lang->montecarlo->dists['normal']                   = new stdclass();
$lang->montecarlo->dists['normal']->title            = '正態分佈';
$lang->montecarlo->dists['normal']->image            = 'normal.png';
$lang->montecarlo->dists['normal']->form             = array();
$lang->montecarlo->dists['normal']->form['mu']       = '均值';
$lang->montecarlo->dists['normal']->form['sigma']    = '標準差';
$lang->montecarlo->dists['normal']->form['lowLimit'] = '下限';
$lang->montecarlo->dists['normal']->form['upLimit']  = '上限';
$lang->montecarlo->dists['normal']->describe         = '<p>說明：</p><p>正態分佈也叫常態分佈，是連續隨機變數概率分佈的一種，自然界、人類社會、心理和教育中大量現象均按正態形式分佈，例如能力的高低，學生成績的好壞等都屬於正態分佈。它隨隨機變數的平均數、標準差的大小與單位不同而有不同的分佈形態。</p>';

$lang->montecarlo->dists['triangular']                = new stdclass();
$lang->montecarlo->dists['triangular']->title         = '三角分佈';
$lang->montecarlo->dists['triangular']->image         = 'triangular.png';
$lang->montecarlo->dists['triangular']->form          = array();
$lang->montecarlo->dists['triangular']->form['left']  = '下限';
$lang->montecarlo->dists['triangular']->form['mode']  = '最可能值';
$lang->montecarlo->dists['triangular']->form['right'] = '上限';
$lang->montecarlo->dists['triangular']->describe      = '<p>說明：</p><p>三角形分佈通常用於表述只有優先採樣數據的人口信息，尤其是已知變數之間的關係但是由於數據的收整合本太高而缺少採樣數據的場合。 這通常是根據已知最小值與最大值從而推算合理的常見值。</p>';

$lang->montecarlo->distOrValues = array();
$lang->montecarlo->distOrValues['normal']     = '正態分佈';
$lang->montecarlo->distOrValues['triangular'] = '三角分佈';
$lang->montecarlo->distOrValues['value']      = '值';

$lang->montecarlo->target = '目標';

$lang->montecarlo->decisionList = array();
$lang->montecarlo->decisionList['false'] = '否';
$lang->montecarlo->decisionList['true']  = '是';

$lang->montecarlo->targetList = array();
$lang->montecarlo->targetList['max'] = '最大化';
$lang->montecarlo->targetList['min'] = '最小化';

$lang->montecarlo->statisticList = array();
$lang->montecarlo->statisticList['mean']   = '均值';
$lang->montecarlo->statisticList['median'] = '中位數';
$lang->montecarlo->statisticList['max']    = '最大值';
$lang->montecarlo->statisticList['min']    = '最小值';

$lang->montecarlo->conditionList = array();
$lang->montecarlo->conditionList['gt']  = '>';
$lang->montecarlo->conditionList['lt']  = '<';
$lang->montecarlo->conditionList['gte'] = '>=';
$lang->montecarlo->conditionList['lte'] = '<=';
$lang->montecarlo->conditionList['eq']  = '=';
$lang->montecarlo->conditionList['ne']  = '!=';
