net.sourceforge.cilib.problem.boundaryconstraint
Class UnconstrainedBoundary
java.lang.Object
net.sourceforge.cilib.problem.boundaryconstraint.UnconstrainedBoundary
- All Implemented Interfaces:
- Serializable, BoundaryConstraint, Cloneable
public class UnconstrainedBoundary
- extends Object
- implements BoundaryConstraint
This is the default boundary constraint, whereby no boundary checking
is performed. This constraint defines that no boundary checking is always
defined to return true
.
- Author:
- gpampara
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnconstrainedBoundary
public UnconstrainedBoundary()
getClone
public UnconstrainedBoundary getClone()
- 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 BoundaryConstraint
- Specified by:
getClone
in interface Cloneable
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
enforce
public void enforce(Entity entity)
- This enforcement of the boundary constraint does nothing.
- Specified by:
enforce
in interface BoundaryConstraint
- Parameters:
entity
- The entity to which no contraint is to be applied.
Copyright © 2009 CIRG. All Rights Reserved.