internal void CreateNewNetwork(InfectionNetworkParameters parameters) { double factorDecimal = parameters.ConnectivityFactor - 1; double factorDe0a1 = factorDecimal / 9; GenerateSeededGraph(parameters.Name, parameters.NodeQuantity, parameters.Seed, factorDe0a1); }
internal void AddNewNetwork(InfectionNetworkParameters parameters) { NetworkSelectBox.Items.Add(parameters.Name); Simulator.CreateNewNetwork(parameters); NetworkSelectBox.SelectedItem = parameters.Name; }