|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectart.ga.Chromosome
art.cs.Message
The message is the information coming from the environment to be evaluated. It is a chromosome with only one genome (0) defined "text".
| Constructor Summary | |
Message(CsConfiguration configuration,
Population population,
Author owner,
Gene[] text)
Constructor of the class using a genome array as body. |
|
Message(CsConfiguration configuration,
Population population,
Author owner,
int[] textInt)
Constructor of the class using a integer array as body. |
|
| Method Summary | |
Author |
getOwner()
Get the author of the message. |
double |
getSupport()
Support is similar to fitness for message. |
Gene[] |
getText()
Get the body (text) of the message. |
void |
setSupport(double support)
Support is similar to fitness for message. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Message(CsConfiguration configuration,
Population population,
Author owner,
Gene[] text)
configuration - Configurationpopulation - Populationowner - Ownertext - Body
public Message(CsConfiguration configuration,
Population population,
Author owner,
int[] textInt)
configuration - Configurationpopulation - Populationowner - OwnertextInt - Body| Method Detail |
public Gene[] getText()
public Author getOwner()
public double getSupport()
public void setSupport(double support)
support - The support to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||