using System.Collections.Generic; namespace WaterDistributioinManager.Model { public class CalcExt { /// /// 种群数量 /// public int populationNum { get; set; } = 50; /// /// 搜索深度 /// public int iterationNum { get; set; } = 20; /// /// 搜索深度_最小 /// public int iterationNum_Min { get; set; } = 1; /// /// 线程数 /// public int MaxThread { get; set; } = 4; /// /// 多时刻 /// public int MultiTimes { get; set; } = 0; /// /// 是否只显示最优解 /// public bool ShowOnlyBest { get; set; } = true; /// /// 是否优选 /// public bool 是否优选方案 { get; set; } = true; /// /// 是否水量分配 /// public bool waterdistribute { get; set; } = false; /// /// 总水量 /// public float TotalDemand { get; set; } = 25; /// /// 当量表 /// public float[] 当量表 { get; set; } =new float[] { 0.36f,0.54f,0.72f }; /// /// 子方案集 /// public string[] ChildSolutions = new string[0]; } }