Gglazba
Class Dobrota

java.lang.Object
  extended by Gglazba.Dobrota

public class Dobrota
extends java.lang.Object

Class that holds information about fitness values


Field Summary
Modifier and Type Field and Description
static int[] dobrotaMelodije
          Fitness values for intervals between all neighbouring tones
static int[] dobrotaMelodijePocetni
          Fitness values for intervals between the first tone in the melody and all other tones
static int dobrotaPauzeGlavna
          Fitness value for the rest in the main melody
static int dobrotaPauzePrateca
          Fitness value for the rest in the accompanying melodies
static java.lang.Integer[] dobrotaPratnje
          Fitness values for intervals between the main melody and the accompanied melodies
static java.util.HashMap<java.lang.Integer,java.lang.Integer> dobrotaRitma
          Fitness values of note lengths
static java.lang.String[] sveRitamskeVrijednosti
          Values of all supported tone lengths
static java.util.LinkedList<java.lang.String> sviTonovi
          List of all supported tones
static float vjerojatnostPauzeGlavna
          Probability of rest appearance in the main melody
static float vjerojatnostPauzePrateca
          Probability of rest appearance in the accompanying melodies melody
 
Constructor Summary
Constructor and Description
Dobrota()
           
 
Method Summary
Modifier and Type Method and Description
static void Dobrota1()
          Initializes the list of all suported tones and sets the value of fitness to 0 for all structures
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dobrotaMelodije

public static int[] dobrotaMelodije
Fitness values for intervals between all neighbouring tones


dobrotaMelodijePocetni

public static int[] dobrotaMelodijePocetni
Fitness values for intervals between the first tone in the melody and all other tones


dobrotaPratnje

public static java.lang.Integer[] dobrotaPratnje
Fitness values for intervals between the main melody and the accompanied melodies


dobrotaPauzeGlavna

public static int dobrotaPauzeGlavna
Fitness value for the rest in the main melody


dobrotaPauzePrateca

public static int dobrotaPauzePrateca
Fitness value for the rest in the accompanying melodies


vjerojatnostPauzeGlavna

public static float vjerojatnostPauzeGlavna
Probability of rest appearance in the main melody


vjerojatnostPauzePrateca

public static float vjerojatnostPauzePrateca
Probability of rest appearance in the accompanying melodies melody


dobrotaRitma

public static java.util.HashMap<java.lang.Integer,java.lang.Integer> dobrotaRitma
Fitness values of note lengths


sviTonovi

public static java.util.LinkedList<java.lang.String> sviTonovi
List of all supported tones


sveRitamskeVrijednosti

public static java.lang.String[] sveRitamskeVrijednosti
Values of all supported tone lengths

Constructor Detail

Dobrota

public Dobrota()
Method Detail

Dobrota1

public static void Dobrota1()
Initializes the list of all suported tones and sets the value of fitness to 0 for all structures