public CandidateRecord(double can_weight, Agent agent, int awa_window_size = 1) { this.MyAggFuncs = new AggregationFunctions(); this.BeliefDim = -1; this.RequireOpinionNum = this.CalcRequireNum(can_weight, agent); this.CanWeight = Math.Round(can_weight, 4); this.AwaRates = new Queue <double>(); this.AwaWindowSize = awa_window_size; }
public CandidateRecord(int belief_dim, int requre_num, Agent agent, int awa_window_size = 1) { this.MyAggFuncs = new AggregationFunctions(); this.BeliefDim = belief_dim; this.RequireOpinionNum = requre_num; this.CanWeight = Math.Round(this.CalcCanWeight(belief_dim, requre_num, agent), 4); this.AwaRates = new Queue <double>(); this.AwaWindowSize = awa_window_size; }
public Aggregate(AggregationFunctions groupingType, string fieldName) { this.Function = groupingType; this.FieldName = fieldName; }