Gglazba
Class Melodija

java.lang.Object
  extended by Gglazba.Melodija

public class Melodija
extends java.lang.Object

Represents one main melody individual


Field Summary
Modifier and Type Field and Description
 int dobrota
          Represents the fitness of this particular melody
 
Constructor Summary
Constructor and Description
Melodija()
           
 
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

dobrota

public int dobrota
Represents the fitness of this particular melody

Constructor Detail

Melodija

public Melodija()
Method Detail

init

public void init()
Method that initializes the melody


izracunajDobrotu

public void izracunajDobrotu()
Calculates the fitness of the melody