00001 /* Artificial_Parameter Java class declaration and implementation. 00002 Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it> 00003 Copyright (C) 2010-2011 BUGSENG srl (http://bugseng.com) 00004 00005 This file is part of the Parma Polyhedra Library (PPL). 00006 00007 The PPL is free software; you can redistribute it and/or modify it 00008 under the terms of the GNU General Public License as published by the 00009 Free Software Foundation; either version 3 of the License, or (at your 00010 option) any later version. 00011 00012 The PPL is distributed in the hope that it will be useful, but WITHOUT 00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00015 for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software Foundation, 00019 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. 00020 00021 For the most up-to-date information see the Parma Polyhedra Library 00022 site: http://www.cs.unipr.it/ppl/ . */ 00023 00024 00025 package parma_polyhedra_library; 00026 00027 import java.io.Writer; 00028 import java.io.IOException; 00029 00049 public class Artificial_Parameter { 00050 00052 private Linear_Expression le; 00053 00055 private Coefficient den; 00056 00061 public Artificial_Parameter(Linear_Expression e, Coefficient d) { 00062 le = e.clone(); 00063 den = new Coefficient(d); 00064 } 00065 00069 public Linear_Expression linear_expression() { 00070 return le; 00071 } 00072 00076 public Coefficient denominator() { 00077 return den; 00078 } 00079 00081 public native String ascii_dump(); 00082 00084 public native String toString(); 00085 00086 private static native void initIDs(); 00087 static { 00088 initIDs(); 00089 } 00090 }
1.6.3