|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.problem.OptimisationProblemAdapter net.sourceforge.cilib.functions.discrete.KnightCoverageProblem
@Deprecated public class KnightCoverageProblem
OptimisationProblem
interfaceField Summary |
---|
Fields inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter |
---|
dataSetBuilder, fitnessEvaluations |
Constructor Summary | |
---|---|
KnightCoverageProblem(KnightCoverageProblem copy)
Deprecated. |
Method Summary | |
---|---|
protected Fitness |
calculateFitness(Type solution)
Deprecated. Returns the fitness of a potential solution to this problem. |
DomainRegistry |
getBehaviouralDomain()
Deprecated. Returns the domain component that describes the search space of the needed behavioral characteristics of the problem. |
KnightCoverageProblem |
getClone()
Deprecated. Create a cloned copy of the current object and return it. |
DomainRegistry |
getDomain()
Deprecated. Returns the domain component that describes the search space for this problem. |
void |
setDomain(String representation)
Deprecated. Sets the domain of the function. |
Methods inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter |
---|
accept, changeEnvironment, getChangeStrategy, getDataSetBuilder, getFitness, getFitnessEvaluations, setChangeStrategy, setDataSetBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KnightCoverageProblem(KnightCoverageProblem copy)
Method Detail |
---|
public KnightCoverageProblem getClone()
OptimisationProblem
getClone
in interface OptimisationProblem
getClone
in interface Problem
getClone
in interface Cloneable
getClone
in class OptimisationProblemAdapter
Object.clone()
protected Fitness calculateFitness(Type solution)
getDomain()
. An instance of InferiorFitness
should be returned if the solution falls outside the search space of this problem.
calculateFitness
in class OptimisationProblemAdapter
solution
- The potential solution found by the optimisation algorithm.count
- True if this call should contribute to the fitness evaluation count, see OptimisationProblemAdapter.getFitnessEvaluations()
.
OptimisationProblemAdapter.getFitness(Type, boolean)
public DomainRegistry getDomain()
net.sourceforge.cilib.Domain.Component
object representing the search space.public void setDomain(String representation)
net.sourceforge.cilib.Domain.Component
.
representation
- the string representation for the function domain.public DomainRegistry getBehaviouralDomain()
OptimisationProblem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |