artefatos
Class Filtro

java.lang.Object
  extended by org.jgap.BaseGene
      extended by artefatos.Filtro
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, org.jgap.Gene, org.jgap.IBusinessKey

public class Filtro
extends org.jgap.BaseGene
implements org.jgap.Gene, java.io.Serializable

Classe que representa o Gene de um filtro

See Also:
Serialized Form

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
Filtro(org.jgap.Configuration aConfiguration, int xPassado, int yPassado)
           Construtor responsavél por estabelecer os limites do gene.
 
Method Summary
 int getX()
           
 int getY()
           
 org.jgap.Gene newGene()
           Este medodo será ultilizado para criar um novo gene
 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

Filtro

public Filtro(org.jgap.Configuration aConfiguration,
              int xPassado,
              int yPassado)
       throws org.jgap.InvalidConfigurationException

Construtor responsavél por estabelecer os limites do gene.

Parameters:
aConfiguration -
xPassado -
yPassado -
Throws:
org.jgap.InvalidConfigurationException
Method Detail

newGene

public org.jgap.Gene newGene()

Este medodo será ultilizado para criar um novo gene

Specified by:
newGene in interface org.jgap.Gene
Overrides:
newGene in class org.jgap.BaseGene

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)