| 41 | 
  | 
#ifndef SELECTION_DISTANCEFINDER_HPP | 
| 42 | 
  | 
#define SELECTION_DISTANCEFINDER_HPP | 
| 43 | 
  | 
#include "brains/SimInfo.hpp" | 
| 44 | 
< | 
#include "utils/BitSet.hpp" | 
| 44 | 
> | 
#include "utils/OOPSEBitSet.hpp" | 
| 45 | 
> | 
#include "primitives/StuntDouble.hpp" | 
| 46 | 
  | 
namespace oopse { | 
| 47 | 
  | 
 | 
| 48 | 
< | 
class DistanceFinder { | 
| 49 | 
< | 
    public: | 
| 50 | 
< | 
        DistanceFinder(SimInfo* si); | 
| 48 | 
> | 
  class DistanceFinder { | 
| 49 | 
> | 
  public: | 
| 50 | 
> | 
    DistanceFinder(SimInfo* si); | 
| 51 | 
  | 
 | 
| 52 | 
< | 
        BitSet find(const BitSet& bs, double distance); | 
| 52 | 
> | 
    OOPSEBitSet find(const OOPSEBitSet& bs, RealType distance); | 
| 53 | 
  | 
 | 
| 54 | 
< | 
        SimInfo* info_; | 
| 55 | 
< | 
        std::vector<StuntDouble*> stuntdoubles_; | 
| 56 | 
< | 
        int nStuntDoubles_; | 
| 54 | 
> | 
    SimInfo* info_; | 
| 55 | 
> | 
    std::vector<StuntDouble*> stuntdoubles_; | 
| 56 | 
> | 
    int nStuntDoubles_; | 
| 57 | 
  | 
         | 
| 58 | 
< | 
}; | 
| 58 | 
> | 
  }; | 
| 59 | 
  | 
 | 
| 60 | 
  | 
} | 
| 61 | 
  | 
#endif  |