|
||||||||||
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.bioinf.sequencealignment.BinaryMSAProblem
public class BinaryMSAProblem
This class represents the Optimization Problem to be solved for the MSA (Binary representation).
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter |
---|
dataSetBuilder, fitnessEvaluations |
Constructor Summary | |
---|---|
BinaryMSAProblem()
Create an instance of the class. |
Method Summary | |
---|---|
protected Fitness |
calculateFitness(Type solution)
Determine the Fitness of the current Problem instance
based on the provided solution . |
BinaryAlignmentCreator |
getAlignmentCreator()
Get the alignment creator. |
DomainRegistry |
getBehaviouralDomain()
Returns the domain component that describes the search space of the needed behavioral characteristics of the problem. |
OptimisationProblemAdapter |
getClone()
Create a cloned copy of the current object and return it. |
DomainRegistry |
getDomain()
Returns the domain component that describes the search space for this problem. |
GapPenaltiesMethod |
getGapPenaltyMethod()
Get the current gap penelization method. |
double |
getWeight1()
Get the value of weight1. |
void |
setAlignmentCreator(BinaryAlignmentCreator alignmentCreator)
Set the AlignmentCreator. |
void |
setGapPenaltyMethod(GapPenaltiesMethod gapPenaltyMethod)
Set the strategy to penalize gaps. |
void |
setMaxSequenceGapsAllowed(int number)
Set the maximm number of allowable gaps. |
void |
setWeight1(double weight1)
Set the value of weight1. |
void |
setWeight2(double weight2)
Set the value of weight2. |
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 BinaryMSAProblem()
Method Detail |
---|
public OptimisationProblemAdapter getClone()
getClone
in interface OptimisationProblem
getClone
in interface Problem
getClone
in interface Cloneable
getClone
in class OptimisationProblemAdapter
Object.clone()
public void setWeight1(double weight1)
weight1
- The value to set.public double getWeight1()
public BinaryAlignmentCreator getAlignmentCreator()
public void setAlignmentCreator(BinaryAlignmentCreator alignmentCreator)
alignmentCreator
- The AlignmentCreator to set.public void setWeight2(double weight2)
weight2
- The value to set.public void setGapPenaltyMethod(GapPenaltiesMethod gapPenaltyMethod)
gapPenaltyMethod
- The strategy to set.public GapPenaltiesMethod getGapPenaltyMethod()
public DomainRegistry getBehaviouralDomain()
protected Fitness calculateFitness(Type solution)
Fitness
of the current Problem
instance
based on the provided solution
.
calculateFitness
in class OptimisationProblemAdapter
solution
- The Type
representing the candidate solution.
Fitness
of the solution
in the current Problem.OptimisationProblemAdapter.getFitness(Type, boolean)
public void setMaxSequenceGapsAllowed(int number)
number
- The maximum number allowable.public DomainRegistry getDomain()
DomainRegistry
object representing the search space.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |