Serialized Form
Package es.udc.gii.common.eaf.algorithm.evaluate |
contraintMethod
ConstraintMethod contraintMethod
Package es.udc.gii.common.eaf.algorithm.evaluate.constraint |
Package es.udc.gii.common.eaf.algorithm.evaluate.constraint.methods |
Package es.udc.gii.common.eaf.algorithm.parallel.evaluation |
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.
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 |
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
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 |
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.parallel.topology.operator |
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
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.population |
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
serialVersionUID: -6655436865465687929L
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
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 |
Package es.udc.gii.common.eaf.exception |