Example #1
0
 public AdvancedScheme(Scheme baseScheme, PassiveElement[] selectedElements)
 {
     elementsList = baseScheme.getElementsList();
     itsSelectedElements = new List<PassiveElement>(selectedElements);
     makePassiveList();
     makeActiveList();
     makeNullersList();
     makeActiveListForZ();
     makeActiveListForQ();
     makeElementToValueAssociations();
 }
Example #2
0
 public SchemeForTolerance(Scheme scheme, PassiveElement[] elements, string receivedError, bool useNegativeValues)
     : base(scheme, elements)
 {
     error = receivedError;//(Convert.ToDouble(receivedError) * 0.01).ToString();
     this.useNegativeValues = useNegativeValues;
     addClonesToList();
     makeModifiedElementsAssociation();
 }
Example #3
0
 public SchemeForSSF(Scheme scheme, PassiveElement[] elements, int SSFtype)
     : base(scheme, elements)
 {
     //error = (Convert.ToDouble(receivedError)*0.01).ToString();
     //addClonesToList();
     itsSelectedElements = new List<PassiveElement>(elements);
     itsSSFtype = SSFtype;
     makeModifiedElementsAssociation();
 }
Example #4
0
 public SchemeForError(Scheme baseScheme, PassiveElement[] elements,
     Dictionary<PassiveElement, string> elementToToleranceAssociations, bool useNegativeValues)
     : base(baseScheme, elements)
 {
     elementToToleranceDictionary = elementToToleranceAssociations;
     this.useNegativeValues = useNegativeValues;
     addClonesToList();
     makeModifiedElementsAssociation();
 }