An S4 class to represent an hybrid genetic/greedy algorithm (extends Alg-class class).
Hybrid(pop_size = 20, nb_max_gen = 10, prob_mutation = 0.25, Kmax = 100)size of the solutions populations (default to 20)
maximal number of generation to produce (default to 10)
mutation probability (default to 0.25)
maximum number of clusters (default to 100)
a Hybrid-class object
Hybrid: Hybrid algorithm class constructor
pop_sizesize of the solutions populations (default to 20)
nb_max_genmaximal number of generation to produce (default to 10)
prob_mutationmutation probability (default to 0.25)
Kmaxmaximum number of clusters (default to 100)
Hybrid()
#> An object of class "Hybrid"
#> Slot "pop_size":
#> [1] 20
#>
#> Slot "nb_max_gen":
#> [1] 10
#>
#> Slot "prob_mutation":
#> [1] 0.25
#>
#> Slot "Kmax":
#> [1] 100
#>
Hybrid(pop_size = 100)
#> An object of class "Hybrid"
#> Slot "pop_size":
#> [1] 100
#>
#> Slot "nb_max_gen":
#> [1] 10
#>
#> Slot "prob_mutation":
#> [1] 0.25
#>
#> Slot "Kmax":
#> [1] 100
#>