Skip to content

Commit 51866c9

Browse files
committed
Merge branch 'master' of github.com:Azzaare/CompressedStacks.cpp
2 parents 45172bc + fc357a5 commit 51866c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# CompressedStacks.cpp
2-
[![Build Status](https://travis-ci.org/Azzaare/CompressedStacks.cpp.svg?branch=master)](https://travis-ci.org/Azzaare/CompressedStacks.cpp)
32

4-
The CompressedStacks.cpp module/library implements a time-space trade-off structure for stack's algorithms.
3+
The CompressedStacks.cpp module/library implements the compressed stack structure. This data structure behaves like a usual stack with the usual push and pop operations, but has the additional advantage that it uses less memory. Intuitively, when large blocks of information are pushed into the stack it *compresses* the bottom part (only stores partial information). This information is recomputed whenever it is needed afterwards. See the paper of [Barba *et al.*](https://arxiv.org/abs/1208.3663) for more details on this structure.
4+
55

66
<!-- TODO: Write down a better description -->
77

88
## Category of algorithms
99
<p>
10-
This compressed stack structure works correctly as a normal stack for any problems that read input from a file. However, the running time is optimal when the input would be read sequentially with a classical stack structure. For this reason, the only function implemented in the Problem template to solve it (to do a run) is the one presented below in a simplified version.
10+
This compressed stack structure works correctly as a normal stack for any problems that read input from a file (**Is this true?**)). However, the running time is optimal when the input would be read sequentially with a classical stack structure. For this reason, the only function implemented in the Problem template to solve it (to do a run) is the one presented below in a simplified version.
1111
</p>
1212

1313
```cpp
@@ -28,7 +28,7 @@ template <class T, class D> void Problem<T, D>::run() {
2828
```
2929
3030
## Characterization of a problem
31-
<p>In the followwing examples, implementations of the Problem interface are given.</p>
31+
<p>In the following examples, implementations of the Problem interface are given.</p>
3232
3333
### General example : ```Instance<T,D>```
3434

0 commit comments

Comments
 (0)