|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGglazba.GARitam
public class GARitam extends java.lang.Object
Contains the genetic operators for the rhythm genetic algorithm
Constructor and Description |
---|
GARitam()
|
Modifier and Type | Method and Description |
---|---|
static Ritam |
krizanjeTockaPrekida(java.util.LinkedList<Ritam> odabrane)
One-point crossover |
static Ritam |
mutacijaRitma(Ritam dijete)
Mutation which combines note lengths into longer, or splits them into shorter ones |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GARitam()
Method Detail |
---|
public static Ritam krizanjeTockaPrekida(java.util.LinkedList<Ritam> odabrane)
odabrane
- List of individuals who where chosen for the crossoverpublic static Ritam mutacijaRitma(Ritam dijete)
dijete
- The individual on which the mutation will be performed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |