示例#1
0
 public UtilityClassFixture()
 {
     CostFunction1 = new AffineGapRange1To0Multiplier1Over3();
     CostFunction2 = new AffineGapRange5To0Multiplier1();
     CostFunction3 = new SubCostRange0To1();
     CostFunction4 = new SubCostRange1ToMinus2();
     CostFunction5 = new SubCostRange5ToMinus3();
 }
 // [SetUp]
 public CostFunctionsUnitTests()
 {
     myCostFunction1 = new AffineGapRange1To0Multiplier1Over3();
     myCostFunction2 = new AffineGapRange5To0Multiplier1();
     myCostFunction3 = new SubCostRange0To1();
     myCostFunction4 = new SubCostRange1ToMinus2();
     myCostFunction5 = new SubCostRange5ToMinus3();
 }
示例#3
0
 /// <summary>
 /// constructor to load dummy Java converter classes only
 /// </summary>
 public Levenstein()
 {
     dCostFunction = new SubCostRange0To1();
 }