Space Comps
 All Classes Files Functions Variables
quadtreealgorithm.h
1 #ifndef QUADTREEALGORITHM_H
2 #define QUADTREEALGORITHM_H
3 #include <math.h>
4 #include "algorithm.h"
5 #include "quadtree.h"
6 
7 
14 {
15 public:
25  QuadtreeAlgorithm(int xIn, int yIn, int numParticlesIn);
27 
28 private:
29  Quadtree* quadtree;
30  void calculateNextTimestep();
31 };
32 
33 #endif // QUADTREEALGORITHM_H
The Algorithm class is a parent to all the specific Algorithms we test.
Definition: algorithm.h:16
The Quadtree data structure used in QuadtreeAlgorithm.
Definition: quadtree.h:10
QuadtreeAlgorithm(int xIn, int yIn, int numParticlesIn)
Constructs a QuadtreeAlgorithm object.
Definition: quadtreealgorithm.cpp:6
An Algorithm that implements Quadtrees .
Definition: quadtreealgorithm.h:13