net.sourceforge.cilib.entity.visitor
Class SpatialRadiusVisitor
java.lang.Object
net.sourceforge.cilib.container.visitor.Visitor<Topology<? extends Entity>>
net.sourceforge.cilib.entity.visitor.TopologyVisitor
net.sourceforge.cilib.entity.visitor.SpatialRadiusVisitor
public class SpatialRadiusVisitor
- extends TopologyVisitor
Determine the spatial radius of the visited object.
Methods inherited from class net.sourceforge.cilib.container.visitor.Visitor |
isDone |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialRadiusVisitor
public SpatialRadiusVisitor()
visit
public void visit(Topology<? extends Entity> topology)
- Perfrom the visit operation on the provided
Topology
.
- Specified by:
visit
in class TopologyVisitor
- Parameters:
topology
- The Topology
to visit.
getResult
public Double getResult()
- Description copied from class:
TopologyVisitor
- Get the result of the visitor after it has performed the visit()
action.
- Specified by:
getResult
in class TopologyVisitor
- Returns:
- The result of the visit()
Copyright © 2009 CIRG. All Rights Reserved.