X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=flatland.git;a=blobdiff_plain;f=flatland.h;h=2c58a5c315c7cd62a6528c1869f7181be0a5cdfb;hp=a0a255f89cd6ab542bd3c63f6cb91a8b7ba0f9be;hb=c1f1040936d977cd2b3a276c725e223198377d2a;hpb=5d4e9eaeec9263692d39ca840e498a5f1d818eaa diff --git a/flatland.h b/flatland.h index a0a255f..2c58a5c 100644 --- a/flatland.h +++ b/flatland.h @@ -1,2 +1,30 @@ -int generate_sequence(long nb_sequences, THByteTensor *output); +/* + + flatland is a simple 2d physical simulator + + Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ + Written by Francois Fleuret + + This file is part of flatland + + flatland is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation. + + flatland is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with flatland. If not, see . + +*/ + +THByteTensor *generate_sequence(int pulling, + long nb_sequences, + long nb_images, + long image_height, long image_width, + long nb_shapes, + int random_shape_size, int random_colors);