File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -790,29 +790,3 @@ class TrapezoidMapTriFinder
790
790
791
791
Node* _tree; // Root node of the trapezoid map search tree. Owned.
792
792
};
793
-
794
-
795
-
796
- /* Linear congruential random number generator. Edges in the triangulation are
797
- * randomly shuffled before being added to the trapezoid map. Want the
798
- * shuffling to be identical across different operating systems and the same
799
- * regardless of previous random number use. Would prefer to use a STL or
800
- * Boost random number generator, but support is not consistent across
801
- * different operating systems so implementing own here.
802
- *
803
- * This is not particularly random, but is perfectly adequate for the use here.
804
- * Coefficients taken from Numerical Recipes in C. */
805
- class RandomNumberGenerator
806
- {
807
- public:
808
- RandomNumberGenerator (unsigned long seed);
809
-
810
- // Return random integer in the range 0 to max_value-1.
811
- unsigned long operator ()(unsigned long max_value);
812
-
813
- private:
814
- const unsigned long _m, _a, _c;
815
- unsigned long _seed;
816
- };
817
-
818
- #endif
You can’t perform that action at this time.
0 commit comments