From b504241bf3fe8cf147b396581768a47f00c91517 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Sun, 20 Oct 2019 22:02:51 +0200 Subject: [PATCH] Splay experiment: Better description of method overriding --- 03-splay_experiment/task.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/03-splay_experiment/task.md b/03-splay_experiment/task.md index 5b5bdcc..8120d9a 100644 --- a/03-splay_experiment/task.md +++ b/03-splay_experiment/task.md @@ -54,11 +54,10 @@ The output of the program contains one line per experiment, which consists of: ## Your implementation -Please use your implementation from the previous exercise. If you used C++, -you should declare the `splay()` and `rotate()` methods as virtual (they will -be overriden by the test program). Also, if you are performing a double rotation -directly instead of composing it from single rotations, you need to adjust -the `BenchmarkingTree` class accordingly. +Please use your implementation from the previous exercise. Methods `splay()` +and `rotate()` will be augmented by the test program. If you are performing +a double rotation directly instead of composing it from single rotations, you +need to adjust the `BenchmarkingTree` class accordingly. ## Hints -- GitLab