Optimization API optimization-33 (20130530172738)

edu.cornell.med.icb.optimization
Class SubsetSuperGene

java.lang.Object
  extended by org.jgap.BaseGene
      extended by org.jgap.supergenes.AbstractSupergene
          extended by edu.cornell.med.icb.optimization.SubsetSuperGene
All Implemented Interfaces:
Serializable, Comparable, org.jgap.Gene, org.jgap.IBusinessKey, org.jgap.ICompositeGene, org.jgap.IPersistentRepresentation, org.jgap.supergenes.Supergene, org.jgap.supergenes.SupergeneValidator

public class SubsetSuperGene
extends org.jgap.supergenes.AbstractSupergene

Author:
Fabien Campagne Date: Oct 10, 2007 Time: 4:34:43 PM
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jgap.supergenes.AbstractSupergene
GENE_DELIMITER, GENE_DELIMITER_CLOSING, GENE_DELIMITER_HEADING, m_validator, MAX_IMMUTABLE_GENES, MAX_RETRIES
 
Fields inherited from class org.jgap.BaseGene
DELTA, S_APPLICATION_DATA
 
Fields inherited from interface org.jgap.Gene
PERSISTENT_FIELD_DELIMITER
 
Constructor Summary
SubsetSuperGene()
           
SubsetSuperGene(org.jgap.Configuration configuration)
           
SubsetSuperGene(org.jgap.Configuration configuration, org.jgap.Gene[] subsetGenes)
           
SubsetSuperGene(org.jgap.Configuration configuration, org.jgap.Gene[] subsetGenes, int[] allElements)
           
 
Method Summary
 IntSet getSubSet()
           
 boolean isValid(org.jgap.Gene[] genes, org.jgap.supergenes.Supergene supergene)
           
 org.jgap.Gene newGene()
           
 void setToRandomValue(org.jgap.RandomGenerator a_numberGenerator)
           
 String toString()
           
 
Methods inherited from class org.jgap.supergenes.AbstractSupergene
addGene, applyMutation, cleanup, compareTo, createGene, createValidator, equals, geneAt, getAllele, getGenes, getInternalValue, getPersistent, getPersistentRepresentation, getValidator, hashCode, isValid, newGeneInternal, reset, setAllele, setFromPersistent, setValidator, setValueFromPersistentRepresentation, size, split
 
Methods inherited from class org.jgap.BaseGene
compareApplicationData, decode, encode, getApplicationData, getBusinessKey, getConfiguration, getConstraintChecker, getEnergy, isCompareApplicationData, setApplicationData, setCompareApplicationData, setConstraintChecker, setEnergy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jgap.Gene
getApplicationData, getConfiguration, getEnergy, isCompareApplicationData, setApplicationData, setCompareApplicationData, setConstraintChecker, setEnergy
 

Constructor Detail

SubsetSuperGene

public SubsetSuperGene()
                throws org.jgap.InvalidConfigurationException
Throws:
org.jgap.InvalidConfigurationException

SubsetSuperGene

public SubsetSuperGene(org.jgap.Configuration configuration)
                throws org.jgap.InvalidConfigurationException
Throws:
org.jgap.InvalidConfigurationException

SubsetSuperGene

public SubsetSuperGene(org.jgap.Configuration configuration,
                       org.jgap.Gene[] subsetGenes)
                throws org.jgap.InvalidConfigurationException
Throws:
org.jgap.InvalidConfigurationException

SubsetSuperGene

public SubsetSuperGene(org.jgap.Configuration configuration,
                       org.jgap.Gene[] subsetGenes,
                       int[] allElements)
                throws org.jgap.InvalidConfigurationException
Throws:
org.jgap.InvalidConfigurationException
Method Detail

isValid

public boolean isValid(org.jgap.Gene[] genes,
                       org.jgap.supergenes.Supergene supergene)
Specified by:
isValid in interface org.jgap.supergenes.SupergeneValidator
Overrides:
isValid in class org.jgap.supergenes.AbstractSupergene

newGene

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

getSubSet

public IntSet getSubSet()

toString

public String toString()
Specified by:
toString in interface org.jgap.Gene
Overrides:
toString in class org.jgap.supergenes.AbstractSupergene

setToRandomValue

public void setToRandomValue(org.jgap.RandomGenerator a_numberGenerator)
Specified by:
setToRandomValue in interface org.jgap.Gene
Overrides:
setToRandomValue in class org.jgap.supergenes.AbstractSupergene

Optimization API optimization-33 (20130530172738)

Copyright © 2007-2013 Institute for Computational Biomedicine, All Rights Reserved.