aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/dsa/SplayTree_Range.h
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-05-01 05:15:29 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-05-01 05:15:29 +0800
commitb05f1bc3bc1a0f3316b755f8c2a9acab562614ad (patch)
treeb9cfb60aa2df3e2a891f3f78ab5166adea3d8cf1 /meowpp/dsa/SplayTree_Range.h
parent5e989019d254dfc2e7ca8f3c6a8dc6507cd0efaf (diff)
downloadmeow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar.gz
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar.bz2
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar.lz
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar.xz
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.tar.zst
meow-b05f1bc3bc1a0f3316b755f8c2a9acab562614ad.zip
add math
Diffstat (limited to 'meowpp/dsa/SplayTree_Range.h')
-rw-r--r--meowpp/dsa/SplayTree_Range.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/meowpp/dsa/SplayTree_Range.h b/meowpp/dsa/SplayTree_Range.h
index e5124c8..0abdc24 100644
--- a/meowpp/dsa/SplayTree_Range.h
+++ b/meowpp/dsa/SplayTree_Range.h
@@ -1,7 +1,11 @@
-#ifndef SplayTree_Range_h__
-#define SplayTree_Range_h__
+#ifndef dsa_SplayTree_Range_h__
+#define dsa_SplayTree_Range_h__
-#include "../utility.h"
+#include <cstdlib>
+
+#include <utility>
+
+#include "../math/utility.h"
namespace meow{
//#
@@ -57,8 +61,6 @@ namespace meow{
//
void split(Node* __root, Node** __left, Node** __right);
Node* merge( Node* __left, Node* __right);
- //
- void print(Node* __now, int __depth) const;
public:
//#==== Custom Type Definitions
//#
@@ -239,7 +241,6 @@ namespace meow{
bool merge(SplayTree_Range* __tree2);
- void print() const;
//#|=====================================================================
};
//#
@@ -257,4 +258,4 @@ namespace meow{
#include "SplayTree_Range.hpp"
-#endif // SplayTree_Range_h__
+#endif // dsa_SplayTree_Range_h__