|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CandidateSolution
Interface to describe the notion of a CandidateSoution. In general
a CandidateSolution contains a Type to describe the
solution the CandidateSolution represents together with its
associated Fitness value.
| Method Summary | |
|---|---|
StructuredType |
getCandidateSolution()
Get the contents of the CandidateSoltion. |
Fitness |
getFitness()
Obtain the Fitness of the current CandidateSolution. |
Blackboard<Enum<?>,Type> |
getProperties()
Get the properties associated with this CandidateSolution. |
void |
setCandidateSolution(StructuredType contents)
Set the solution that the CandidateSolution represents. |
void |
setProperties(Blackboard<Enum<?>,Type> properties)
Set the Blackboard defining the properties of the CandidateSolution. |
| Methods inherited from interface net.sourceforge.cilib.util.Cloneable |
|---|
getClone |
| Method Detail |
|---|
StructuredType getCandidateSolution()
CandidateSoltion. i.e.: The
potential solution.
void setCandidateSolution(StructuredType contents)
CandidateSolution represents.
contents - The potential solution to set.Fitness getFitness()
CandidateSolution.
void setProperties(Blackboard<Enum<?>,Type> properties)
Blackboard defining the properties of the CandidateSolution.
properties - The properties to set.Blackboard<Enum<?>,Type> getProperties()
CandidateSolution.
CandidateSolution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||