Esempio n. 1
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="costFunction">the cost function to use</param>
 public NeedlemanWunch(AbstractSubstitutionCost costFunction) : this(defaultGapCost, costFunction)
 {
 }
Esempio n. 2
0
		/// <summary>
		/// constructor
		/// </summary>
		/// <param name="costFunction">the cost function to use</param>
		public NeedlemanWunch(AbstractSubstitutionCost costFunction) : this(defaultGapCost, costFunction) { }
Esempio n. 3
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="costG">the cost of a gap</param>
 /// <param name="costFunction">the cost function to use</param>
 public NeedlemanWunch(double costG, AbstractSubstitutionCost costFunction)
 {
     gapCost       = costG;
     dCostFunction = costFunction;
 }
Esempio n. 4
0
		/// <summary>
		/// constructor
		/// </summary>
		/// <param name="costG">the cost of a gap</param>
		/// <param name="costFunction">the cost function to use</param>
		public NeedlemanWunch(double costG, AbstractSubstitutionCost costFunction)
		{
			gapCost = costG;
			dCostFunction = costFunction;
		}