net.sourceforge.cilib.moo.criterion.objectiveassignmentstrategies
Class SequentialObjectiveAssignmentStrategy

java.lang.Object
  extended by net.sourceforge.cilib.moo.criterion.objectiveassignmentstrategies.SequentialObjectiveAssignmentStrategy
All Implemented Interfaces:
Serializable, ObjectiveAssignmentStrategy, Cloneable

public class SequentialObjectiveAssignmentStrategy
extends Object
implements ObjectiveAssignmentStrategy

Sequentially assigns the sub-objectives of a MOOptimisationProblem to different PopulationBasedAlgorithm instances. Thus, sub-objective 1 will be assigned to PopulationBasedAlgorithm 1, sub-objective 2 will be assigned to PopulationBasedAlgorithm 2 and so on. If there are more PopulationBasedAlgorithms than the number of sub-objectives then the assignment process will wrap and start from the first sub-objective again until every PopulationBasedAlgorithm is assigned a sub-objective.

Author:
Wiehann Matthysen
See Also:
Serialized Form

Constructor Summary
SequentialObjectiveAssignmentStrategy()
           
SequentialObjectiveAssignmentStrategy(SequentialObjectiveAssignmentStrategy copy)
           
 
Method Summary
 void assignObjectives(MOOptimisationProblem problem, List<PopulationBasedAlgorithm> populations)
           
 SequentialObjectiveAssignmentStrategy getClone()
          Create a cloned copy of the current object and return it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequentialObjectiveAssignmentStrategy

public SequentialObjectiveAssignmentStrategy()

SequentialObjectiveAssignmentStrategy

public SequentialObjectiveAssignmentStrategy(SequentialObjectiveAssignmentStrategy copy)
Method Detail

getClone

public SequentialObjectiveAssignmentStrategy getClone()
Description copied from interface: Cloneable
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface ObjectiveAssignmentStrategy
Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

assignObjectives

public void assignObjectives(MOOptimisationProblem problem,
                             List<PopulationBasedAlgorithm> populations)
Specified by:
assignObjectives in interface ObjectiveAssignmentStrategy


Copyright © 2009 CIRG. All Rights Reserved.