net.sourceforge.cilib.moo.archive.solutionweighing
Interface SolutionWeighing

All Superinterfaces:
Cloneable, Serializable, Weighing<OptimisationSolution>
All Known Implementing Classes:
AntiClusterWeighing

public interface SolutionWeighing
extends Weighing<OptimisationSolution>, Cloneable

Weighs an optimisation solution for selection to be either removed from the Archive or selected to be used as guide during the search process.

Author:
Wiehann Matthysen

Method Summary
 SolutionWeighing getClone()
          Create a cloned copy of the current object and return it.
 boolean weigh(List<Selection.Entry<OptimisationSolution>> elements)
          Perform a weighing on the provided list of entries.
 

Method Detail

getClone

SolutionWeighing getClone()
Description copied from interface: Weighing
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 Cloneable
Specified by:
getClone in interface Weighing<OptimisationSolution>
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

weigh

boolean weigh(List<Selection.Entry<OptimisationSolution>> elements)
Description copied from interface: Weighing
Perform a weighing on the provided list of entries.

Specified by:
weigh in interface Weighing<OptimisationSolution>
Parameters:
elements - The entries to weigh.
Returns:
true if successful, false otherwise.


Copyright © 2009 CIRG. All Rights Reserved.