Gglazba
Class Pratnja

java.lang.Object
  extended by Gglazba.Pratnja

public class Pratnja
extends java.lang.Object

Represents one accompanying melody individual


Field Summary
Modifier and Type Field and Description
 int dobrota
          Represents the fitness of this particular melody
static java.util.LinkedList<java.lang.String> najboljiRitam
          Represents the tone list
 
Constructor Summary
Constructor and Description
Pratnja()
           
 
Method Summary
Modifier and Type Method and Description
 void init()
          Method that initializes the melody
 void izracunajDobrotu()
          Calculates the fitness of the melody
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

najboljiRitam

public static java.util.LinkedList<java.lang.String> najboljiRitam
Represents the tone list


dobrota

public int dobrota
Represents the fitness of this particular melody

Constructor Detail

Pratnja

public Pratnja()
Method Detail

init

public void init()
Method that initializes the melody


izracunajDobrotu

public void izracunajDobrotu()
Calculates the fitness of the melody