#  Copyright (c) 1997-2009
#  Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Darmstadt, Germany)
#  http://www.polymake.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: upgrade.rules 9298 2009-09-02 23:10:56Z gawrilow $

INCLUDE
   graph::upgrade.rules

#  The aim of all these methods is to convert the obsolete properties read from a plain data file
#  to the corresponding sub-object properties.

object TropicalPolytope {

   # the graph and dual graph related properties

   method upgrade_plain_PSEUDOVERTEX_GRAPH {
      my ($this, $value)=@_;
      $this->take("PSEUDOVERTEX_GRAPH.ADJACENCY", $value);
   }

 
   method upgrade_plain_BOUNDED_GRAPH { }	# discard it as it has become on-the-fly method
}



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