edu.udo.cs.ie.cowbots.util.cluster
Interface IClusterCalculator

Package class diagram package IClusterCalculator
All Known Implementing Classes:
ClusterCalculator, NewClusterCalculator

public interface IClusterCalculator

basic interface for all cluster generator algorithms. based on the ClusterCalculator written by dhoelzgen.


Method Summary
 java.util.List<CowCluster> getCowClusters(GridMap map, DistanceMap dm, int cDist, int maxCowTime)
          this method returns a set of clusters of cows derived from the current world view of an agent.
 

Method Detail

getCowClusters

java.util.List<CowCluster> getCowClusters(GridMap map,
                                          DistanceMap dm,
                                          int cDist,
                                          int maxCowTime)
this method returns a set of clusters of cows derived from the current world view of an agent.

Parameters:
map - GridMap representing an agents view of the world
dm - DistanceMap for fast cow2corral lookup
cDist - maximum allowed cluster elongation
maxCowTime - maximum age of cows to respect during clustering
Returns:
list of cow cluster