|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.problem.boundaryconstraint.NearestBoundaryConstraint
public class NearestBoundaryConstraint
If a particle oversteps the boundary it gets re-initialised and placed on the overstepped boundary. A terbulence probability gets specified to allow particles to escape the boundaries.
References:
@inproceedings{ZXB04, author = "W.-J. Zhang and X.-F. Xie and D.-C. Bi", title = "Handling boundary constraints for numerical optimization by particle swarm flying in periodic search space", booktitle = "IEEE Congress on Evolutionary Computation", month = jun, year = {2004}, volume = "2", pages = {2307--2311} } @inproceedings{HW07, author = "S. Helwig and R. Wanka", title = "Particle Swarm Optimization in High-Dimensional Bounded Search Spaces", booktitle = "Proceedings of the 2007 IEEE Swarm Intelligence Symposium", month = apr, year = {2007}, pages = {198--205} }
Constructor Summary | |
---|---|
NearestBoundaryConstraint()
Create an instance of the constraint with a turbulence probability initially set to 0.0. |
|
NearestBoundaryConstraint(NearestBoundaryConstraint copy)
Create a copy of the provided instance. |
Method Summary | |
---|---|
void |
enforce(Entity entity)
Enforce the defined boundary constraint on the provided Entity. |
BoundaryConstraint |
getClone()
Create a cloned copy of the current object and return it. |
ControlParameter |
getTurbulenceProbability()
Get the ControlParameter representing the current turbulence probability. |
void |
setTurbulenceProbability(ControlParameter turbulenceProbability)
Set the turbulence probability with the provided ControlParameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NearestBoundaryConstraint()
public NearestBoundaryConstraint(NearestBoundaryConstraint copy)
copy
- The instance to copy.Method Detail |
---|
public BoundaryConstraint getClone()
getClone
in interface BoundaryConstraint
getClone
in interface Cloneable
Object.clone()
public void enforce(Entity entity)
enforce
in interface BoundaryConstraint
entity
- The Entity with which the boundary is to be enforced.public ControlParameter getTurbulenceProbability()
public void setTurbulenceProbability(ControlParameter turbulenceProbability)
turbulenceProbability
- The value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |