|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.problem.boundaryconstraint.PeriodicBoundaryConstraint
public class PeriodicBoundaryConstraint
If a particle oversteps the upper boundary it gets re-initialised and placed near the lower boundary and vice versa.
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} }
Constructor Summary | |
---|---|
PeriodicBoundaryConstraint()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PeriodicBoundaryConstraint()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |