Rename file representation to treap for better readability
This commit is contained in:
parent
1582e7e7cb
commit
17237e1cb3
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ struct line {
|
||||||
typedef std::pair<line*, line*> two_lines;
|
typedef std::pair<line*, line*> two_lines;
|
||||||
|
|
||||||
// Treap representation of a file
|
// Treap representation of a file
|
||||||
class file {
|
class treap {
|
||||||
public:
|
public:
|
||||||
line* root;
|
line* root;
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
file() {
|
treap() {
|
||||||
srand(120);
|
srand(120);
|
||||||
root = nullptr;
|
root = nullptr;
|
||||||
}
|
}
|
Loading…
Reference in a new issue