File: datatypes.rst

package info (click to toggle)
python-csa 0.1.13-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 572 kB
  • sloc: python: 2,444; cpp: 320; sh: 49; makefile: 39
file content (40 lines) | stat: -rw-r--r-- 1,578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Datatypes in the Python CSA implementation
==========================================

Connection Set Objects
----------------------

Connection-set objects (:class:`Mask`, :class:`ConnectionSet`)

+--------------------+---------------------------------+--------+
| Operation          | Result                          | Notes  |
+====================+=================================+========+
| ``x * y``          | intersection of *x* and         |        |
|                    | *y*                             |        |
+--------------------+---------------------------------+--------+
| ``x - y``          | set difference of *x* and *y*   |        |
|                    |                                 |        |
+--------------------+---------------------------------+--------+

Test:

+-------------+---------------------------------+-------+
| Operation   | Result                          | Notes |
+=============+=================================+=======+
| ``x or y``  | if *x* is false, then *y*, else | \(1)  |
|             | *x*                             |       |
+-------------+---------------------------------+-------+
| ``x and y`` | if *x* is false, then *x*, else | \(2)  |
|             | *y*                             |       |
+-------------+---------------------------------+-------+
| ``not x``   | if *x* is false, then ``True``, | \(3)  |
|             | else ``False``                  |       |
+-------------+---------------------------------+-------+


Value Set Objects
-----------------

Interval Set Objects
--------------------