/* Copyright (c) 1997-2006 Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany) http://www.math.tu-berlin.de/polymake, mailto:polymake@math.tu-berlin.de 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. */ #ifndef _POLYMAKE_T_GRAPH_H #define _POLYMAKE_T_GRAPH_H "$Project: polymake $$Id: t_graph.h 7315 2006-04-02 21:37:53Z gawrilow $" #include #include namespace polymake { namespace topaz { typedef Graph<> graph; // Computes the graph of a simplicial complex. template inline graph t_graph(const Complex& C); // Computes the dual graph of a simplicial complex. graph t_dual_graph(const FacetList& C); // Computes the mixed graph of a complex. template inline Graph t_mixed_graph(const Complex& C, const graph& PG, const graph& DG, const double weigth); } } #include #endif // _POLYMAKE_T_GRAPH_H // Local Variables: // mode:C++ // c-basic-offset:3 // End: