Exemplo n.º 1
0
        /// <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();
        }
Exemplo n.º 2
0
        /// <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);
        }
Exemplo n.º 3
0
        /// <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();
        }