net.sourceforge.cilib.boa.positionupdatestrategies
Interface BeePositionUpdateStrategy

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
VisualPositionUpdateStategy

public interface BeePositionUpdateStrategy
extends Cloneable

Interface for a bee position update strategy.

Author:
Andrich

Method Summary
 BeePositionUpdateStrategy getClone()
          Create a cloned copy of the current object and return it.
 boolean updatePosition(HoneyBee bee, HoneyBee other)
           
 

Method Detail

getClone

BeePositionUpdateStrategy 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 Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

updatePosition

boolean updatePosition(HoneyBee bee,
                       HoneyBee other)


Copyright © 2009 CIRG. All Rights Reserved.