private void RefreshGaleShapley(string name, int index) { AlgorithmOptionGaleShapley alg = new AlgorithmOptionGaleShapley(name, index); AlgorithmOptions.Add(alg); AlgorithmElements.Add(alg); UpdateGeneticSettings(alg.Index); }
private void OnNewGaleShapleyAlgorithmCommand() { _model.CreateGaleShapleyAlgorithm(); AlgorithmOptionGaleShapley alg = new AlgorithmOptionGaleShapley( _context.GetAlgorithms.Last().Name, AlgorithmOptions.Count() ); AlgorithmOptions.Add(alg); AlgorithmElements.Add(alg); //UpdateGeneticSettings(alg.Index); OnPropertyChanged("AlgorithmOptions"); }
public void Visit(AlgorithmOptionGaleShapley element) { _galeShapleyMethod?.Invoke(element); }