1 #ifndef SWEEPNPRUNEALGORITHM_H
2 #define SWEEPNPRUNEALGORITHM_H
5 #include "boundingbox.h"
69 void calculateNextTimestep();
71 std::vector<BoundingBox*> boundingBoxes;
72 void insertionSort(std::vector<BoundingBox*> &boxes,
int dimension);
75 #endif // SWEEPNPRUNEALGORITHM_H
The Algorithm class is a parent to all the specific Algorithms we test.
Definition: algorithm.h:16
The SweepNPruneAlgorithmSimple class executes the sweep and prune method of collision detection...
Definition: sweepnprunealgorithmsimple.h:20
SweepNPruneAlgorithmSimple(int xIn, int yIn, int numParticles)
Constructs a 2d SweepNPruneAlgorithmSimple.
Definition: sweepnprunealgorithmsimple.cpp:3