1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# Copyright (c) 1997-2018
# Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany)
# http://www.polymake.org
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version: http://www.gnu.org/licenses/gpl.txt.
#
# This program 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.
#-------------------------------------------------------------------------------
#
# This file is part of the polymake database interface polyDB.
#
# @author Silke Horn, Andreas Paffenholz
# http://solros.de
# http://www.mathematik.tu-darmstadt.de/~paffenholz
#
CREDIT polyDB
Access to the polymake polytope database.
(c) 2013-2018 Silke Horn, Andreas Paffenholz
http://solros.de
http://www.mathematik.tu-darmstadt.de/~paffenholz
CONFIGURE {
eval("require MongoDB;");
if ($@) {
die "Could not load perl MongoDB module: $@\n\nSee 'help \"install_mongodb\";' for an installation guide.\n";
} else {
return 1;
}
}
require PolyDB;
# @topic category any/Database
# Here you can find the functions to access the polymake database.
# @topic category functions/Database Admin
# These are administrative functions. You need admin access to the database for these.
#
# This category also contains functions that I want to hide from the public because they are not yet completely presentable.
# @topic category functions/Database Write Access
# These are the functions to insert and update objects. You need write access to the database for these.
INCLUDE
db_templates.rules
db_query.rules
db_info.rules
db_insert.rules
db_admin.rules
db_cursor.rules
# Local Variables:
# mode: perl
# cperl-indent-level:3
# indent-tabs-mode:nil
# End:
|