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