/// <summary> /// Initializes new instance of <see cref="Model"/> /// </summary> public Model() { Experiments = new ExperimentCollection(); Parameters = new NamedModelEntityCollection <Parameter>(); Criteria = new NamedModelEntityCollection <Criterion>(); FunctionalConstraints = new NamedModelEntityCollection <Constraint>(); Properties = new PropertyCollection(); }
/// <summary> /// Creates a deep copy of <see cref="ExperimentCollection"/> instance /// </summary> /// <returns>Deep copy of self</returns> public object Clone() { ExperimentCollection clone = new ExperimentCollection(Count); foreach (KeyValuePair <TId, Experiment> experiment in this) { clone.Add(experiment.Key, (Experiment)experiment.Value.Clone()); } return(clone); }
/// <summary> /// Initializes new instance of <see cref="IdentificationModel"/> /// </summary> public IdentificationModel() { IdentificationExperiments = new IdentificationExperimentCollection(); RealExperiments = new ExperimentCollection(); IdentificationParameters = new ParameterCollection(); OptimizationParameters = new ParameterCollection(); Criteria = new CriterionCollection(); FunctionalConstraints = new ConstraintCollection(); Properties = new PropertyCollection(); }