|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGglazba.Ritam
public class Ritam extends java.lang.Object
Represents the rhythm individual
Modifier and Type | Field and Description |
---|---|
int |
broj_nota
The number of notes in this individual |
int |
dobrota
Represents the fitness of this particular individual |
java.util.LinkedList<java.lang.String> |
ritam
List of tone lengths |
Constructor and Description |
---|
Ritam()
|
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 |
---|
public java.util.LinkedList<java.lang.String> ritam
public int dobrota
public int broj_nota
Constructor Detail |
---|
public Ritam()
Method Detail |
---|
public void init()
public void izracunajDobrotu()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |