net.sourceforge.cilib.bioinf.sequencealignment
Class MSAProblem
java.lang.Object
net.sourceforge.cilib.problem.OptimisationProblemAdapter
net.sourceforge.cilib.bioinf.sequencealignment.MSAProblem
- All Implemented Interfaces:
- Serializable, OptimisationProblem, Problem, Cloneable
public class MSAProblem
- extends OptimisationProblemAdapter
This class represents the Optimization Problem to be solved for the MSA (Real representation).
- Author:
- gpampara, fzablocki
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSAProblem
public MSAProblem()
setWeight1
public void setWeight1(double weight1)
getWeight1
public double getWeight1()
getAlignmentCreator
public AlignmentCreator getAlignmentCreator()
setAlignmentCreator
public void setAlignmentCreator(AlignmentCreator alignmentCreator)
setWeight2
public void setWeight2(double weight2)
setGapPenaltyMethod
public void setGapPenaltyMethod(GapPenaltiesMethod gapPenaltyMethod)
getGapPenaltyMethod
public GapPenaltiesMethod getGapPenaltyMethod()
getBehaviouralDomain
public DomainRegistry getBehaviouralDomain()
- Description copied from interface:
OptimisationProblem
- Returns the domain component that describes the search space of the needed
behavioral characteristics of the problem. This is mainly used for ECs, however,
the use of behavioral parameters with PSO will be investigated.
- Returns:
- The domain of the behavioral component
getClone
public OptimisationProblemAdapter getClone()
- Description copied from interface:
OptimisationProblem
- 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 OptimisationProblem
- Specified by:
getClone
in interface Problem
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class OptimisationProblemAdapter
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
calculateFitness
protected Fitness calculateFitness(Type solution)
- Description copied from class:
OptimisationProblemAdapter
- Determine the
Fitness
of the current Problem
instance
based on the provided solution
.
- Specified by:
calculateFitness
in class OptimisationProblemAdapter
- Parameters:
solution
- The Type
representing the candidate solution.
- Returns:
- The
Fitness
of the solution
in the current Problem. - See Also:
OptimisationProblemAdapter.getFitness(Type, boolean)
setMaxSequenceGapsAllowed
public void setMaxSequenceGapsAllowed(int number)
getDomain
public DomainRegistry getDomain()
- Description copied from interface:
OptimisationProblem
- Returns the domain component that describes the search space for this problem.
- Returns:
- A
DomainRegistry
object representing the search space.
Copyright © 2009 CIRG. All Rights Reserved.