tutorial:poly_db_querying

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:poly_db_querying [2017/08/09 08:48] paffenholztutorial:poly_db_querying [2017/08/09 09:46] paffenholz
Line 82: Line 82:
        print $p->N_LATTICE_POINTS;        print $p->N_LATTICE_POINTS;
                
-=== Obtain Information about available Databases and Collections === 
- 
-You can obtain information on the databases and collections in the database using the ''db_info'' command.  
-<code> 
-polytope> db_info(); 
-DATABASE: LatticePolytopes 
-This database contains various classes of lattice polytopes. 
- 
-Collection: SmoothReflexive 
-A complete collection of smooth reflexive lattice polytopes in dimensions up to 9, up to lattice equivalence. The lists were computed with the algorithm of  
-Mikkel Oebro (see [[http://arxiv.org/abs/0704.0049|arxiv: 0704.0049]]) and are taken from the [[http://polymake.org/polytopes/paffenholz/www/fano.html|website  
-of Andreas Paffenholz]]. 
- 
-In dimensions up to 7 the database contains the properties: 
-H_STAR_VECTOR, REFLEXIVE, DIM, LATTICE_CODEGREE, N_INTERIOR_LATTICE_POINTS, SMOOTH, N_LATTICE_POINTS, FACET_WIDTHS, VERTICES, FACETS, CENTROID, N_VERTICES,  
-contributor, LATTICE_DEGREE, LATTICE_VOLUME, EHRHART_POLYNOMIAL_COEFF, N_BOUNDARY_LATTICE_POINTS, ESSENTIALLY_GENERIC, VERY_AMPLE, F_VECTOR, GORENSTEIN,  
-FEASIBLE, LINEALITY_SPACE, AFFINE_HULL. 
- 
-In dimension 8 the lattice points are not stored, and in dimension 9 also NORMAL is not computed 
- 
-__________________ 
- 
-DATABASE: Manifolds 
-This database contains combinatorial manifolds 
- 
-Collection: DIM2_3 
-This is a collection of  combinatorial 2-  and  3-manifolds with up to 10 vertices given as triangulations and calculcated by Frank Lutz found at:  
-http://page.math.tu-berlin.de/~lutz/stellar/mixed.html 
- 
-[...] 
-</code> 
-The command takes the options ''db'' to list only collections in a particular database, ''collection'' to list only one collection (in this case ''db'' must also be given), and ''username'', if you have access to some collections not (yet) publicly available.  
- 
 === Obtain Information about Searchable Fields in a Collection === === Obtain Information about Searchable Fields in a Collection ===
  
Line 156: Line 123:
    $t = db_get_type_information(db=>"LatticePolytopes", collection=>"SmoothReflexive", type_information_key=>'fano');    $t = db_get_type_information(db=>"LatticePolytopes", collection=>"SmoothReflexive", type_information_key=>'fano');
        
-For the format of such a typer information entry in the database see [[devel/polydb/format|here]].+For the format of such a type information entry in the database see [[devel/polydb/format|here]].