From 761e72a0902349d30990028cd6859e98093630f7 Mon Sep 17 00:00:00 2001 From: Jasmina <95469434+jasminaorlowska@users.noreply.github.com> Date: Thu, 22 Jun 2023 19:50:20 +0200 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d3b97a..f9cb9b7 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Sets-of-sequences-library -computer architecture and organization project +(computer architecture and organization project) -**Equivalence Sets of Sequences** +## Equivalence Sets of Sequences The task is to implement a dynamically loaded C library that handles sets of sequences with an equivalence relation. The elements of the sets are non-empty sequences consisting of the numbers 0, 1, and 2. Sequences are represented as strings in the implementation. For example, the sequence {0, 1, 2} is represented as the string "012". Abstract classes can be named. -**Library Interface** +## Library Interface The functions and type name to be provided by the library are declared in the seq.h file attached to the task description. The following declarations are provided: @@ -22,6 +22,7 @@ int seq_set_name(seq_t *p, char const *s, char const *n); char const * seq_get_name(seq_t *p, char const *s); int seq_equiv(seq_t *p, char const *s1, char const *s2); +## Sequence representation, operations on sets etc. The correct representation of a sequence is a non-empty string composed of the characters 0, 1, or 2, and it is terminated by a null character. The correct name of an abstract class is a non-empty string terminated by a null character. Additional details about the library's operation, including information about invalid parameters, can be inferred from the seq_example.c file provided,