public AdvancedScheme(Scheme baseScheme, PassiveElement[] selectedElements) { elementsList = baseScheme.getElementsList(); itsSelectedElements = new List<PassiveElement>(selectedElements); makePassiveList(); makeActiveList(); makeNullersList(); makeActiveListForZ(); makeActiveListForQ(); makeElementToValueAssociations(); }
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(); }
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(); }
public SchemeForError(Scheme baseScheme, PassiveElement[] elements, Dictionary<PassiveElement, string> elementToToleranceAssociations, bool useNegativeValues) : base(baseScheme, elements) { elementToToleranceDictionary = elementToToleranceAssociations; this.useNegativeValues = useNegativeValues; addClonesToList(); makeModifiedElementsAssociation(); }