#  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.
#-----------------------------------------------------------------------------
#  $Project: polymake $$Id: propagated_polytope.rules 6938 2006-02-03 16:46:26Z joswig $

# Polytope propagation means to define a polytope inductively by assigning vectors to arcs
# of a directed graph.  At each node of such a graph a polytope arises as the joint convex hull
# of the polytopes at the translated sources of the inward pointing arcs.

object PropagatedPolytope : RationalPolytope


# category: Polytope Propagation
# Directed graph to define the propagated polytope.  There is a vector assigned to each arc.
# We assume that this graph is acyclic with a unique sink.
#
property SUM_PRODUCT_GRAPH
$type="graph";


VERTICES, VERTEX_NORMALS : SUM_PRODUCT_GRAPH, AMBIENT_DIM
  client("sum-product", $this)


# Local Variables:
# c-basic-offset:3
# mode: perl
# End:
