net.sourceforge.cilib.boa.positionupdatestrategies
Class VisualPositionUpdateStategy

java.lang.Object
  extended by net.sourceforge.cilib.boa.positionupdatestrategies.VisualPositionUpdateStategy
All Implemented Interfaces:
Serializable, BeePositionUpdateStrategy, Cloneable

public class VisualPositionUpdateStategy
extends Object
implements BeePositionUpdateStrategy

Represents the visual exploration strategy used by bees to choose a their next forage patch close by.

Author:
Andrich
See Also:
Serialized Form

Constructor Summary
VisualPositionUpdateStategy()
           
 
Method Summary
 VisualPositionUpdateStategy getClone()
          Create a cloned copy of the current object and return it.
 boolean updatePosition(HoneyBee bee, HoneyBee otherBee)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualPositionUpdateStategy

public VisualPositionUpdateStategy()
Method Detail

getClone

public VisualPositionUpdateStategy 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 BeePositionUpdateStrategy
Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

updatePosition

public boolean updatePosition(HoneyBee bee,
                              HoneyBee otherBee)

Specified by:
updatePosition in interface BeePositionUpdateStrategy


Copyright © 2009 CIRG. All Rights Reserved.