Synthia
Generic and flexible data structure generator
Seedable.java
Go to the documentation of this file.
1
/*
2
Synthia, a data structure generator
3
Copyright (C) 2019-2020 Laboratoire d'informatique formelle
4
Université du Québec à Chicoutimi, Canada
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
package
ca.uqac.lif.synthia;
20
21
/**
22
* Interface implemented by objects that can be seeded. The <em>seed</em>
23
* is an integer value that is used to determine the internal state of an
24
* object. It is principally used for {@link Picker} instances that rely
25
* on an underlying random number generator.
26
*
27
* @ingroup API
28
*/
29
public
interface
Seedable
30
{
31
/**
32
* Set the seed of the random generator.
33
* @param seed The seed for the random generator.
34
*/
35
public
Seedable
setSeed
(
int
seed);
36
}
ca.uqac.lif.synthia.Seedable.setSeed
Seedable setSeed(int seed)
Set the seed of the random generator.
ca.uqac.lif.synthia.Seedable
Interface implemented by objects that can be seeded.
Definition:
Seedable.java:29
Source
Core
src
ca
uqac
lif
synthia
Seedable.java
Generated by
1.8.17