summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions/sets.py
diff options
context:
space:
mode:
authorgithub-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com>2023-10-04 16:42:46 +0200
committerGitHub <noreply@github.com>2023-10-04 16:42:46 +0200
commitccdbbb4716b240c3e5aa4c3389dcd92e142df22e (patch)
tree7335976fc7bb1b79d8b8812886f94715fe59ed95 /src/act4e_solutions/sets.py
downloadact4e-ccdbbb4716b240c3e5aa4c3389dcd92e142df22e.tar.gz
act4e-ccdbbb4716b240c3e5aa4c3389dcd92e142df22e.zip
Initial commit
Diffstat (limited to 'src/act4e_solutions/sets.py')
-rw-r--r--src/act4e_solutions/sets.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/act4e_solutions/sets.py b/src/act4e_solutions/sets.py
new file mode 100644
index 0000000..1dc635f
--- /dev/null
+++ b/src/act4e_solutions/sets.py
@@ -0,0 +1,14 @@
+from typing import Callable, TypeVar
+
+import act4e_interfaces as I
+
+X = TypeVar("X")
+
+
+class SolEnumerableSetsOperations(I.EnumerableSetsOperations):
+ def make_set_sequence(self, f: Callable[[int], X]) -> I.EnumerableSet[X]:
+ raise NotImplementedError()
+
+ def union_esets(self, a: I.EnumerableSet[X], b: I.EnumerableSet[X]) -> I.EnumerableSet[X]:
+ """Creates the union of two EnumerableSet."""
+ raise NotImplementedError()