# How to read

Classes and functions in this section are grouped together by their corresponding topics in the computer science. Data structures are implemented in an object-oriented way to couple data and operations on it. Realizations of distinct algorithms for simplicity and convenience follow the functional approach.

Documentation for classes includes:

* Name of a class
* Brief description (usually taken from comment attached to the class in source code)
* Detailed description (explains how this class is implemented, its purpose and possible caveats)
* Specifications for constructor, properties and methods sorted alphabetically with code samples explaining usage of the described property/method

Documentation for algorithms includes:

* Name of an algorithm
* Its definition in computer science
* Usage notes (pros and cons, typical use-cases)
* Specifications for ADSJS functions implementing this algorithm and their details

{% hint style="warning" %}
Work on the documentation is still in progress. Some parts of this section may be not finished yet or lack of examples so please refer to this package's [specs on Github](https://github.com/alex-myznikov/ads-js/tree/master/spec) for additional information. If you are willing to help please visit [how to contribute](/adsjs/contribution-notes/how-to-contribute.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alex-myznikov.gitbook.io/adsjs/api/how-to-read.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
