0795de193dff1afd7ddb44910cb34f1e184b62db
[culture.git] / problem.py
1 #!/usr/bin/env python
2
3 # Any copyright is dedicated to the Public Domain.
4 # https://creativecommons.org/publicdomain/zero/1.0/
5
6 # Written by Francois Fleuret <francois@fleuret.org>
7
8
9 class Problem:
10     # returns a nb x (L+1+L) long tensor where L is the length of one
11     # of the two states of a quizz
12     def generate_token_sequences(self, nb):
13         pass
14
15     # save a file to vizualize quizzes, you can save a txt or png file
16     def save_quizzes(self, input, result_dir, filename_prefix):
17         pass
18
19     # returns a pair (forward_tokens, backward_token)
20     def direction_tokens(self):
21         pass