/// <summary> /// Main Constructor of the Coefficient. This just initializes all the components with the given values. /// </summary> /// <param name="fq">File Quality Component</param> /// <param name="aff">Search Affinity Component</param> /// <param name="pq">Peer Quality Component.</param> public QualityCoefficient(FileQualityCoefficient fq, double aff = 0.0, double pq = 0.0) { this.affComponent = aff; this.pqComponent = pq; this.fqComponent = fq; }
/// <summary> /// Main Constructor of the Coefficient. This just initializes all the components with the given values. /// </summary> /// <param name="fq">File Quality Component</param> /// <param name="aff">Search Affinity Component</param> /// <param name="pq">Peer Quality Component.</param> public QualityCoefficient(FileQualityCoefficient fq,double aff=0.0, double pq=0.0) { this.affComponent=aff; this.pqComponent=pq; this.fqComponent=fq; }