Ejemplo n.º 1
0
        private int selectedAmountOfCycles; // Zyklen

        //Konstruktor
        public Parameter()
        {
        isSelectedExample = false;
        selectedAlgorithm = typeOfAlgorithm.Density;
        selectedAmountOfTowns = 0;
        selectedSpreadTowns = typeOfSpreadTowns.Random;
        selectedAmountOfAnts = 0;
        selectedSpreadAnts = typeOfSpreadAnts.Random;
        selectedStrength = 0;
        selectedStartPheromone = 0;
        selectedEvaporation = 0;
        selectedWeightPheromone = 0;
        selectedWeightDistance = 0;
        selectedAmountOfCycles = 0;
    }
Ejemplo n.º 2
0
 public void setSelectedAlgorithm(typeOfAlgorithm type)
 {
     this.selectedAlgorithm = type;
 }