Example #1
0
 public BothAlgorithmsViewModel()
 {
     this.GAParameters    = new GeneticAlgorithmParameters();
     this.BAParameters    = new BeesAlgorithmParameters();
     this.CreateGACommand = new CreateGACommand(new GeneticAlgorithmViewModel(GAParameters));
     this.CreateBACommand = new CreateBACommand(new BeeAlgorithmViewModel(BAParameters));
 }
Example #2
0
 public BeeAlgorithmViewModel(BeesAlgorithmParameters bap)
 {
     this.BAParameters     = bap;
     this.CreateBeeCommand = new CreateBACommand(this);
 }