<?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']  = '!=';
