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); } }
// IFactor constructs private void BuildFormula() { _formula = Formulas.RegionEntity(this); }
// IFactor constructs private void BuildFormula() { _formula = Formulas.LinearEntity(this); }