Exemple #1
0
        /* Расчет дробной символьной схемной функции */
        public static Result calculateSSF(SchemeForSSF scheme, ref int detansCount)
        {
            Result result = new Result();

            //SchemeForSSF schemeForSSF = new SchemeForSSF(Scheme.currentScheme, elements);
            return(scheme.calculateSSF(ref detansCount));
        }
Exemple #2
0
        static Dictionary <PassiveElement[], Result> calculateSSF(SchemeForSSF scheme, ref int detansCount)
        {
            Dictionary <PassiveElement[], Result> elementsToSSFDictionary = new Dictionary <PassiveElement[], Result>();

            elementsToSSFDictionary.Add(scheme.getSelectedElements().ToArray(), Calculations.calculateSSF(scheme, ref detansCount));
            //schemeForCalculations = new SchemeForSSF(Scheme.currentScheme, selectedElements.ToArray());
            return(elementsToSSFDictionary);
        }
 /* Расчет дробной символьной схемной функции */
 public static Result calculateSSF(SchemeForSSF scheme, ref int detansCount)
 {
     Result result = new Result();
     //SchemeForSSF schemeForSSF = new SchemeForSSF(Scheme.currentScheme, elements);
     return scheme.calculateSSF(ref detansCount);
 }
Exemple #4
0
 static Dictionary<PassiveElement[], Result> calculateSSF(SchemeForSSF scheme, ref int detansCount)
 {
     Dictionary<PassiveElement[], Result> elementsToSSFDictionary = new Dictionary<PassiveElement[], Result>();
     elementsToSSFDictionary.Add(scheme.getSelectedElements().ToArray(), Calculations.calculateSSF(scheme, ref detansCount));
     //schemeForCalculations = new SchemeForSSF(Scheme.currentScheme, selectedElements.ToArray());
     return elementsToSSFDictionary;
 }