lixiaojun
2024-07-29 72d1856d8097fa55e54e1ed4cc1ae06912f3e57e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System.Collections.Generic;
 
namespace WaterDistributioinManager.Model
{
    public class CalcExt
    {
        /// <summary>
        /// 种群数量
        /// </summary>
        public int populationNum { get; set; } = 50;
 
 
        /// <summary>
        /// 搜索深度
        /// </summary>
        public int iterationNum { get; set; } = 20;
        /// <summary>
        /// 搜索深度_最小
        /// </summary>
        public int iterationNum_Min { get; set; } = 1;
        /// <summary>
        /// 线程数
        /// </summary>
        public int MaxThread { get; set; } = 4;
 
        /// <summary>
        /// 多时刻
        /// </summary>
        public int MultiTimes { get; set; } = 0;
 
        /// <summary>
        /// 是否只显示最优解
        /// </summary>
        public bool ShowOnlyBest { get; set; } = true;
 
        /// <summary>
        /// 是否优选
        /// </summary>
        public bool 是否优选方案 { get; set; } = true;
 
        /// <summary>
        /// 是否水量分配
        /// </summary>
        public bool waterdistribute { get; set; } = false;
 
        /// <summary>
        /// 总水量
        /// </summary>
        public float TotalDemand { get; set; } = 25;
 
        /// <summary>
        /// 当量表
        /// </summary>
        public float[] 当量表 { get; set; } =new float[] { 0.36f,0.54f,0.72f };
 
        /// <summary>
        /// 子方案集
        /// </summary>
        public string[] ChildSolutions = new string[0];
    }
}