|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgap.BaseGene
artefatos.Spot
public class Spot
Classe que representa um gene do tipo SPOT
| Field Summary |
|---|
| Fields inherited from class org.jgap.BaseGene |
|---|
DELTA, S_APPLICATION_DATA |
| Fields inherited from interface org.jgap.Gene |
|---|
CVS_REVISION, PERSISTENT_FIELD_DELIMITER |
| Constructor Summary | |
|---|---|
Spot(org.jgap.Configuration aConfiguration,
int xPassado,
int yPassado,
int diametro)
Construtor da classe de Fitness, ultilizado para definir parametros maximos e minimos para os valores dos individuos de AG |
|
| Method Summary | |
|---|---|
int |
getDiametro()
|
int |
getX()
|
int |
getY()
|
org.jgap.Gene |
newGene()
Metodo que cria um novo gene |
void |
setDiametro(int diametro)
|
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class org.jgap.BaseGene |
|---|
cleanup, equals, getAllele, getApplicationData, getBusinessKey, getConfiguration, getConstraintChecker, getEnergy, hashCode, isCompareApplicationData, setApplicationData, setCompareApplicationData, setConstraintChecker, setEnergy, size, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jgap.Gene |
|---|
applyMutation, cleanup, getAllele, getApplicationData, getConfiguration, getEnergy, getPersistentRepresentation, isCompareApplicationData, setAllele, setApplicationData, setCompareApplicationData, setConstraintChecker, setEnergy, setToRandomValue, setValueFromPersistentRepresentation, size, toString |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public Spot(org.jgap.Configuration aConfiguration,
int xPassado,
int yPassado,
int diametro)
throws org.jgap.InvalidConfigurationException
Construtor da classe de Fitness, ultilizado para definir parametros maximos e minimos para os valores dos individuos de AG
aConfiguration - xPassado - yPassado - larguraLocal -
org.jgap.InvalidConfigurationException| Method Detail |
|---|
public org.jgap.Gene newGene()
Metodo que cria um novo gene
newGene in interface org.jgap.GenenewGene in class org.jgap.BaseGenepublic int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getDiametro()
public void setDiametro(int diametro)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||