예제 #1
0
        private void BuildFormula()
        {
            var type = _formulaCfg[EntityType];

            if (type == FactorFormulaType.LinearToZeroInRadius)
            {
                _formula = Formulas.LinearToZeroInRadius(this);
            }
            else if (type == FactorFormulaType.ExponentialAttenution)
            {
                _formula = Formulas.ExponentialAttenuation(this);
            }
            else
            {
                _formula = Formulas.ZeroOne(this);
            }
        }
예제 #2
0
        // IFactor constructs

        private void BuildFormula()
        {
            _formula = Formulas.RegionEntity(this);
        }
예제 #3
0
        // IFactor constructs

        private void BuildFormula()
        {
            _formula = Formulas.LinearEntity(this);
        }