예제 #1
0
 public BinarySearch(BlackBox BB, string name, double FirstValueToBeTested) : base(BB, name, FirstValueToBeTested)
 {
     setValueFound(finder(base.getFirstValueToBeTested(), base.getFirstValueToBeTested()));
 }
예제 #2
0
 public LinearSearch(BlackBox BB, string name, double FirstValueToBeTested) : base(BB, name, FirstValueToBeTested)
 {
     base.setFirstValueToBeTested(0);
     setValueFound(finder(base.getFirstValueToBeTested(), true));
 }
예제 #3
0
 public void setBlackBox(BlackBox BB)
 {
     this.BB = BB;
 }