Serialized Form


Package es.udc.gii.common.eaf.algorithm.evaluate

Class es.udc.gii.common.eaf.algorithm.evaluate.SerialEvaluationStrategy extends java.lang.Object implements Serializable

Serialized Fields

contraintMethod

ConstraintMethod contraintMethod

Package es.udc.gii.common.eaf.algorithm.evaluate.constraint

Package es.udc.gii.common.eaf.algorithm.evaluate.constraint.methods

Class es.udc.gii.common.eaf.algorithm.evaluate.constraint.methods.NoConstraintsMethod extends java.lang.Object implements Serializable


Package es.udc.gii.common.eaf.algorithm.parallel.evaluation

Class es.udc.gii.common.eaf.algorithm.parallel.evaluation.DistributedEvaluation extends java.util.Observable implements Serializable

Serialized Fields

state

int state

comparator

FitnessComparator<T extends Individual> comparator

evaluationStrategy

SerialEvaluationStrategy evaluationStrategy
Evaluation strategy that is in charge for the real evaluation of the individuals.


topology

EvaluationTopology topology
The master-slave topology defining the communication functions between master and slaves.


finished

boolean finished
true if the evaluation process is finished.


chunkSize

int chunkSize
The maximum amount of individuals sent each time to a node for evaluating them. The sent individuals might be fewer if there aren't enough available.


functions

java.util.List<E> functions
The problem's objective functions.


constraints

java.util.List<E> constraints
the problem's constraints.


popSize

int popSize
The amount of individuals for evaluation.


barrier

java.util.concurrent.CyclicBarrier barrier
Barrier for synchronizing the threads.


collectStatistics

boolean collectStatistics
true if statistics about the evaluations should be collected.


statistics

DistributedEvaluation.DistributedEvaluationStatistics statistics
Some statistics: eval time, idle time, total evals, etc.


chunkIndex

int[] chunkIndex
Stores the first index of a chunk for each process.


individualsToEvaluate

java.util.List<E> individualsToEvaluate
The individuals to be evaluated.


firtstInd

int firtstInd
Pointer to the first not evaluated individual.


evaluatedIndividuals

int evaluatedIndividuals
Number of evaluated individuals so far.

Class es.udc.gii.common.eaf.algorithm.parallel.evaluation.DistributedEvaluation.DistributedEvaluationStatistics extends java.lang.Object implements Serializable

Serialized Fields

totalSendTimeMaster

long totalSendTimeMaster

totalSendTimeSlave

long[] totalSendTimeSlave

totalIdleTimeMaster

long totalIdleTimeMaster

totalIdleTimeSlave

long[] totalIdleTimeSlave

totalEvalsMaster

int totalEvalsMaster

totalEvalsSlave

int[] totalEvalsSlave

totalEvaluationTimeMaster

long totalEvaluationTimeMaster

totalEvaluationTimeSlave

long[] totalEvaluationTimeSlave

totalTimeMaster

long totalTimeMaster

totalTimeSlave

long[] totalTimeSlave

Package es.udc.gii.common.eaf.algorithm.parallel.topology.evaluation

Class es.udc.gii.common.eaf.algorithm.parallel.topology.evaluation.EvaluationObject extends java.lang.Object implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

Class es.udc.gii.common.eaf.algorithm.parallel.topology.evaluation.EvaluationTopology extends Topology implements Serializable

Serialized Fields

pendingSendRequest

java.util.Map<K,V> pendingSendRequest

master

boolean master
true if this process is the master in this topology.


myMaster

int myMaster
The rank of the master of this topology.


Package es.udc.gii.common.eaf.algorithm.parallel.topology.migration

Class es.udc.gii.common.eaf.algorithm.parallel.topology.migration.MigrationObject extends java.lang.Object implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

Package es.udc.gii.common.eaf.algorithm.population

Class es.udc.gii.common.eaf.algorithm.population.Individual extends java.lang.Object implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
This method is called whenever an instance of this class has to be de-serialized.

It sets the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype accordingly to the information received so that subclasses can rely on them to know what kind of information is to be read.

Subclasses should override this method if they introduce new attibutes. Remember to call super.readExternal() in order to be sure that the state of the parent class is de-serialized and the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype contain the right information.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
This method is called whenever an instance of this class has to be serialized.

It might write to the output out the evaluation results or the genotype information or both, deppending on the value of Individual#getSerializeEvalResults and Individual#getSerializeGenotype, which are always writen at the beginning of the output to know later what type of information is contained in the data.

Subclasses should override this method if they introduce new attibutes. Remember to call super.writeExternal() in order to be sure that the state of the parent class is serialized.

Throws:
java.io.IOException

Class es.udc.gii.common.eaf.algorithm.population.MaIndividual extends Individual implements Serializable

serialVersionUID: -6655436865465687929L

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

Class es.udc.gii.common.eaf.algorithm.population.NSGA2Individual extends Individual implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
This method is called whenever an instance of this class has to be de-serialized.

It sets the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype accordingly to the information received so that subclasses can rely on them to know what kind of information is to be read.

Subclasses should override this method if they introduce new attibutes. Remember to call super.readExternal() in order to be sure that the state of the parent class is de-serialized and the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype contain the right information.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
This method is called whenever an instance of this class has to be serialized.

It might write to the output out the evaluation results or the genotype information or both, deppending on the value of Individual#getSerializeEvalResults and Individual#getSerializeGenotype, which are always writen at the beginning of the output to know later what type of information is contained in the data.

Subclasses should override this method if they introduce new attibutes. Remember to call super.writeExternal() in order to be sure that the state of the parent class is serialized.

Throws:
java.io.IOException

Package es.udc.gii.common.eaf.algorithm.population.jade

Class es.udc.gii.common.eaf.algorithm.population.jade.JADEIndividual extends Individual implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
This method is called whenever an instance of this class has to be de-serialized.

It sets the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype accordingly to the information received so that subclasses can rely on them to know what kind of information is to be read.

Subclasses should override this method if they introduce new attibutes. Remember to call super.readExternal() in order to be sure that the state of the parent class is de-serialized and the values of Individual#getSerializeEvalResults and Individual#getSerializeGenotype contain the right information.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
This method is called whenever an instance of this class has to be serialized.

It might write to the output out the evaluation results or the genotype information or both, deppending on the value of Individual#getSerializeEvalResults and Individual#getSerializeGenotype, which are always writen at the beginning of the output to know later what type of information is contained in the data.

Subclasses should override this method if they introduce new attibutes. Remember to call super.writeExternal() in order to be sure that the state of the parent class is serialized.

Throws:
java.io.IOException

Package es.udc.gii.common.eaf.config

Class es.udc.gii.common.eaf.config.EAFConfiguration extends org.apache.commons.configuration.XMLConfiguration implements Serializable


Package es.udc.gii.common.eaf.exception

Class es.udc.gii.common.eaf.exception.ConfigurationException extends java.lang.RuntimeException implements Serializable

Class es.udc.gii.common.eaf.exception.OperatorException extends java.lang.Exception implements Serializable

Class es.udc.gii.common.eaf.exception.WrongAlgorithmException extends java.lang.RuntimeException implements Serializable

Class es.udc.gii.common.eaf.exception.WrongComparatorException extends java.lang.RuntimeException implements Serializable

Class es.udc.gii.common.eaf.exception.WrongIndividualException extends java.lang.RuntimeException implements Serializable