public abstract class Sort
extends java.lang.Object
Title: Class Sort
Description: Here you have methods to sort populations
Company: KEEL
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
static void |
q_sort_dist(java.util.ArrayList<Chromosome> pop,
int[] dist,
int left,
int right)
Actual implementation of the randomized quick sort used to sort a population based on a crowding distance
|
static void |
q_sort_front_obj(java.util.ArrayList<Chromosome> pop,
int objcount,
int[] obj_array,
int left,
int right)
Actual implementation of the randomized quick sort used to sort a population based on a particular objective chosen
|
static void |
quicksort_dist(java.util.ArrayList<Chromosome> pop,
int[] dist,
int front_size)
Randomized quick sort routine to sort a population based on crowding distance
|
static void |
quicksort_front_obj(java.util.ArrayList<Chromosome> pop,
int objcount,
int[] obj_array,
int obj_array_size)
Randomized quick sort routine to sort a population based on a particular objective chosen
|
public static void q_sort_front_obj(java.util.ArrayList<Chromosome> pop, int objcount, int[] obj_array, int left, int right)
pop
- population to sortobjcount
- objetive´s numberobj_array
- objetive's arrayleft
- left indexright
- right indexpublic static void q_sort_dist(java.util.ArrayList<Chromosome> pop, int[] dist, int left, int right)
pop
- population to sortdist
- distance´s vectorleft
- left indexright
- right indexpublic static void quicksort_dist(java.util.ArrayList<Chromosome> pop, int[] dist, int front_size)
pop
- population to sortdist
- distance´s vectorfront_size
- public static void quicksort_front_obj(java.util.ArrayList<Chromosome> pop, int objcount, int[] obj_array, int obj_array_size)
pop
- population to sortobjcount
- objetive´s numberobj_array
- objetive's arrayobj_array_size
- size of objetive's array