Synthia
Generic and flexible data structure generator
VectorPicker.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.vector;
20 
21 import ca.uqac.lif.synthia.Picker;
22 
23 /**
24  * Interface for pickers that generate arrays of floating-point
25  * numbers.
26  *
27  * @ingroup API
28  */
29 public interface VectorPicker extends Picker<float[]>
30 {
31  /**
32  * Returns the dimension of the picker, i.e. the number of elements
33  * in the vectors it generates.
34  * @return The dimension
35  */
36  public int getDimension();
37 
38  @Override
39  public VectorPicker duplicate(boolean with_state);
40 }
ca.uqac.lif.synthia.Picker
Picks an object.
Definition: Picker.java:36
ca.uqac
ca.uqac.lif.synthia
Definition: Bounded.java:19
ca.uqac.lif.synthia.vector.VectorPicker
Interface for pickers that generate arrays of floating-point numbers.
Definition: VectorPicker.java:29
ca.uqac.lif
ca
ca.uqac.lif.synthia.vector.VectorPicker.getDimension
int getDimension()
Returns the dimension of the picker, i.e.
ca.uqac.lif.synthia.vector.VectorPicker.duplicate
VectorPicker duplicate(boolean with_state)
Creates a copy of the picker.